Package org.opensearch.protobufs
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()bytes bytes_request_body = 15 [json_name = "bytesRequestBody"];clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()optional string id = 1 [json_name = "id"];optional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];optional int64 if_seq_no = 4 [json_name = "ifSeqNo"];optional string index = 2 [json_name = "index"];clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional .OpType op_type = 5 [json_name = "opType"];optional string pipeline = 6 [json_name = "pipeline"];optional .Refresh refresh = 7 [json_name = "refresh"];.ObjectMap request_body = 14 [json_name = "requestBody"];optional bool require_alias = 8 [json_name = "requireAlias"];optional string routing = 9 [json_name = "routing"];optional .SourceType source_type = 16 [json_name = "sourceType"];optional string timeout = 10 [json_name = "timeout"];optional int64 version = 11 [json_name = "version"];optional .VersionType version_type = 12 [json_name = "versionType"];optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];clone()com.google.protobuf.ByteStringbytes bytes_request_body = 15 [json_name = "bytesRequestBody"];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 = 3 [json_name = "ifPrimaryTerm"];longoptional int64 if_seq_no = 4 [json_name = "ifSeqNo"];getIndex()optional string index = 2 [json_name = "index"];com.google.protobuf.ByteStringoptional string index = 2 [json_name = "index"];optional .OpType op_type = 5 [json_name = "opType"];intoptional .OpType op_type = 5 [json_name = "opType"];optional string pipeline = 6 [json_name = "pipeline"];com.google.protobuf.ByteStringoptional string pipeline = 6 [json_name = "pipeline"];optional .Refresh refresh = 7 [json_name = "refresh"];intoptional .Refresh refresh = 7 [json_name = "refresh"];.ObjectMap request_body = 14 [json_name = "requestBody"];.ObjectMap request_body = 14 [json_name = "requestBody"];.ObjectMap request_body = 14 [json_name = "requestBody"];booleanoptional bool require_alias = 8 [json_name = "requireAlias"];optional string routing = 9 [json_name = "routing"];com.google.protobuf.ByteStringoptional string routing = 9 [json_name = "routing"];optional .SourceType source_type = 16 [json_name = "sourceType"];intoptional .SourceType source_type = 16 [json_name = "sourceType"];optional string timeout = 10 [json_name = "timeout"];com.google.protobuf.ByteStringoptional string timeout = 10 [json_name = "timeout"];longoptional int64 version = 11 [json_name = "version"];optional .VersionType version_type = 12 [json_name = "versionType"];intoptional .VersionType version_type = 12 [json_name = "versionType"];optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];booleanbytes bytes_request_body = 15 [json_name = "bytesRequestBody"];booleanhasId()optional string id = 1 [json_name = "id"];booleanoptional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];booleanoptional int64 if_seq_no = 4 [json_name = "ifSeqNo"];booleanhasIndex()optional string index = 2 [json_name = "index"];booleanoptional .OpType op_type = 5 [json_name = "opType"];booleanoptional string pipeline = 6 [json_name = "pipeline"];booleanoptional .Refresh refresh = 7 [json_name = "refresh"];boolean.ObjectMap request_body = 14 [json_name = "requestBody"];booleanoptional bool require_alias = 8 [json_name = "requireAlias"];booleanoptional string routing = 9 [json_name = "routing"];booleanoptional .SourceType source_type = 16 [json_name = "sourceType"];booleanoptional string timeout = 10 [json_name = "timeout"];booleanoptional int64 version = 11 [json_name = "version"];booleanoptional .VersionType version_type = 12 [json_name = "versionType"];booleanoptional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(IndexDocumentRequest other) mergeRequestBody(ObjectMap value) .ObjectMap request_body = 14 [json_name = "requestBody"];mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];setBytesRequestBody(com.google.protobuf.ByteString value) bytes bytes_request_body = 15 [json_name = "bytesRequestBody"];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 = 3 [json_name = "ifPrimaryTerm"];setIfSeqNo(long value) optional int64 if_seq_no = 4 [json_name = "ifSeqNo"];optional string index = 2 [json_name = "index"];setIndexBytes(com.google.protobuf.ByteString value) optional string index = 2 [json_name = "index"];optional .OpType op_type = 5 [json_name = "opType"];setOpTypeValue(int value) optional .OpType op_type = 5 [json_name = "opType"];setPipeline(String value) optional string pipeline = 6 [json_name = "pipeline"];setPipelineBytes(com.google.protobuf.ByteString value) optional string pipeline = 6 [json_name = "pipeline"];setRefresh(Refresh value) optional .Refresh refresh = 7 [json_name = "refresh"];setRefreshValue(int value) optional .Refresh refresh = 7 [json_name = "refresh"];setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestBody(ObjectMap value) .ObjectMap request_body = 14 [json_name = "requestBody"];setRequestBody(ObjectMap.Builder builderForValue) .ObjectMap request_body = 14 [json_name = "requestBody"];setRequireAlias(boolean value) optional bool require_alias = 8 [json_name = "requireAlias"];setRouting(String value) optional string routing = 9 [json_name = "routing"];setRoutingBytes(com.google.protobuf.ByteString value) optional string routing = 9 [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 = 10 [json_name = "timeout"];setTimeoutBytes(com.google.protobuf.ByteString value) optional string timeout = 10 [json_name = "timeout"];setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setVersion(long value) optional int64 version = 11 [json_name = "version"];setVersionType(VersionType value) optional .VersionType version_type = 12 [json_name = "versionType"];setVersionTypeValue(int value) optional .VersionType version_type = 12 [json_name = "versionType"];optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];setWaitForActiveShards(WaitForActiveShards.Builder builderForValue) optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];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<IndexDocumentRequest.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<IndexDocumentRequest.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<IndexDocumentRequest.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<IndexDocumentRequest.Builder>
-
setField
public IndexDocumentRequest.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<IndexDocumentRequest.Builder>
-
clearField
public IndexDocumentRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IndexDocumentRequest.Builder>
-
clearOneof
public IndexDocumentRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<IndexDocumentRequest.Builder>
-
setRepeatedField
public IndexDocumentRequest.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<IndexDocumentRequest.Builder>
-
addRepeatedField
public IndexDocumentRequest.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<IndexDocumentRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IndexDocumentRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IndexDocumentRequest.Builder>- Throws:
IOException
-
getIndexDocumentRequestRequestBodyCase
public IndexDocumentRequest.IndexDocumentRequestRequestBodyCase getIndexDocumentRequestRequestBodyCase()- Specified by:
getIndexDocumentRequestRequestBodyCasein interfaceIndexDocumentRequestOrBuilder
-
clearIndexDocumentRequestRequestBody
-
hasId
public boolean hasId()optional string id = 1 [json_name = "id"];- Specified by:
hasIdin interfaceIndexDocumentRequestOrBuilder- Returns:
- Whether the id field is set.
-
getId
optional string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceIndexDocumentRequestOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()optional string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceIndexDocumentRequestOrBuilder- 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 interfaceIndexDocumentRequestOrBuilder- Returns:
- Whether the index field is set.
-
getIndex
optional string index = 2 [json_name = "index"];- Specified by:
getIndexin interfaceIndexDocumentRequestOrBuilder- Returns:
- The index.
-
getIndexBytes
public com.google.protobuf.ByteString getIndexBytes()optional string index = 2 [json_name = "index"];- Specified by:
getIndexBytesin interfaceIndexDocumentRequestOrBuilder- 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.
-
hasIfPrimaryTerm
public boolean hasIfPrimaryTerm()optional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];- Specified by:
hasIfPrimaryTermin interfaceIndexDocumentRequestOrBuilder- Returns:
- Whether the ifPrimaryTerm field is set.
-
getIfPrimaryTerm
public long getIfPrimaryTerm()optional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];- Specified by:
getIfPrimaryTermin interfaceIndexDocumentRequestOrBuilder- Returns:
- The ifPrimaryTerm.
-
setIfPrimaryTerm
optional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];- Parameters:
value- The ifPrimaryTerm to set.- Returns:
- This builder for chaining.
-
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:
hasIfSeqNoin interfaceIndexDocumentRequestOrBuilder- Returns:
- Whether the ifSeqNo field is set.
-
getIfSeqNo
public long getIfSeqNo()optional int64 if_seq_no = 4 [json_name = "ifSeqNo"];- Specified by:
getIfSeqNoin interfaceIndexDocumentRequestOrBuilder- Returns:
- The ifSeqNo.
-
setIfSeqNo
optional int64 if_seq_no = 4 [json_name = "ifSeqNo"];- Parameters:
value- The ifSeqNo to set.- Returns:
- This builder for chaining.
-
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:
hasOpTypein interfaceIndexDocumentRequestOrBuilder- Returns:
- Whether the opType field is set.
-
getOpTypeValue
public int getOpTypeValue()optional .OpType op_type = 5 [json_name = "opType"];- Specified by:
getOpTypeValuein interfaceIndexDocumentRequestOrBuilder- Returns:
- The enum numeric value on the wire for opType.
-
setOpTypeValue
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
optional .OpType op_type = 5 [json_name = "opType"];- Specified by:
getOpTypein interfaceIndexDocumentRequestOrBuilder- Returns:
- The opType.
-
setOpType
optional .OpType op_type = 5 [json_name = "opType"];- Parameters:
value- The opType to set.- Returns:
- This builder for chaining.
-
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:
hasPipelinein interfaceIndexDocumentRequestOrBuilder- Returns:
- Whether the pipeline field is set.
-
getPipeline
optional string pipeline = 6 [json_name = "pipeline"];- Specified by:
getPipelinein interfaceIndexDocumentRequestOrBuilder- Returns:
- The pipeline.
-
getPipelineBytes
public com.google.protobuf.ByteString getPipelineBytes()optional string pipeline = 6 [json_name = "pipeline"];- Specified by:
getPipelineBytesin interfaceIndexDocumentRequestOrBuilder- Returns:
- The bytes for pipeline.
-
setPipeline
optional string pipeline = 6 [json_name = "pipeline"];- Parameters:
value- The pipeline to set.- Returns:
- This builder for chaining.
-
clearPipeline
optional string pipeline = 6 [json_name = "pipeline"];- Returns:
- This builder for chaining.
-
setPipelineBytes
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:
hasRefreshin interfaceIndexDocumentRequestOrBuilder- Returns:
- Whether the refresh field is set.
-
getRefreshValue
public int getRefreshValue()optional .Refresh refresh = 7 [json_name = "refresh"];- Specified by:
getRefreshValuein interfaceIndexDocumentRequestOrBuilder- Returns:
- The enum numeric value on the wire for refresh.
-
setRefreshValue
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
optional .Refresh refresh = 7 [json_name = "refresh"];- Specified by:
getRefreshin interfaceIndexDocumentRequestOrBuilder- Returns:
- The refresh.
-
setRefresh
optional .Refresh refresh = 7 [json_name = "refresh"];- Parameters:
value- The refresh to set.- Returns:
- This builder for chaining.
-
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:
hasRequireAliasin interfaceIndexDocumentRequestOrBuilder- Returns:
- Whether the requireAlias field is set.
-
getRequireAlias
public boolean getRequireAlias()optional bool require_alias = 8 [json_name = "requireAlias"];- Specified by:
getRequireAliasin interfaceIndexDocumentRequestOrBuilder- Returns:
- The requireAlias.
-
setRequireAlias
optional bool require_alias = 8 [json_name = "requireAlias"];- Parameters:
value- The requireAlias to set.- Returns:
- This builder for chaining.
-
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:
hasRoutingin interfaceIndexDocumentRequestOrBuilder- Returns:
- Whether the routing field is set.
-
getRouting
optional string routing = 9 [json_name = "routing"];- Specified by:
getRoutingin interfaceIndexDocumentRequestOrBuilder- Returns:
- The routing.
-
getRoutingBytes
public com.google.protobuf.ByteString getRoutingBytes()optional string routing = 9 [json_name = "routing"];- Specified by:
getRoutingBytesin interfaceIndexDocumentRequestOrBuilder- Returns:
- The bytes for routing.
-
setRouting
optional string routing = 9 [json_name = "routing"];- Parameters:
value- The routing to set.- Returns:
- This builder for chaining.
-
clearRouting
optional string routing = 9 [json_name = "routing"];- Returns:
- This builder for chaining.
-
setRoutingBytes
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:
hasTimeoutin interfaceIndexDocumentRequestOrBuilder- Returns:
- Whether the timeout field is set.
-
getTimeout
optional string timeout = 10 [json_name = "timeout"];- Specified by:
getTimeoutin interfaceIndexDocumentRequestOrBuilder- Returns:
- The timeout.
-
getTimeoutBytes
public com.google.protobuf.ByteString getTimeoutBytes()optional string timeout = 10 [json_name = "timeout"];- Specified by:
getTimeoutBytesin interfaceIndexDocumentRequestOrBuilder- Returns:
- The bytes for timeout.
-
setTimeout
optional string timeout = 10 [json_name = "timeout"];- Parameters:
value- The timeout to set.- Returns:
- This builder for chaining.
-
clearTimeout
optional string timeout = 10 [json_name = "timeout"];- Returns:
- This builder for chaining.
-
setTimeoutBytes
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:
hasVersionin interfaceIndexDocumentRequestOrBuilder- Returns:
- Whether the version field is set.
-
getVersion
public long getVersion()optional int64 version = 11 [json_name = "version"];- Specified by:
getVersionin interfaceIndexDocumentRequestOrBuilder- Returns:
- The version.
-
setVersion
optional int64 version = 11 [json_name = "version"];- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
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:
hasVersionTypein interfaceIndexDocumentRequestOrBuilder- Returns:
- Whether the versionType field is set.
-
getVersionTypeValue
public int getVersionTypeValue()optional .VersionType version_type = 12 [json_name = "versionType"];- Specified by:
getVersionTypeValuein interfaceIndexDocumentRequestOrBuilder- Returns:
- The enum numeric value on the wire for versionType.
-
setVersionTypeValue
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
optional .VersionType version_type = 12 [json_name = "versionType"];- Specified by:
getVersionTypein interfaceIndexDocumentRequestOrBuilder- Returns:
- The versionType.
-
setVersionType
optional .VersionType version_type = 12 [json_name = "versionType"];- Parameters:
value- The versionType to set.- Returns:
- This builder for chaining.
-
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:
hasWaitForActiveShardsin interfaceIndexDocumentRequestOrBuilder- Returns:
- Whether the waitForActiveShards field is set.
-
getWaitForActiveShards
optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];- Specified by:
getWaitForActiveShardsin interfaceIndexDocumentRequestOrBuilder- Returns:
- The waitForActiveShards.
-
setWaitForActiveShards
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
optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"]; -
clearWaitForActiveShards
optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"]; -
getWaitForActiveShardsBuilder
optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"]; -
getWaitForActiveShardsOrBuilder
optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];- Specified by:
getWaitForActiveShardsOrBuilderin interfaceIndexDocumentRequestOrBuilder
-
hasRequestBody
public boolean hasRequestBody().ObjectMap request_body = 14 [json_name = "requestBody"];- Specified by:
hasRequestBodyin interfaceIndexDocumentRequestOrBuilder- Returns:
- Whether the requestBody field is set.
-
getRequestBody
.ObjectMap request_body = 14 [json_name = "requestBody"];- Specified by:
getRequestBodyin interfaceIndexDocumentRequestOrBuilder- Returns:
- The requestBody.
-
setRequestBody
.ObjectMap request_body = 14 [json_name = "requestBody"]; -
setRequestBody
.ObjectMap request_body = 14 [json_name = "requestBody"]; -
mergeRequestBody
.ObjectMap request_body = 14 [json_name = "requestBody"]; -
clearRequestBody
.ObjectMap request_body = 14 [json_name = "requestBody"]; -
getRequestBodyBuilder
.ObjectMap request_body = 14 [json_name = "requestBody"]; -
getRequestBodyOrBuilder
.ObjectMap request_body = 14 [json_name = "requestBody"];- Specified by:
getRequestBodyOrBuilderin interfaceIndexDocumentRequestOrBuilder
-
hasBytesRequestBody
public boolean hasBytesRequestBody()bytes bytes_request_body = 15 [json_name = "bytesRequestBody"];- Specified by:
hasBytesRequestBodyin interfaceIndexDocumentRequestOrBuilder- Returns:
- Whether the bytesRequestBody field is set.
-
getBytesRequestBody
public com.google.protobuf.ByteString getBytesRequestBody()bytes bytes_request_body = 15 [json_name = "bytesRequestBody"];- Specified by:
getBytesRequestBodyin interfaceIndexDocumentRequestOrBuilder- Returns:
- The bytesRequestBody.
-
setBytesRequestBody
bytes bytes_request_body = 15 [json_name = "bytesRequestBody"];- Parameters:
value- The bytesRequestBody to set.- Returns:
- This builder for chaining.
-
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:
hasSourceTypein interfaceIndexDocumentRequestOrBuilder- Returns:
- Whether the sourceType field is set.
-
getSourceTypeValue
public int getSourceTypeValue()optional .SourceType source_type = 16 [json_name = "sourceType"];- Specified by:
getSourceTypeValuein interfaceIndexDocumentRequestOrBuilder- 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 interfaceIndexDocumentRequestOrBuilder- 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 IndexDocumentRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IndexDocumentRequest.Builder>
-
mergeUnknownFields
public final IndexDocumentRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IndexDocumentRequest.Builder>
-