Class UpdateDocumentRequest.Builder

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

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

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

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

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

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

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

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

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

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

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

      public UpdateDocumentRequest.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<UpdateDocumentRequest.Builder>
      Throws:
      IOException
    • hasId

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

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

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

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

      optional string id = 1 [json_name = "id"];
      Returns:
      This builder for chaining.
    • setIdBytes

      public UpdateDocumentRequest.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 UpdateDocumentRequestOrBuilder
      Returns:
      Whether the index field is set.
    • getIndex

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

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

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

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

      public UpdateDocumentRequest.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.
    • hasXSource

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

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

      optional .SourceConfigParam x_source = 3 [json_name = "xSource"];
    • setXSource

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

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

      public UpdateDocumentRequest.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 UpdateDocumentRequestOrBuilder
    • getXSourceExcludesList

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

      public int getXSourceExcludesCount()
      repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];
      Specified by:
      getXSourceExcludesCount in interface UpdateDocumentRequestOrBuilder
      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 UpdateDocumentRequestOrBuilder
      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 UpdateDocumentRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the xSourceExcludes at the given index.
    • setXSourceExcludes

      public UpdateDocumentRequest.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 UpdateDocumentRequest.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 UpdateDocumentRequest.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 UpdateDocumentRequest.Builder clearXSourceExcludes()
      repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];
      Returns:
      This builder for chaining.
    • addXSourceExcludesBytes

      public UpdateDocumentRequest.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 UpdateDocumentRequestOrBuilder
      Returns:
      A list containing the xSourceIncludes.
    • getXSourceIncludesCount

      public int getXSourceIncludesCount()
      repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];
      Specified by:
      getXSourceIncludesCount in interface UpdateDocumentRequestOrBuilder
      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 UpdateDocumentRequestOrBuilder
      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 UpdateDocumentRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the xSourceIncludes at the given index.
    • setXSourceIncludes

      public UpdateDocumentRequest.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 UpdateDocumentRequest.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 UpdateDocumentRequest.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 UpdateDocumentRequest.Builder clearXSourceIncludes()
      repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];
      Returns:
      This builder for chaining.
    • addXSourceIncludesBytes

      public UpdateDocumentRequest.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.
    • hasIfPrimaryTerm

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

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

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

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

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

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

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

      public UpdateDocumentRequest.Builder clearIfSeqNo()
      optional int64 if_seq_no = 7 [json_name = "ifSeqNo"];
      Returns:
      This builder for chaining.
    • hasLang

      public boolean hasLang()
      optional string lang = 8 [json_name = "lang"];
      Specified by:
      hasLang in interface UpdateDocumentRequestOrBuilder
      Returns:
      Whether the lang field is set.
    • getLang

      public String getLang()
      optional string lang = 8 [json_name = "lang"];
      Specified by:
      getLang in interface UpdateDocumentRequestOrBuilder
      Returns:
      The lang.
    • getLangBytes

      public com.google.protobuf.ByteString getLangBytes()
      optional string lang = 8 [json_name = "lang"];
      Specified by:
      getLangBytes in interface UpdateDocumentRequestOrBuilder
      Returns:
      The bytes for lang.
    • setLang

      public UpdateDocumentRequest.Builder setLang(String value)
      optional string lang = 8 [json_name = "lang"];
      Parameters:
      value - The lang to set.
      Returns:
      This builder for chaining.
    • clearLang

      public UpdateDocumentRequest.Builder clearLang()
      optional string lang = 8 [json_name = "lang"];
      Returns:
      This builder for chaining.
    • setLangBytes

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

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

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

      public UpdateDocumentRequest.Builder setRefreshValue(int value)
      optional .Refresh refresh = 9 [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 = 9 [json_name = "refresh"];
      Specified by:
      getRefresh in interface UpdateDocumentRequestOrBuilder
      Returns:
      The refresh.
    • setRefresh

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

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

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

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

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

      public UpdateDocumentRequest.Builder clearRequireAlias()
      optional bool require_alias = 10 [json_name = "requireAlias"];
      Returns:
      This builder for chaining.
    • hasRetryOnConflict

      public boolean hasRetryOnConflict()
      optional int32 retry_on_conflict = 11 [json_name = "retryOnConflict"];
      Specified by:
      hasRetryOnConflict in interface UpdateDocumentRequestOrBuilder
      Returns:
      Whether the retryOnConflict field is set.
    • getRetryOnConflict

      public int getRetryOnConflict()
      optional int32 retry_on_conflict = 11 [json_name = "retryOnConflict"];
      Specified by:
      getRetryOnConflict in interface UpdateDocumentRequestOrBuilder
      Returns:
      The retryOnConflict.
    • setRetryOnConflict

      public UpdateDocumentRequest.Builder setRetryOnConflict(int value)
      optional int32 retry_on_conflict = 11 [json_name = "retryOnConflict"];
      Parameters:
      value - The retryOnConflict to set.
      Returns:
      This builder for chaining.
    • clearRetryOnConflict

      public UpdateDocumentRequest.Builder clearRetryOnConflict()
      optional int32 retry_on_conflict = 11 [json_name = "retryOnConflict"];
      Returns:
      This builder for chaining.
    • hasRouting

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public UpdateDocumentRequestBody getRequestBody()
      .UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];
      Specified by:
      getRequestBody in interface UpdateDocumentRequestOrBuilder
      Returns:
      The requestBody.
    • setRequestBody

      .UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];
    • setRequestBody

      public UpdateDocumentRequest.Builder setRequestBody(UpdateDocumentRequestBody.Builder builderForValue)
      .UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];
    • mergeRequestBody

      .UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];
    • clearRequestBody

      public UpdateDocumentRequest.Builder clearRequestBody()
      .UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];
    • getRequestBodyBuilder

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

      public UpdateDocumentRequestBodyOrBuilder getRequestBodyOrBuilder()
      .UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];
      Specified by:
      getRequestBodyOrBuilder in interface UpdateDocumentRequestOrBuilder
    • hasSourceType

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

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

      public UpdateDocumentRequest.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 UpdateDocumentRequestOrBuilder
      Returns:
      The sourceType.
    • setSourceType

      public UpdateDocumentRequest.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 UpdateDocumentRequest.Builder clearSourceType()
      optional .SourceType source_type = 16 [json_name = "sourceType"];
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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