Class GetDocumentRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GetDocumentRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>
org.opensearch.protobufs.GetDocumentRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, GetDocumentRequestOrBuilder
Enclosing class:
GetDocumentRequest

public static final class GetDocumentRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder> implements GetDocumentRequestOrBuilder
Protobuf type GetDocumentRequest
  • Method Details

    • 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<GetDocumentRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.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<GetDocumentRequest.Builder>
    • getDefaultInstanceForType

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

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

      public GetDocumentRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>
    • setField

      public GetDocumentRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>
    • clearField

      public GetDocumentRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>
    • clearOneof

      public GetDocumentRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>
    • setRepeatedField

      public GetDocumentRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>
    • addRepeatedField

      public GetDocumentRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>
    • mergeFrom

      public GetDocumentRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetDocumentRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public GetDocumentRequest.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<GetDocumentRequest.Builder>
      Throws:
      IOException
    • getId

      public String getId()
      string id = 1 [json_name = "id"];
      Specified by:
      getId in interface GetDocumentRequestOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id"];
      Specified by:
      getIdBytes in interface GetDocumentRequestOrBuilder
      Returns:
      The bytes for id.
    • setId

      public GetDocumentRequest.Builder setId(String value)
      string id = 1 [json_name = "id"];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public GetDocumentRequest.Builder clearId()
      string id = 1 [json_name = "id"];
      Returns:
      This builder for chaining.
    • setIdBytes

      public GetDocumentRequest.Builder setIdBytes(com.google.protobuf.ByteString value)
      string id = 1 [json_name = "id"];
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getIndex

      public String getIndex()
      string index = 2 [json_name = "index"];
      Specified by:
      getIndex in interface GetDocumentRequestOrBuilder
      Returns:
      The index.
    • getIndexBytes

      public com.google.protobuf.ByteString getIndexBytes()
      string index = 2 [json_name = "index"];
      Specified by:
      getIndexBytes in interface GetDocumentRequestOrBuilder
      Returns:
      The bytes for index.
    • setIndex

      public GetDocumentRequest.Builder setIndex(String value)
      string index = 2 [json_name = "index"];
      Parameters:
      value - The index to set.
      Returns:
      This builder for chaining.
    • clearIndex

      public GetDocumentRequest.Builder clearIndex()
      string index = 2 [json_name = "index"];
      Returns:
      This builder for chaining.
    • setIndexBytes

      public GetDocumentRequest.Builder setIndexBytes(com.google.protobuf.ByteString value)
      string index = 2 [json_name = "index"];
      Parameters:
      value - The bytes for index to set.
      Returns:
      This builder for chaining.
    • hasXSource

      public boolean hasXSource()
      optional .SourceConfigParam x_source = 3 [json_name = "xSource"];
      Specified by:
      hasXSource in interface GetDocumentRequestOrBuilder
      Returns:
      Whether the xSource field is set.
    • getXSource

      public SourceConfigParam getXSource()
      optional .SourceConfigParam x_source = 3 [json_name = "xSource"];
      Specified by:
      getXSource in interface GetDocumentRequestOrBuilder
      Returns:
      The xSource.
    • setXSource

      public GetDocumentRequest.Builder setXSource(SourceConfigParam value)
      optional .SourceConfigParam x_source = 3 [json_name = "xSource"];
    • setXSource

      public GetDocumentRequest.Builder setXSource(SourceConfigParam.Builder builderForValue)
      optional .SourceConfigParam x_source = 3 [json_name = "xSource"];
    • mergeXSource

      public GetDocumentRequest.Builder mergeXSource(SourceConfigParam value)
      optional .SourceConfigParam x_source = 3 [json_name = "xSource"];
    • clearXSource

      public GetDocumentRequest.Builder clearXSource()
      optional .SourceConfigParam x_source = 3 [json_name = "xSource"];
    • getXSourceBuilder

      public SourceConfigParam.Builder getXSourceBuilder()
      optional .SourceConfigParam x_source = 3 [json_name = "xSource"];
    • getXSourceOrBuilder

      public SourceConfigParamOrBuilder getXSourceOrBuilder()
      optional .SourceConfigParam x_source = 3 [json_name = "xSource"];
      Specified by:
      getXSourceOrBuilder in interface GetDocumentRequestOrBuilder
    • getXSourceExcludesList

      public com.google.protobuf.ProtocolStringList getXSourceExcludesList()
      repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];
      Specified by:
      getXSourceExcludesList in interface GetDocumentRequestOrBuilder
      Returns:
      A list containing the xSourceExcludes.
    • getXSourceExcludesCount

      public int getXSourceExcludesCount()
      repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];
      Specified by:
      getXSourceExcludesCount in interface GetDocumentRequestOrBuilder
      Returns:
      The count of xSourceExcludes.
    • getXSourceExcludes

      public String getXSourceExcludes(int index)
      repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];
      Specified by:
      getXSourceExcludes in interface GetDocumentRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The xSourceExcludes at the given index.
    • getXSourceExcludesBytes

      public com.google.protobuf.ByteString getXSourceExcludesBytes(int index)
      repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];
      Specified by:
      getXSourceExcludesBytes in interface GetDocumentRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the xSourceExcludes at the given index.
    • setXSourceExcludes

      public GetDocumentRequest.Builder setXSourceExcludes(int index, String value)
      repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];
      Parameters:
      index - The index to set the value at.
      value - The xSourceExcludes to set.
      Returns:
      This builder for chaining.
    • addXSourceExcludes

      public GetDocumentRequest.Builder addXSourceExcludes(String value)
      repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];
      Parameters:
      value - The xSourceExcludes to add.
      Returns:
      This builder for chaining.
    • addAllXSourceExcludes

      public GetDocumentRequest.Builder addAllXSourceExcludes(Iterable<String> values)
      repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];
      Parameters:
      values - The xSourceExcludes to add.
      Returns:
      This builder for chaining.
    • clearXSourceExcludes

      public GetDocumentRequest.Builder clearXSourceExcludes()
      repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];
      Returns:
      This builder for chaining.
    • addXSourceExcludesBytes

      public GetDocumentRequest.Builder addXSourceExcludesBytes(com.google.protobuf.ByteString value)
      repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];
      Parameters:
      value - The bytes of the xSourceExcludes to add.
      Returns:
      This builder for chaining.
    • getXSourceIncludesList

      public com.google.protobuf.ProtocolStringList getXSourceIncludesList()
      repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];
      Specified by:
      getXSourceIncludesList in interface GetDocumentRequestOrBuilder
      Returns:
      A list containing the xSourceIncludes.
    • getXSourceIncludesCount

      public int getXSourceIncludesCount()
      repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];
      Specified by:
      getXSourceIncludesCount in interface GetDocumentRequestOrBuilder
      Returns:
      The count of xSourceIncludes.
    • getXSourceIncludes

      public String getXSourceIncludes(int index)
      repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];
      Specified by:
      getXSourceIncludes in interface GetDocumentRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The xSourceIncludes at the given index.
    • getXSourceIncludesBytes

      public com.google.protobuf.ByteString getXSourceIncludesBytes(int index)
      repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];
      Specified by:
      getXSourceIncludesBytes in interface GetDocumentRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the xSourceIncludes at the given index.
    • setXSourceIncludes

      public GetDocumentRequest.Builder setXSourceIncludes(int index, String value)
      repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];
      Parameters:
      index - The index to set the value at.
      value - The xSourceIncludes to set.
      Returns:
      This builder for chaining.
    • addXSourceIncludes

      public GetDocumentRequest.Builder addXSourceIncludes(String value)
      repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];
      Parameters:
      value - The xSourceIncludes to add.
      Returns:
      This builder for chaining.
    • addAllXSourceIncludes

      public GetDocumentRequest.Builder addAllXSourceIncludes(Iterable<String> values)
      repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];
      Parameters:
      values - The xSourceIncludes to add.
      Returns:
      This builder for chaining.
    • clearXSourceIncludes

      public GetDocumentRequest.Builder clearXSourceIncludes()
      repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];
      Returns:
      This builder for chaining.
    • addXSourceIncludesBytes

      public GetDocumentRequest.Builder addXSourceIncludesBytes(com.google.protobuf.ByteString value)
      repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];
      Parameters:
      value - The bytes of the xSourceIncludes to add.
      Returns:
      This builder for chaining.
    • hasPreference

      public boolean hasPreference()
      optional string preference = 6 [json_name = "preference"];
      Specified by:
      hasPreference in interface GetDocumentRequestOrBuilder
      Returns:
      Whether the preference field is set.
    • getPreference

      public String getPreference()
      optional string preference = 6 [json_name = "preference"];
      Specified by:
      getPreference in interface GetDocumentRequestOrBuilder
      Returns:
      The preference.
    • getPreferenceBytes

      public com.google.protobuf.ByteString getPreferenceBytes()
      optional string preference = 6 [json_name = "preference"];
      Specified by:
      getPreferenceBytes in interface GetDocumentRequestOrBuilder
      Returns:
      The bytes for preference.
    • setPreference

      public GetDocumentRequest.Builder setPreference(String value)
      optional string preference = 6 [json_name = "preference"];
      Parameters:
      value - The preference to set.
      Returns:
      This builder for chaining.
    • clearPreference

      public GetDocumentRequest.Builder clearPreference()
      optional string preference = 6 [json_name = "preference"];
      Returns:
      This builder for chaining.
    • setPreferenceBytes

      public GetDocumentRequest.Builder setPreferenceBytes(com.google.protobuf.ByteString value)
      optional string preference = 6 [json_name = "preference"];
      Parameters:
      value - The bytes for preference to set.
      Returns:
      This builder for chaining.
    • hasRealtime

      public boolean hasRealtime()
      optional bool realtime = 7 [json_name = "realtime"];
      Specified by:
      hasRealtime in interface GetDocumentRequestOrBuilder
      Returns:
      Whether the realtime field is set.
    • getRealtime

      public boolean getRealtime()
      optional bool realtime = 7 [json_name = "realtime"];
      Specified by:
      getRealtime in interface GetDocumentRequestOrBuilder
      Returns:
      The realtime.
    • setRealtime

      public GetDocumentRequest.Builder setRealtime(boolean value)
      optional bool realtime = 7 [json_name = "realtime"];
      Parameters:
      value - The realtime to set.
      Returns:
      This builder for chaining.
    • clearRealtime

      public GetDocumentRequest.Builder clearRealtime()
      optional bool realtime = 7 [json_name = "realtime"];
      Returns:
      This builder for chaining.
    • hasRefresh

      public boolean hasRefresh()
      optional bool refresh = 8 [json_name = "refresh"];
      Specified by:
      hasRefresh in interface GetDocumentRequestOrBuilder
      Returns:
      Whether the refresh field is set.
    • getRefresh

      public boolean getRefresh()
      optional bool refresh = 8 [json_name = "refresh"];
      Specified by:
      getRefresh in interface GetDocumentRequestOrBuilder
      Returns:
      The refresh.
    • setRefresh

      public GetDocumentRequest.Builder setRefresh(boolean value)
      optional bool refresh = 8 [json_name = "refresh"];
      Parameters:
      value - The refresh to set.
      Returns:
      This builder for chaining.
    • clearRefresh

      public GetDocumentRequest.Builder clearRefresh()
      optional bool refresh = 8 [json_name = "refresh"];
      Returns:
      This builder for chaining.
    • hasRouting

      public boolean hasRouting()
      optional string routing = 9 [json_name = "routing"];
      Specified by:
      hasRouting in interface GetDocumentRequestOrBuilder
      Returns:
      Whether the routing field is set.
    • getRouting

      public String getRouting()
      optional string routing = 9 [json_name = "routing"];
      Specified by:
      getRouting in interface GetDocumentRequestOrBuilder
      Returns:
      The routing.
    • getRoutingBytes

      public com.google.protobuf.ByteString getRoutingBytes()
      optional string routing = 9 [json_name = "routing"];
      Specified by:
      getRoutingBytes in interface GetDocumentRequestOrBuilder
      Returns:
      The bytes for routing.
    • setRouting

      public GetDocumentRequest.Builder setRouting(String value)
      optional string routing = 9 [json_name = "routing"];
      Parameters:
      value - The routing to set.
      Returns:
      This builder for chaining.
    • clearRouting

      public GetDocumentRequest.Builder clearRouting()
      optional string routing = 9 [json_name = "routing"];
      Returns:
      This builder for chaining.
    • setRoutingBytes

      public GetDocumentRequest.Builder setRoutingBytes(com.google.protobuf.ByteString value)
      optional string routing = 9 [json_name = "routing"];
      Parameters:
      value - The bytes for routing to set.
      Returns:
      This builder for chaining.
    • getStoredFieldsList

      public com.google.protobuf.ProtocolStringList getStoredFieldsList()
      repeated string stored_fields = 10 [json_name = "storedFields"];
      Specified by:
      getStoredFieldsList in interface GetDocumentRequestOrBuilder
      Returns:
      A list containing the storedFields.
    • getStoredFieldsCount

      public int getStoredFieldsCount()
      repeated string stored_fields = 10 [json_name = "storedFields"];
      Specified by:
      getStoredFieldsCount in interface GetDocumentRequestOrBuilder
      Returns:
      The count of storedFields.
    • getStoredFields

      public String getStoredFields(int index)
      repeated string stored_fields = 10 [json_name = "storedFields"];
      Specified by:
      getStoredFields in interface GetDocumentRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The storedFields at the given index.
    • getStoredFieldsBytes

      public com.google.protobuf.ByteString getStoredFieldsBytes(int index)
      repeated string stored_fields = 10 [json_name = "storedFields"];
      Specified by:
      getStoredFieldsBytes in interface GetDocumentRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the storedFields at the given index.
    • setStoredFields

      public GetDocumentRequest.Builder setStoredFields(int index, String value)
      repeated string stored_fields = 10 [json_name = "storedFields"];
      Parameters:
      index - The index to set the value at.
      value - The storedFields to set.
      Returns:
      This builder for chaining.
    • addStoredFields

      public GetDocumentRequest.Builder addStoredFields(String value)
      repeated string stored_fields = 10 [json_name = "storedFields"];
      Parameters:
      value - The storedFields to add.
      Returns:
      This builder for chaining.
    • addAllStoredFields

      public GetDocumentRequest.Builder addAllStoredFields(Iterable<String> values)
      repeated string stored_fields = 10 [json_name = "storedFields"];
      Parameters:
      values - The storedFields to add.
      Returns:
      This builder for chaining.
    • clearStoredFields

      public GetDocumentRequest.Builder clearStoredFields()
      repeated string stored_fields = 10 [json_name = "storedFields"];
      Returns:
      This builder for chaining.
    • addStoredFieldsBytes

      public GetDocumentRequest.Builder addStoredFieldsBytes(com.google.protobuf.ByteString value)
      repeated string stored_fields = 10 [json_name = "storedFields"];
      Parameters:
      value - The bytes of the storedFields to add.
      Returns:
      This builder for chaining.
    • hasVersion

      public boolean hasVersion()
      optional int64 version = 11 [json_name = "version"];
      Specified by:
      hasVersion in interface GetDocumentRequestOrBuilder
      Returns:
      Whether the version field is set.
    • getVersion

      public long getVersion()
      optional int64 version = 11 [json_name = "version"];
      Specified by:
      getVersion in interface GetDocumentRequestOrBuilder
      Returns:
      The version.
    • setVersion

      public GetDocumentRequest.Builder setVersion(long value)
      optional int64 version = 11 [json_name = "version"];
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public GetDocumentRequest.Builder clearVersion()
      optional int64 version = 11 [json_name = "version"];
      Returns:
      This builder for chaining.
    • hasVersionType

      public boolean hasVersionType()
      optional .VersionType version_type = 12 [json_name = "versionType"];
      Specified by:
      hasVersionType in interface GetDocumentRequestOrBuilder
      Returns:
      Whether the versionType field is set.
    • getVersionTypeValue

      public int getVersionTypeValue()
      optional .VersionType version_type = 12 [json_name = "versionType"];
      Specified by:
      getVersionTypeValue in interface GetDocumentRequestOrBuilder
      Returns:
      The enum numeric value on the wire for versionType.
    • setVersionTypeValue

      public GetDocumentRequest.Builder setVersionTypeValue(int value)
      optional .VersionType version_type = 12 [json_name = "versionType"];
      Parameters:
      value - The enum numeric value on the wire for versionType to set.
      Returns:
      This builder for chaining.
    • getVersionType

      public VersionType getVersionType()
      optional .VersionType version_type = 12 [json_name = "versionType"];
      Specified by:
      getVersionType in interface GetDocumentRequestOrBuilder
      Returns:
      The versionType.
    • setVersionType

      public GetDocumentRequest.Builder setVersionType(VersionType value)
      optional .VersionType version_type = 12 [json_name = "versionType"];
      Parameters:
      value - The versionType to set.
      Returns:
      This builder for chaining.
    • clearVersionType

      public GetDocumentRequest.Builder clearVersionType()
      optional .VersionType version_type = 12 [json_name = "versionType"];
      Returns:
      This builder for chaining.
    • hasSourceType

      public boolean hasSourceType()
      optional .SourceType source_type = 13 [json_name = "sourceType"];
      Specified by:
      hasSourceType in interface GetDocumentRequestOrBuilder
      Returns:
      Whether the sourceType field is set.
    • getSourceTypeValue

      public int getSourceTypeValue()
      optional .SourceType source_type = 13 [json_name = "sourceType"];
      Specified by:
      getSourceTypeValue in interface GetDocumentRequestOrBuilder
      Returns:
      The enum numeric value on the wire for sourceType.
    • setSourceTypeValue

      public GetDocumentRequest.Builder setSourceTypeValue(int value)
      optional .SourceType source_type = 13 [json_name = "sourceType"];
      Parameters:
      value - The enum numeric value on the wire for sourceType to set.
      Returns:
      This builder for chaining.
    • getSourceType

      public SourceType getSourceType()
      optional .SourceType source_type = 13 [json_name = "sourceType"];
      Specified by:
      getSourceType in interface GetDocumentRequestOrBuilder
      Returns:
      The sourceType.
    • setSourceType

      public GetDocumentRequest.Builder setSourceType(SourceType value)
      optional .SourceType source_type = 13 [json_name = "sourceType"];
      Parameters:
      value - The sourceType to set.
      Returns:
      This builder for chaining.
    • clearSourceType

      public GetDocumentRequest.Builder clearSourceType()
      optional .SourceType source_type = 13 [json_name = "sourceType"];
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final GetDocumentRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>
    • mergeUnknownFields

      public final GetDocumentRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>