Class Document.Revision.HumanReview.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<Document.Revision.HumanReview.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<Document.Revision.HumanReview.Builder>
      • getDefaultInstanceForType

        public Document.Revision.HumanReview getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Document.Revision.HumanReview build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Document.Revision.HumanReview 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<Document.Revision.HumanReview.Builder>
      • mergeFrom

        public Document.Revision.HumanReview.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws 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<Document.Revision.HumanReview.Builder>
        Throws:
        IOException
      • getStateBytes

        public com.google.protobuf.ByteString getStateBytes()
         Human review state. e.g. `requested`, `succeeded`, `rejected`.
         
        string state = 1;
        Specified by:
        getStateBytes in interface Document.Revision.HumanReviewOrBuilder
        Returns:
        The bytes for state.
      • setState

        public Document.Revision.HumanReview.Builder setState​(String value)
         Human review state. e.g. `requested`, `succeeded`, `rejected`.
         
        string state = 1;
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public Document.Revision.HumanReview.Builder clearState()
         Human review state. e.g. `requested`, `succeeded`, `rejected`.
         
        string state = 1;
        Returns:
        This builder for chaining.
      • setStateBytes

        public Document.Revision.HumanReview.Builder setStateBytes​(com.google.protobuf.ByteString value)
         Human review state. e.g. `requested`, `succeeded`, `rejected`.
         
        string state = 1;
        Parameters:
        value - The bytes for state to set.
        Returns:
        This builder for chaining.
      • getStateMessage

        public String getStateMessage()
         A message providing more details about the current state of processing.
         For example, the rejection reason when the state is `rejected`.
         
        string state_message = 2;
        Specified by:
        getStateMessage in interface Document.Revision.HumanReviewOrBuilder
        Returns:
        The stateMessage.
      • getStateMessageBytes

        public com.google.protobuf.ByteString getStateMessageBytes()
         A message providing more details about the current state of processing.
         For example, the rejection reason when the state is `rejected`.
         
        string state_message = 2;
        Specified by:
        getStateMessageBytes in interface Document.Revision.HumanReviewOrBuilder
        Returns:
        The bytes for stateMessage.
      • setStateMessage

        public Document.Revision.HumanReview.Builder setStateMessage​(String value)
         A message providing more details about the current state of processing.
         For example, the rejection reason when the state is `rejected`.
         
        string state_message = 2;
        Parameters:
        value - The stateMessage to set.
        Returns:
        This builder for chaining.
      • clearStateMessage

        public Document.Revision.HumanReview.Builder clearStateMessage()
         A message providing more details about the current state of processing.
         For example, the rejection reason when the state is `rejected`.
         
        string state_message = 2;
        Returns:
        This builder for chaining.
      • setStateMessageBytes

        public Document.Revision.HumanReview.Builder setStateMessageBytes​(com.google.protobuf.ByteString value)
         A message providing more details about the current state of processing.
         For example, the rejection reason when the state is `rejected`.
         
        string state_message = 2;
        Parameters:
        value - The bytes for stateMessage to set.
        Returns:
        This builder for chaining.