Package org.opensearch.protobufs
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 Summary
Modifier and TypeMethodDescriptionaddAllXSourceExcludes(Iterable<String> values) repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];addAllXSourceIncludes(Iterable<String> values) repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addXSourceExcludes(String value) repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];addXSourceExcludesBytes(com.google.protobuf.ByteString value) repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];addXSourceIncludes(String value) repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];addXSourceIncludesBytes(com.google.protobuf.ByteString value) repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()optional string id = 1 [json_name = "id"];optional int64 if_primary_term = 6 [json_name = "ifPrimaryTerm"];optional int64 if_seq_no = 7 [json_name = "ifSeqNo"];optional string index = 2 [json_name = "index"];optional string lang = 8 [json_name = "lang"];clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional .Refresh refresh = 9 [json_name = "refresh"];.UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];optional bool require_alias = 10 [json_name = "requireAlias"];optional int32 retry_on_conflict = 11 [json_name = "retryOnConflict"];optional string routing = 12 [json_name = "routing"];optional .SourceType source_type = 16 [json_name = "sourceType"];optional string timeout = 13 [json_name = "timeout"];optional .WaitForActiveShards wait_for_active_shards = 14 [json_name = "waitForActiveShards"];optional .SourceConfigParam x_source = 3 [json_name = "xSource"];repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()optional string id = 1 [json_name = "id"];com.google.protobuf.ByteStringoptional string id = 1 [json_name = "id"];longoptional int64 if_primary_term = 6 [json_name = "ifPrimaryTerm"];longoptional int64 if_seq_no = 7 [json_name = "ifSeqNo"];getIndex()optional string index = 2 [json_name = "index"];com.google.protobuf.ByteStringoptional string index = 2 [json_name = "index"];getLang()optional string lang = 8 [json_name = "lang"];com.google.protobuf.ByteStringoptional string lang = 8 [json_name = "lang"];optional .Refresh refresh = 9 [json_name = "refresh"];intoptional .Refresh refresh = 9 [json_name = "refresh"];.UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];.UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];.UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];booleanoptional bool require_alias = 10 [json_name = "requireAlias"];intoptional int32 retry_on_conflict = 11 [json_name = "retryOnConflict"];optional string routing = 12 [json_name = "routing"];com.google.protobuf.ByteStringoptional string routing = 12 [json_name = "routing"];optional .SourceType source_type = 16 [json_name = "sourceType"];intoptional .SourceType source_type = 16 [json_name = "sourceType"];optional string timeout = 13 [json_name = "timeout"];com.google.protobuf.ByteStringoptional string timeout = 13 [json_name = "timeout"];optional .WaitForActiveShards wait_for_active_shards = 14 [json_name = "waitForActiveShards"];optional .WaitForActiveShards wait_for_active_shards = 14 [json_name = "waitForActiveShards"];optional .WaitForActiveShards wait_for_active_shards = 14 [json_name = "waitForActiveShards"];optional .SourceConfigParam x_source = 3 [json_name = "xSource"];optional .SourceConfigParam x_source = 3 [json_name = "xSource"];getXSourceExcludes(int index) repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];com.google.protobuf.ByteStringgetXSourceExcludesBytes(int index) repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];intrepeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];com.google.protobuf.ProtocolStringListrepeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];getXSourceIncludes(int index) repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];com.google.protobuf.ByteStringgetXSourceIncludesBytes(int index) repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];intrepeated string x_source_includes = 5 [json_name = "xSourceIncludes"];com.google.protobuf.ProtocolStringListrepeated string x_source_includes = 5 [json_name = "xSourceIncludes"];optional .SourceConfigParam x_source = 3 [json_name = "xSource"];booleanhasId()optional string id = 1 [json_name = "id"];booleanoptional int64 if_primary_term = 6 [json_name = "ifPrimaryTerm"];booleanoptional int64 if_seq_no = 7 [json_name = "ifSeqNo"];booleanhasIndex()optional string index = 2 [json_name = "index"];booleanhasLang()optional string lang = 8 [json_name = "lang"];booleanoptional .Refresh refresh = 9 [json_name = "refresh"];boolean.UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];booleanoptional bool require_alias = 10 [json_name = "requireAlias"];booleanoptional int32 retry_on_conflict = 11 [json_name = "retryOnConflict"];booleanoptional string routing = 12 [json_name = "routing"];booleanoptional .SourceType source_type = 16 [json_name = "sourceType"];booleanoptional string timeout = 13 [json_name = "timeout"];booleanoptional .WaitForActiveShards wait_for_active_shards = 14 [json_name = "waitForActiveShards"];booleanoptional .SourceConfigParam x_source = 3 [json_name = "xSource"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(UpdateDocumentRequest other) .UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) optional .WaitForActiveShards wait_for_active_shards = 14 [json_name = "waitForActiveShards"];mergeXSource(SourceConfigParam value) optional .SourceConfigParam x_source = 3 [json_name = "xSource"];optional string id = 1 [json_name = "id"];setIdBytes(com.google.protobuf.ByteString value) optional string id = 1 [json_name = "id"];setIfPrimaryTerm(long value) optional int64 if_primary_term = 6 [json_name = "ifPrimaryTerm"];setIfSeqNo(long value) optional int64 if_seq_no = 7 [json_name = "ifSeqNo"];optional string index = 2 [json_name = "index"];setIndexBytes(com.google.protobuf.ByteString value) optional string index = 2 [json_name = "index"];optional string lang = 8 [json_name = "lang"];setLangBytes(com.google.protobuf.ByteString value) optional string lang = 8 [json_name = "lang"];setRefresh(Refresh value) optional .Refresh refresh = 9 [json_name = "refresh"];setRefreshValue(int value) optional .Refresh refresh = 9 [json_name = "refresh"];setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) .UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];setRequestBody(UpdateDocumentRequestBody.Builder builderForValue) .UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];setRequireAlias(boolean value) optional bool require_alias = 10 [json_name = "requireAlias"];setRetryOnConflict(int value) optional int32 retry_on_conflict = 11 [json_name = "retryOnConflict"];setRouting(String value) optional string routing = 12 [json_name = "routing"];setRoutingBytes(com.google.protobuf.ByteString value) optional string routing = 12 [json_name = "routing"];setSourceType(SourceType value) optional .SourceType source_type = 16 [json_name = "sourceType"];setSourceTypeValue(int value) optional .SourceType source_type = 16 [json_name = "sourceType"];setTimeout(String value) optional string timeout = 13 [json_name = "timeout"];setTimeoutBytes(com.google.protobuf.ByteString value) optional string timeout = 13 [json_name = "timeout"];setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) optional .WaitForActiveShards wait_for_active_shards = 14 [json_name = "waitForActiveShards"];setWaitForActiveShards(WaitForActiveShards.Builder builderForValue) optional .WaitForActiveShards wait_for_active_shards = 14 [json_name = "waitForActiveShards"];setXSource(SourceConfigParam value) optional .SourceConfigParam x_source = 3 [json_name = "xSource"];setXSource(SourceConfigParam.Builder builderForValue) optional .SourceConfigParam x_source = 3 [json_name = "xSource"];setXSourceExcludes(int index, String value) repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];setXSourceIncludes(int index, String value) repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
-
setField
public UpdateDocumentRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
-
clearField
public UpdateDocumentRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
-
clearOneof
public UpdateDocumentRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
-
setRepeatedField
public UpdateDocumentRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
-
addRepeatedField
public UpdateDocumentRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateDocumentRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateDocumentRequest.Builder>- Throws:
IOException
-
hasId
public boolean hasId()optional string id = 1 [json_name = "id"];- Specified by:
hasIdin interfaceUpdateDocumentRequestOrBuilder- Returns:
- Whether the id field is set.
-
getId
optional string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceUpdateDocumentRequestOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()optional string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceUpdateDocumentRequestOrBuilder- Returns:
- The bytes for id.
-
setId
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
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:
hasIndexin interfaceUpdateDocumentRequestOrBuilder- Returns:
- Whether the index field is set.
-
getIndex
optional string index = 2 [json_name = "index"];- Specified by:
getIndexin interfaceUpdateDocumentRequestOrBuilder- Returns:
- The index.
-
getIndexBytes
public com.google.protobuf.ByteString getIndexBytes()optional string index = 2 [json_name = "index"];- Specified by:
getIndexBytesin interfaceUpdateDocumentRequestOrBuilder- Returns:
- The bytes for index.
-
setIndex
optional string index = 2 [json_name = "index"];- Parameters:
value- The index to set.- Returns:
- This builder for chaining.
-
clearIndex
optional string index = 2 [json_name = "index"];- Returns:
- This builder for chaining.
-
setIndexBytes
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:
hasXSourcein interfaceUpdateDocumentRequestOrBuilder- Returns:
- Whether the xSource field is set.
-
getXSource
optional .SourceConfigParam x_source = 3 [json_name = "xSource"];- Specified by:
getXSourcein interfaceUpdateDocumentRequestOrBuilder- Returns:
- The xSource.
-
setXSource
optional .SourceConfigParam x_source = 3 [json_name = "xSource"]; -
setXSource
optional .SourceConfigParam x_source = 3 [json_name = "xSource"]; -
mergeXSource
optional .SourceConfigParam x_source = 3 [json_name = "xSource"]; -
clearXSource
optional .SourceConfigParam x_source = 3 [json_name = "xSource"]; -
getXSourceBuilder
optional .SourceConfigParam x_source = 3 [json_name = "xSource"]; -
getXSourceOrBuilder
optional .SourceConfigParam x_source = 3 [json_name = "xSource"];- Specified by:
getXSourceOrBuilderin interfaceUpdateDocumentRequestOrBuilder
-
getXSourceExcludesList
public com.google.protobuf.ProtocolStringList getXSourceExcludesList()repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];- Specified by:
getXSourceExcludesListin interfaceUpdateDocumentRequestOrBuilder- Returns:
- A list containing the xSourceExcludes.
-
getXSourceExcludesCount
public int getXSourceExcludesCount()repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];- Specified by:
getXSourceExcludesCountin interfaceUpdateDocumentRequestOrBuilder- Returns:
- The count of xSourceExcludes.
-
getXSourceExcludes
repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];- Specified by:
getXSourceExcludesin interfaceUpdateDocumentRequestOrBuilder- 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:
getXSourceExcludesBytesin interfaceUpdateDocumentRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the xSourceExcludes at the given index.
-
setXSourceExcludes
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
repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];- Parameters:
value- The xSourceExcludes to add.- Returns:
- This builder for chaining.
-
addAllXSourceExcludes
repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];- Parameters:
values- The xSourceExcludes to add.- Returns:
- This builder for chaining.
-
clearXSourceExcludes
repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];- Returns:
- This builder for chaining.
-
addXSourceExcludesBytes
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:
getXSourceIncludesListin interfaceUpdateDocumentRequestOrBuilder- Returns:
- A list containing the xSourceIncludes.
-
getXSourceIncludesCount
public int getXSourceIncludesCount()repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];- Specified by:
getXSourceIncludesCountin interfaceUpdateDocumentRequestOrBuilder- Returns:
- The count of xSourceIncludes.
-
getXSourceIncludes
repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];- Specified by:
getXSourceIncludesin interfaceUpdateDocumentRequestOrBuilder- 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:
getXSourceIncludesBytesin interfaceUpdateDocumentRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the xSourceIncludes at the given index.
-
setXSourceIncludes
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
repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];- Parameters:
value- The xSourceIncludes to add.- Returns:
- This builder for chaining.
-
addAllXSourceIncludes
repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];- Parameters:
values- The xSourceIncludes to add.- Returns:
- This builder for chaining.
-
clearXSourceIncludes
repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];- Returns:
- This builder for chaining.
-
addXSourceIncludesBytes
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:
hasIfPrimaryTermin interfaceUpdateDocumentRequestOrBuilder- Returns:
- Whether the ifPrimaryTerm field is set.
-
getIfPrimaryTerm
public long getIfPrimaryTerm()optional int64 if_primary_term = 6 [json_name = "ifPrimaryTerm"];- Specified by:
getIfPrimaryTermin interfaceUpdateDocumentRequestOrBuilder- Returns:
- The ifPrimaryTerm.
-
setIfPrimaryTerm
optional int64 if_primary_term = 6 [json_name = "ifPrimaryTerm"];- Parameters:
value- The ifPrimaryTerm to set.- Returns:
- This builder for chaining.
-
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:
hasIfSeqNoin interfaceUpdateDocumentRequestOrBuilder- Returns:
- Whether the ifSeqNo field is set.
-
getIfSeqNo
public long getIfSeqNo()optional int64 if_seq_no = 7 [json_name = "ifSeqNo"];- Specified by:
getIfSeqNoin interfaceUpdateDocumentRequestOrBuilder- Returns:
- The ifSeqNo.
-
setIfSeqNo
optional int64 if_seq_no = 7 [json_name = "ifSeqNo"];- Parameters:
value- The ifSeqNo to set.- Returns:
- This builder for chaining.
-
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:
hasLangin interfaceUpdateDocumentRequestOrBuilder- Returns:
- Whether the lang field is set.
-
getLang
optional string lang = 8 [json_name = "lang"];- Specified by:
getLangin interfaceUpdateDocumentRequestOrBuilder- Returns:
- The lang.
-
getLangBytes
public com.google.protobuf.ByteString getLangBytes()optional string lang = 8 [json_name = "lang"];- Specified by:
getLangBytesin interfaceUpdateDocumentRequestOrBuilder- Returns:
- The bytes for lang.
-
setLang
optional string lang = 8 [json_name = "lang"];- Parameters:
value- The lang to set.- Returns:
- This builder for chaining.
-
clearLang
optional string lang = 8 [json_name = "lang"];- Returns:
- This builder for chaining.
-
setLangBytes
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:
hasRefreshin interfaceUpdateDocumentRequestOrBuilder- Returns:
- Whether the refresh field is set.
-
getRefreshValue
public int getRefreshValue()optional .Refresh refresh = 9 [json_name = "refresh"];- Specified by:
getRefreshValuein interfaceUpdateDocumentRequestOrBuilder- Returns:
- The enum numeric value on the wire for refresh.
-
setRefreshValue
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
optional .Refresh refresh = 9 [json_name = "refresh"];- Specified by:
getRefreshin interfaceUpdateDocumentRequestOrBuilder- Returns:
- The refresh.
-
setRefresh
optional .Refresh refresh = 9 [json_name = "refresh"];- Parameters:
value- The refresh to set.- Returns:
- This builder for chaining.
-
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:
hasRequireAliasin interfaceUpdateDocumentRequestOrBuilder- Returns:
- Whether the requireAlias field is set.
-
getRequireAlias
public boolean getRequireAlias()optional bool require_alias = 10 [json_name = "requireAlias"];- Specified by:
getRequireAliasin interfaceUpdateDocumentRequestOrBuilder- Returns:
- The requireAlias.
-
setRequireAlias
optional bool require_alias = 10 [json_name = "requireAlias"];- Parameters:
value- The requireAlias to set.- Returns:
- This builder for chaining.
-
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:
hasRetryOnConflictin interfaceUpdateDocumentRequestOrBuilder- Returns:
- Whether the retryOnConflict field is set.
-
getRetryOnConflict
public int getRetryOnConflict()optional int32 retry_on_conflict = 11 [json_name = "retryOnConflict"];- Specified by:
getRetryOnConflictin interfaceUpdateDocumentRequestOrBuilder- Returns:
- The retryOnConflict.
-
setRetryOnConflict
optional int32 retry_on_conflict = 11 [json_name = "retryOnConflict"];- Parameters:
value- The retryOnConflict to set.- Returns:
- This builder for chaining.
-
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:
hasRoutingin interfaceUpdateDocumentRequestOrBuilder- Returns:
- Whether the routing field is set.
-
getRouting
optional string routing = 12 [json_name = "routing"];- Specified by:
getRoutingin interfaceUpdateDocumentRequestOrBuilder- Returns:
- The routing.
-
getRoutingBytes
public com.google.protobuf.ByteString getRoutingBytes()optional string routing = 12 [json_name = "routing"];- Specified by:
getRoutingBytesin interfaceUpdateDocumentRequestOrBuilder- Returns:
- The bytes for routing.
-
setRouting
optional string routing = 12 [json_name = "routing"];- Parameters:
value- The routing to set.- Returns:
- This builder for chaining.
-
clearRouting
optional string routing = 12 [json_name = "routing"];- Returns:
- This builder for chaining.
-
setRoutingBytes
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:
hasTimeoutin interfaceUpdateDocumentRequestOrBuilder- Returns:
- Whether the timeout field is set.
-
getTimeout
optional string timeout = 13 [json_name = "timeout"];- Specified by:
getTimeoutin interfaceUpdateDocumentRequestOrBuilder- Returns:
- The timeout.
-
getTimeoutBytes
public com.google.protobuf.ByteString getTimeoutBytes()optional string timeout = 13 [json_name = "timeout"];- Specified by:
getTimeoutBytesin interfaceUpdateDocumentRequestOrBuilder- Returns:
- The bytes for timeout.
-
setTimeout
optional string timeout = 13 [json_name = "timeout"];- Parameters:
value- The timeout to set.- Returns:
- This builder for chaining.
-
clearTimeout
optional string timeout = 13 [json_name = "timeout"];- Returns:
- This builder for chaining.
-
setTimeoutBytes
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:
hasWaitForActiveShardsin interfaceUpdateDocumentRequestOrBuilder- Returns:
- Whether the waitForActiveShards field is set.
-
getWaitForActiveShards
optional .WaitForActiveShards wait_for_active_shards = 14 [json_name = "waitForActiveShards"];- Specified by:
getWaitForActiveShardsin interfaceUpdateDocumentRequestOrBuilder- Returns:
- The waitForActiveShards.
-
setWaitForActiveShards
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
optional .WaitForActiveShards wait_for_active_shards = 14 [json_name = "waitForActiveShards"]; -
clearWaitForActiveShards
optional .WaitForActiveShards wait_for_active_shards = 14 [json_name = "waitForActiveShards"]; -
getWaitForActiveShardsBuilder
optional .WaitForActiveShards wait_for_active_shards = 14 [json_name = "waitForActiveShards"]; -
getWaitForActiveShardsOrBuilder
optional .WaitForActiveShards wait_for_active_shards = 14 [json_name = "waitForActiveShards"];- Specified by:
getWaitForActiveShardsOrBuilderin interfaceUpdateDocumentRequestOrBuilder
-
hasRequestBody
public boolean hasRequestBody().UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];- Specified by:
hasRequestBodyin interfaceUpdateDocumentRequestOrBuilder- Returns:
- Whether the requestBody field is set.
-
getRequestBody
.UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];- Specified by:
getRequestBodyin interfaceUpdateDocumentRequestOrBuilder- 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
.UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"]; -
getRequestBodyBuilder
.UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"]; -
getRequestBodyOrBuilder
.UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];- Specified by:
getRequestBodyOrBuilderin interfaceUpdateDocumentRequestOrBuilder
-
hasSourceType
public boolean hasSourceType()optional .SourceType source_type = 16 [json_name = "sourceType"];- Specified by:
hasSourceTypein interfaceUpdateDocumentRequestOrBuilder- Returns:
- Whether the sourceType field is set.
-
getSourceTypeValue
public int getSourceTypeValue()optional .SourceType source_type = 16 [json_name = "sourceType"];- Specified by:
getSourceTypeValuein interfaceUpdateDocumentRequestOrBuilder- Returns:
- The enum numeric value on the wire for sourceType.
-
setSourceTypeValue
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
optional .SourceType source_type = 16 [json_name = "sourceType"];- Specified by:
getSourceTypein interfaceUpdateDocumentRequestOrBuilder- Returns:
- The sourceType.
-
setSourceType
optional .SourceType source_type = 16 [json_name = "sourceType"];- Parameters:
value- The sourceType to set.- Returns:
- This builder for chaining.
-
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
-
mergeUnknownFields
public final UpdateDocumentRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateDocumentRequest.Builder>
-