Class IndexDocumentRequest.Builder

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

public static final class IndexDocumentRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<IndexDocumentRequest.Builder> implements IndexDocumentRequestOrBuilder
Protobuf type IndexDocumentRequest
  • 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<IndexDocumentRequest.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<IndexDocumentRequest.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<IndexDocumentRequest.Builder>
    • getDefaultInstanceForType

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

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

      public IndexDocumentRequest 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<IndexDocumentRequest.Builder>
    • setField

      public IndexDocumentRequest.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<IndexDocumentRequest.Builder>
    • clearField

      public IndexDocumentRequest.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<IndexDocumentRequest.Builder>
    • clearOneof

      public IndexDocumentRequest.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<IndexDocumentRequest.Builder>
    • setRepeatedField

      public IndexDocumentRequest.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<IndexDocumentRequest.Builder>
    • addRepeatedField

      public IndexDocumentRequest.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<IndexDocumentRequest.Builder>
    • mergeFrom

      public IndexDocumentRequest.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<IndexDocumentRequest.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<IndexDocumentRequest.Builder>
    • mergeFrom

      public IndexDocumentRequest.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<IndexDocumentRequest.Builder>
      Throws:
      IOException
    • getIndexDocumentRequestRequestBodyCase

      public IndexDocumentRequest.IndexDocumentRequestRequestBodyCase getIndexDocumentRequestRequestBodyCase()
      Specified by:
      getIndexDocumentRequestRequestBodyCase in interface IndexDocumentRequestOrBuilder
    • clearIndexDocumentRequestRequestBody

      public IndexDocumentRequest.Builder clearIndexDocumentRequestRequestBody()
    • hasId

      public boolean hasId()
      optional string id = 1 [json_name = "id"];
      Specified by:
      hasId in interface IndexDocumentRequestOrBuilder
      Returns:
      Whether the id field is set.
    • getId

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

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

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

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

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

      public boolean hasIndex()
      optional string index = 2 [json_name = "index"];
      Specified by:
      hasIndex in interface IndexDocumentRequestOrBuilder
      Returns:
      Whether the index field is set.
    • getIndex

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

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

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

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

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

      public boolean hasIfPrimaryTerm()
      optional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];
      Specified by:
      hasIfPrimaryTerm in interface IndexDocumentRequestOrBuilder
      Returns:
      Whether the ifPrimaryTerm field is set.
    • getIfPrimaryTerm

      public long getIfPrimaryTerm()
      optional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];
      Specified by:
      getIfPrimaryTerm in interface IndexDocumentRequestOrBuilder
      Returns:
      The ifPrimaryTerm.
    • setIfPrimaryTerm

      public IndexDocumentRequest.Builder setIfPrimaryTerm(long value)
      optional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];
      Parameters:
      value - The ifPrimaryTerm to set.
      Returns:
      This builder for chaining.
    • clearIfPrimaryTerm

      public IndexDocumentRequest.Builder clearIfPrimaryTerm()
      optional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];
      Returns:
      This builder for chaining.
    • hasIfSeqNo

      public boolean hasIfSeqNo()
      optional int64 if_seq_no = 4 [json_name = "ifSeqNo"];
      Specified by:
      hasIfSeqNo in interface IndexDocumentRequestOrBuilder
      Returns:
      Whether the ifSeqNo field is set.
    • getIfSeqNo

      public long getIfSeqNo()
      optional int64 if_seq_no = 4 [json_name = "ifSeqNo"];
      Specified by:
      getIfSeqNo in interface IndexDocumentRequestOrBuilder
      Returns:
      The ifSeqNo.
    • setIfSeqNo

      public IndexDocumentRequest.Builder setIfSeqNo(long value)
      optional int64 if_seq_no = 4 [json_name = "ifSeqNo"];
      Parameters:
      value - The ifSeqNo to set.
      Returns:
      This builder for chaining.
    • clearIfSeqNo

      public IndexDocumentRequest.Builder clearIfSeqNo()
      optional int64 if_seq_no = 4 [json_name = "ifSeqNo"];
      Returns:
      This builder for chaining.
    • hasOpType

      public boolean hasOpType()
      optional .OpType op_type = 5 [json_name = "opType"];
      Specified by:
      hasOpType in interface IndexDocumentRequestOrBuilder
      Returns:
      Whether the opType field is set.
    • getOpTypeValue

      public int getOpTypeValue()
      optional .OpType op_type = 5 [json_name = "opType"];
      Specified by:
      getOpTypeValue in interface IndexDocumentRequestOrBuilder
      Returns:
      The enum numeric value on the wire for opType.
    • setOpTypeValue

      public IndexDocumentRequest.Builder setOpTypeValue(int value)
      optional .OpType op_type = 5 [json_name = "opType"];
      Parameters:
      value - The enum numeric value on the wire for opType to set.
      Returns:
      This builder for chaining.
    • getOpType

      public OpType getOpType()
      optional .OpType op_type = 5 [json_name = "opType"];
      Specified by:
      getOpType in interface IndexDocumentRequestOrBuilder
      Returns:
      The opType.
    • setOpType

      public IndexDocumentRequest.Builder setOpType(OpType value)
      optional .OpType op_type = 5 [json_name = "opType"];
      Parameters:
      value - The opType to set.
      Returns:
      This builder for chaining.
    • clearOpType

      public IndexDocumentRequest.Builder clearOpType()
      optional .OpType op_type = 5 [json_name = "opType"];
      Returns:
      This builder for chaining.
    • hasPipeline

      public boolean hasPipeline()
      optional string pipeline = 6 [json_name = "pipeline"];
      Specified by:
      hasPipeline in interface IndexDocumentRequestOrBuilder
      Returns:
      Whether the pipeline field is set.
    • getPipeline

      public String getPipeline()
      optional string pipeline = 6 [json_name = "pipeline"];
      Specified by:
      getPipeline in interface IndexDocumentRequestOrBuilder
      Returns:
      The pipeline.
    • getPipelineBytes

      public com.google.protobuf.ByteString getPipelineBytes()
      optional string pipeline = 6 [json_name = "pipeline"];
      Specified by:
      getPipelineBytes in interface IndexDocumentRequestOrBuilder
      Returns:
      The bytes for pipeline.
    • setPipeline

      public IndexDocumentRequest.Builder setPipeline(String value)
      optional string pipeline = 6 [json_name = "pipeline"];
      Parameters:
      value - The pipeline to set.
      Returns:
      This builder for chaining.
    • clearPipeline

      public IndexDocumentRequest.Builder clearPipeline()
      optional string pipeline = 6 [json_name = "pipeline"];
      Returns:
      This builder for chaining.
    • setPipelineBytes

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

      public boolean hasRefresh()
      optional .Refresh refresh = 7 [json_name = "refresh"];
      Specified by:
      hasRefresh in interface IndexDocumentRequestOrBuilder
      Returns:
      Whether the refresh field is set.
    • getRefreshValue

      public int getRefreshValue()
      optional .Refresh refresh = 7 [json_name = "refresh"];
      Specified by:
      getRefreshValue in interface IndexDocumentRequestOrBuilder
      Returns:
      The enum numeric value on the wire for refresh.
    • setRefreshValue

      public IndexDocumentRequest.Builder setRefreshValue(int value)
      optional .Refresh refresh = 7 [json_name = "refresh"];
      Parameters:
      value - The enum numeric value on the wire for refresh to set.
      Returns:
      This builder for chaining.
    • getRefresh

      public Refresh getRefresh()
      optional .Refresh refresh = 7 [json_name = "refresh"];
      Specified by:
      getRefresh in interface IndexDocumentRequestOrBuilder
      Returns:
      The refresh.
    • setRefresh

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

      public IndexDocumentRequest.Builder clearRefresh()
      optional .Refresh refresh = 7 [json_name = "refresh"];
      Returns:
      This builder for chaining.
    • hasRequireAlias

      public boolean hasRequireAlias()
      optional bool require_alias = 8 [json_name = "requireAlias"];
      Specified by:
      hasRequireAlias in interface IndexDocumentRequestOrBuilder
      Returns:
      Whether the requireAlias field is set.
    • getRequireAlias

      public boolean getRequireAlias()
      optional bool require_alias = 8 [json_name = "requireAlias"];
      Specified by:
      getRequireAlias in interface IndexDocumentRequestOrBuilder
      Returns:
      The requireAlias.
    • setRequireAlias

      public IndexDocumentRequest.Builder setRequireAlias(boolean value)
      optional bool require_alias = 8 [json_name = "requireAlias"];
      Parameters:
      value - The requireAlias to set.
      Returns:
      This builder for chaining.
    • clearRequireAlias

      public IndexDocumentRequest.Builder clearRequireAlias()
      optional bool require_alias = 8 [json_name = "requireAlias"];
      Returns:
      This builder for chaining.
    • hasRouting

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

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

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

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

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

      public IndexDocumentRequest.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.
    • hasTimeout

      public boolean hasTimeout()
      optional string timeout = 10 [json_name = "timeout"];
      Specified by:
      hasTimeout in interface IndexDocumentRequestOrBuilder
      Returns:
      Whether the timeout field is set.
    • getTimeout

      public String getTimeout()
      optional string timeout = 10 [json_name = "timeout"];
      Specified by:
      getTimeout in interface IndexDocumentRequestOrBuilder
      Returns:
      The timeout.
    • getTimeoutBytes

      public com.google.protobuf.ByteString getTimeoutBytes()
      optional string timeout = 10 [json_name = "timeout"];
      Specified by:
      getTimeoutBytes in interface IndexDocumentRequestOrBuilder
      Returns:
      The bytes for timeout.
    • setTimeout

      public IndexDocumentRequest.Builder setTimeout(String value)
      optional string timeout = 10 [json_name = "timeout"];
      Parameters:
      value - The timeout to set.
      Returns:
      This builder for chaining.
    • clearTimeout

      public IndexDocumentRequest.Builder clearTimeout()
      optional string timeout = 10 [json_name = "timeout"];
      Returns:
      This builder for chaining.
    • setTimeoutBytes

      public IndexDocumentRequest.Builder setTimeoutBytes(com.google.protobuf.ByteString value)
      optional string timeout = 10 [json_name = "timeout"];
      Parameters:
      value - The bytes for timeout to set.
      Returns:
      This builder for chaining.
    • hasVersion

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

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

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

      public IndexDocumentRequest.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 IndexDocumentRequestOrBuilder
      Returns:
      Whether the versionType field is set.
    • getVersionTypeValue

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

      public IndexDocumentRequest.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 IndexDocumentRequestOrBuilder
      Returns:
      The versionType.
    • setVersionType

      public IndexDocumentRequest.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 IndexDocumentRequest.Builder clearVersionType()
      optional .VersionType version_type = 12 [json_name = "versionType"];
      Returns:
      This builder for chaining.
    • hasWaitForActiveShards

      public boolean hasWaitForActiveShards()
      optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];
      Specified by:
      hasWaitForActiveShards in interface IndexDocumentRequestOrBuilder
      Returns:
      Whether the waitForActiveShards field is set.
    • getWaitForActiveShards

      public WaitForActiveShards getWaitForActiveShards()
      optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];
      Specified by:
      getWaitForActiveShards in interface IndexDocumentRequestOrBuilder
      Returns:
      The waitForActiveShards.
    • setWaitForActiveShards

      public IndexDocumentRequest.Builder setWaitForActiveShards(WaitForActiveShards value)
      optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];
    • setWaitForActiveShards

      public IndexDocumentRequest.Builder setWaitForActiveShards(WaitForActiveShards.Builder builderForValue)
      optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];
    • mergeWaitForActiveShards

      public IndexDocumentRequest.Builder mergeWaitForActiveShards(WaitForActiveShards value)
      optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];
    • clearWaitForActiveShards

      public IndexDocumentRequest.Builder clearWaitForActiveShards()
      optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];
    • getWaitForActiveShardsBuilder

      public WaitForActiveShards.Builder getWaitForActiveShardsBuilder()
      optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];
    • getWaitForActiveShardsOrBuilder

      public WaitForActiveShardsOrBuilder getWaitForActiveShardsOrBuilder()
      optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];
      Specified by:
      getWaitForActiveShardsOrBuilder in interface IndexDocumentRequestOrBuilder
    • hasRequestBody

      public boolean hasRequestBody()
      .ObjectMap request_body = 14 [json_name = "requestBody"];
      Specified by:
      hasRequestBody in interface IndexDocumentRequestOrBuilder
      Returns:
      Whether the requestBody field is set.
    • getRequestBody

      public ObjectMap getRequestBody()
      .ObjectMap request_body = 14 [json_name = "requestBody"];
      Specified by:
      getRequestBody in interface IndexDocumentRequestOrBuilder
      Returns:
      The requestBody.
    • setRequestBody

      public IndexDocumentRequest.Builder setRequestBody(ObjectMap value)
      .ObjectMap request_body = 14 [json_name = "requestBody"];
    • setRequestBody

      public IndexDocumentRequest.Builder setRequestBody(ObjectMap.Builder builderForValue)
      .ObjectMap request_body = 14 [json_name = "requestBody"];
    • mergeRequestBody

      public IndexDocumentRequest.Builder mergeRequestBody(ObjectMap value)
      .ObjectMap request_body = 14 [json_name = "requestBody"];
    • clearRequestBody

      public IndexDocumentRequest.Builder clearRequestBody()
      .ObjectMap request_body = 14 [json_name = "requestBody"];
    • getRequestBodyBuilder

      public ObjectMap.Builder getRequestBodyBuilder()
      .ObjectMap request_body = 14 [json_name = "requestBody"];
    • getRequestBodyOrBuilder

      public ObjectMapOrBuilder getRequestBodyOrBuilder()
      .ObjectMap request_body = 14 [json_name = "requestBody"];
      Specified by:
      getRequestBodyOrBuilder in interface IndexDocumentRequestOrBuilder
    • hasBytesRequestBody

      public boolean hasBytesRequestBody()
      bytes bytes_request_body = 15 [json_name = "bytesRequestBody"];
      Specified by:
      hasBytesRequestBody in interface IndexDocumentRequestOrBuilder
      Returns:
      Whether the bytesRequestBody field is set.
    • getBytesRequestBody

      public com.google.protobuf.ByteString getBytesRequestBody()
      bytes bytes_request_body = 15 [json_name = "bytesRequestBody"];
      Specified by:
      getBytesRequestBody in interface IndexDocumentRequestOrBuilder
      Returns:
      The bytesRequestBody.
    • setBytesRequestBody

      public IndexDocumentRequest.Builder setBytesRequestBody(com.google.protobuf.ByteString value)
      bytes bytes_request_body = 15 [json_name = "bytesRequestBody"];
      Parameters:
      value - The bytesRequestBody to set.
      Returns:
      This builder for chaining.
    • clearBytesRequestBody

      public IndexDocumentRequest.Builder clearBytesRequestBody()
      bytes bytes_request_body = 15 [json_name = "bytesRequestBody"];
      Returns:
      This builder for chaining.
    • hasSourceType

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

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

      public IndexDocumentRequest.Builder setSourceTypeValue(int value)
      optional .SourceType source_type = 16 [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 = 16 [json_name = "sourceType"];
      Specified by:
      getSourceType in interface IndexDocumentRequestOrBuilder
      Returns:
      The sourceType.
    • setSourceType

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

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

      public final IndexDocumentRequest.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<IndexDocumentRequest.Builder>
    • mergeUnknownFields

      public final IndexDocumentRequest.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<IndexDocumentRequest.Builder>