Class ExecutionOuterClass.AbortMetadata.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionOuterClass.AbortMetadata.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionOuterClass.AbortMetadata.Builder>
      • getDefaultInstanceForType

        public ExecutionOuterClass.AbortMetadata getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ExecutionOuterClass.AbortMetadata build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ExecutionOuterClass.AbortMetadata buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionOuterClass.AbortMetadata.Builder>
      • mergeFrom

        public ExecutionOuterClass.AbortMetadata.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExecutionOuterClass.AbortMetadata.Builder>
        Throws:
        java.io.IOException
      • getCause

        public java.lang.String getCause()
         In the case of a user-specified abort, this will pass along the user-supplied cause.
         
        string cause = 1;
        Specified by:
        getCause in interface ExecutionOuterClass.AbortMetadataOrBuilder
        Returns:
        The cause.
      • getCauseBytes

        public com.google.protobuf.ByteString getCauseBytes()
         In the case of a user-specified abort, this will pass along the user-supplied cause.
         
        string cause = 1;
        Specified by:
        getCauseBytes in interface ExecutionOuterClass.AbortMetadataOrBuilder
        Returns:
        The bytes for cause.
      • setCause

        public ExecutionOuterClass.AbortMetadata.Builder setCause​(java.lang.String value)
         In the case of a user-specified abort, this will pass along the user-supplied cause.
         
        string cause = 1;
        Parameters:
        value - The cause to set.
        Returns:
        This builder for chaining.
      • clearCause

        public ExecutionOuterClass.AbortMetadata.Builder clearCause()
         In the case of a user-specified abort, this will pass along the user-supplied cause.
         
        string cause = 1;
        Returns:
        This builder for chaining.
      • setCauseBytes

        public ExecutionOuterClass.AbortMetadata.Builder setCauseBytes​(com.google.protobuf.ByteString value)
         In the case of a user-specified abort, this will pass along the user-supplied cause.
         
        string cause = 1;
        Parameters:
        value - The bytes for cause to set.
        Returns:
        This builder for chaining.
      • getPrincipalBytes

        public com.google.protobuf.ByteString getPrincipalBytes()
         Identifies the entity (if any) responsible for terminating the execution
         
        string principal = 2;
        Specified by:
        getPrincipalBytes in interface ExecutionOuterClass.AbortMetadataOrBuilder
        Returns:
        The bytes for principal.
      • setPrincipal

        public ExecutionOuterClass.AbortMetadata.Builder setPrincipal​(java.lang.String value)
         Identifies the entity (if any) responsible for terminating the execution
         
        string principal = 2;
        Parameters:
        value - The principal to set.
        Returns:
        This builder for chaining.
      • clearPrincipal

        public ExecutionOuterClass.AbortMetadata.Builder clearPrincipal()
         Identifies the entity (if any) responsible for terminating the execution
         
        string principal = 2;
        Returns:
        This builder for chaining.
      • setPrincipalBytes

        public ExecutionOuterClass.AbortMetadata.Builder setPrincipalBytes​(com.google.protobuf.ByteString value)
         Identifies the entity (if any) responsible for terminating the execution
         
        string principal = 2;
        Parameters:
        value - The bytes for principal to set.
        Returns:
        This builder for chaining.