Package org.opensearch.protobufs
Class BulkRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BulkRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<BulkRequest.Builder>
org.opensearch.protobufs.BulkRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,BulkRequestOrBuilder
- Enclosing class:
BulkRequest
public static final class BulkRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<BulkRequest.Builder>
implements BulkRequestOrBuilder
Protobuf type
org.opensearch.protobufs.BulkRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllBulkRequestBody(Iterable<? extends BulkRequestBody> values) repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];addAllXSourceExcludes(Iterable<String> values) repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];addAllXSourceIncludes(Iterable<String> values) repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];addBulkRequestBody(int index, BulkRequestBody value) repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];addBulkRequestBody(int index, BulkRequestBody.Builder builderForValue) repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];addBulkRequestBody(BulkRequestBody.Builder builderForValue) repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];addBulkRequestBodyBuilder(int index) repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addXSourceExcludes(String value) repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];addXSourceExcludesBytes(com.google.protobuf.ByteString value) repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];addXSourceIncludes(String value) repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];addXSourceIncludesBytes(com.google.protobuf.ByteString value) repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];build()clear()repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];clearField(com.google.protobuf.Descriptors.FieldDescriptor field) optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];optional string index = 1 [json_name = "index"];clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional string pipeline = 5 [json_name = "pipeline"];optional .org.opensearch.protobufs.Refresh refresh = 6 [json_name = "refresh"];optional bool require_alias = 7 [json_name = "requireAlias"];optional string routing = 8 [json_name = "routing"];optional string timeout = 9 [json_name = "timeout"];optional string type = 10 [json_name = "type"];optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];clone()getBulkRequestBody(int index) repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];getBulkRequestBodyBuilder(int index) repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];intrepeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];getBulkRequestBodyOrBuilder(int index) repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];List<? extends BulkRequestBodyOrBuilder> repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptoroptional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];getIndex()optional string index = 1 [json_name = "index"];com.google.protobuf.ByteStringoptional string index = 1 [json_name = "index"];optional string pipeline = 5 [json_name = "pipeline"];com.google.protobuf.ByteStringoptional string pipeline = 5 [json_name = "pipeline"];optional .org.opensearch.protobufs.Refresh refresh = 6 [json_name = "refresh"];intoptional .org.opensearch.protobufs.Refresh refresh = 6 [json_name = "refresh"];booleanoptional bool require_alias = 7 [json_name = "requireAlias"];optional string routing = 8 [json_name = "routing"];com.google.protobuf.ByteStringoptional string routing = 8 [json_name = "routing"];optional string timeout = 9 [json_name = "timeout"];com.google.protobuf.ByteStringoptional string timeout = 9 [json_name = "timeout"];getType()optional string type = 10 [json_name = "type"];com.google.protobuf.ByteStringoptional string type = 10 [json_name = "type"];optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];getXSourceExcludes(int index) repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];com.google.protobuf.ByteStringgetXSourceExcludesBytes(int index) repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];intrepeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];com.google.protobuf.ProtocolStringListrepeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];getXSourceIncludes(int index) repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];com.google.protobuf.ByteStringgetXSourceIncludesBytes(int index) repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];intrepeated string x_source_includes = 4 [json_name = "xSourceIncludes"];com.google.protobuf.ProtocolStringListrepeated string x_source_includes = 4 [json_name = "xSourceIncludes"];optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];booleanoptional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];booleanhasIndex()optional string index = 1 [json_name = "index"];booleanoptional string pipeline = 5 [json_name = "pipeline"];booleanoptional .org.opensearch.protobufs.Refresh refresh = 6 [json_name = "refresh"];booleanoptional bool require_alias = 7 [json_name = "requireAlias"];booleanoptional string routing = 8 [json_name = "routing"];booleanoptional string timeout = 9 [json_name = "timeout"];booleanhasType()optional string type = 10 [json_name = "type"];booleanoptional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];booleanoptional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [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(BulkRequest other) mergeGlobalParams(GlobalParams value) optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];final BulkRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];mergeXSource(SourceConfigParam value) optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];removeBulkRequestBody(int index) repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];setBulkRequestBody(int index, BulkRequestBody value) repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];setBulkRequestBody(int index, BulkRequestBody.Builder builderForValue) repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];setGlobalParams(GlobalParams value) optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];setGlobalParams(GlobalParams.Builder builderForValue) optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];optional string index = 1 [json_name = "index"];setIndexBytes(com.google.protobuf.ByteString value) optional string index = 1 [json_name = "index"];setPipeline(String value) optional string pipeline = 5 [json_name = "pipeline"];setPipelineBytes(com.google.protobuf.ByteString value) optional string pipeline = 5 [json_name = "pipeline"];setRefresh(Refresh value) optional .org.opensearch.protobufs.Refresh refresh = 6 [json_name = "refresh"];setRefreshValue(int value) optional .org.opensearch.protobufs.Refresh refresh = 6 [json_name = "refresh"];setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequireAlias(boolean value) optional bool require_alias = 7 [json_name = "requireAlias"];setRouting(String value) optional string routing = 8 [json_name = "routing"];setRoutingBytes(com.google.protobuf.ByteString value) optional string routing = 8 [json_name = "routing"];setTimeout(String value) optional string timeout = 9 [json_name = "timeout"];setTimeoutBytes(com.google.protobuf.ByteString value) optional string timeout = 9 [json_name = "timeout"];optional string type = 10 [json_name = "type"];setTypeBytes(com.google.protobuf.ByteString value) optional string type = 10 [json_name = "type"];final BulkRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];setWaitForActiveShards(WaitForActiveShards.Builder builderForValue) optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];setXSource(SourceConfigParam value) optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];setXSource(SourceConfigParam.Builder builderForValue) optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];setXSourceExcludes(int index, String value) repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];setXSourceIncludes(int index, String value) repeated string x_source_includes = 4 [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<BulkRequest.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<BulkRequest.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<BulkRequest.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<BulkRequest.Builder>
-
setField
public BulkRequest.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<BulkRequest.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BulkRequest.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BulkRequest.Builder>
-
setRepeatedField
public BulkRequest.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<BulkRequest.Builder>
-
addRepeatedField
public BulkRequest.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<BulkRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BulkRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BulkRequest.Builder>
-
mergeFrom
public BulkRequest.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<BulkRequest.Builder>- Throws:
IOException
-
hasIndex
public boolean hasIndex()optional string index = 1 [json_name = "index"];- Specified by:
hasIndexin interfaceBulkRequestOrBuilder- Returns:
- Whether the index field is set.
-
getIndex
optional string index = 1 [json_name = "index"];- Specified by:
getIndexin interfaceBulkRequestOrBuilder- Returns:
- The index.
-
getIndexBytes
public com.google.protobuf.ByteString getIndexBytes()optional string index = 1 [json_name = "index"];- Specified by:
getIndexBytesin interfaceBulkRequestOrBuilder- Returns:
- The bytes for index.
-
setIndex
optional string index = 1 [json_name = "index"];- Parameters:
value- The index to set.- Returns:
- This builder for chaining.
-
clearIndex
optional string index = 1 [json_name = "index"];- Returns:
- This builder for chaining.
-
setIndexBytes
optional string index = 1 [json_name = "index"];- Parameters:
value- The bytes for index to set.- Returns:
- This builder for chaining.
-
hasXSource
public boolean hasXSource()optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];- Specified by:
hasXSourcein interfaceBulkRequestOrBuilder- Returns:
- Whether the xSource field is set.
-
getXSource
optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];- Specified by:
getXSourcein interfaceBulkRequestOrBuilder- Returns:
- The xSource.
-
setXSource
optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"]; -
setXSource
optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"]; -
mergeXSource
optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"]; -
clearXSource
optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"]; -
getXSourceBuilder
optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"]; -
getXSourceOrBuilder
optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];- Specified by:
getXSourceOrBuilderin interfaceBulkRequestOrBuilder
-
getXSourceExcludesList
public com.google.protobuf.ProtocolStringList getXSourceExcludesList()repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];- Specified by:
getXSourceExcludesListin interfaceBulkRequestOrBuilder- Returns:
- A list containing the xSourceExcludes.
-
getXSourceExcludesCount
public int getXSourceExcludesCount()repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];- Specified by:
getXSourceExcludesCountin interfaceBulkRequestOrBuilder- Returns:
- The count of xSourceExcludes.
-
getXSourceExcludes
repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];- Specified by:
getXSourceExcludesin interfaceBulkRequestOrBuilder- 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 = 3 [json_name = "xSourceExcludes"];- Specified by:
getXSourceExcludesBytesin interfaceBulkRequestOrBuilder- 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 = 3 [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 = 3 [json_name = "xSourceExcludes"];- Parameters:
value- The xSourceExcludes to add.- Returns:
- This builder for chaining.
-
addAllXSourceExcludes
repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];- Parameters:
values- The xSourceExcludes to add.- Returns:
- This builder for chaining.
-
clearXSourceExcludes
repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];- Returns:
- This builder for chaining.
-
addXSourceExcludesBytes
repeated string x_source_excludes = 3 [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 = 4 [json_name = "xSourceIncludes"];- Specified by:
getXSourceIncludesListin interfaceBulkRequestOrBuilder- Returns:
- A list containing the xSourceIncludes.
-
getXSourceIncludesCount
public int getXSourceIncludesCount()repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];- Specified by:
getXSourceIncludesCountin interfaceBulkRequestOrBuilder- Returns:
- The count of xSourceIncludes.
-
getXSourceIncludes
repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];- Specified by:
getXSourceIncludesin interfaceBulkRequestOrBuilder- 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 = 4 [json_name = "xSourceIncludes"];- Specified by:
getXSourceIncludesBytesin interfaceBulkRequestOrBuilder- 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 = 4 [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 = 4 [json_name = "xSourceIncludes"];- Parameters:
value- The xSourceIncludes to add.- Returns:
- This builder for chaining.
-
addAllXSourceIncludes
repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];- Parameters:
values- The xSourceIncludes to add.- Returns:
- This builder for chaining.
-
clearXSourceIncludes
repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];- Returns:
- This builder for chaining.
-
addXSourceIncludesBytes
repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];- Parameters:
value- The bytes of the xSourceIncludes to add.- Returns:
- This builder for chaining.
-
hasPipeline
public boolean hasPipeline()optional string pipeline = 5 [json_name = "pipeline"];- Specified by:
hasPipelinein interfaceBulkRequestOrBuilder- Returns:
- Whether the pipeline field is set.
-
getPipeline
optional string pipeline = 5 [json_name = "pipeline"];- Specified by:
getPipelinein interfaceBulkRequestOrBuilder- Returns:
- The pipeline.
-
getPipelineBytes
public com.google.protobuf.ByteString getPipelineBytes()optional string pipeline = 5 [json_name = "pipeline"];- Specified by:
getPipelineBytesin interfaceBulkRequestOrBuilder- Returns:
- The bytes for pipeline.
-
setPipeline
optional string pipeline = 5 [json_name = "pipeline"];- Parameters:
value- The pipeline to set.- Returns:
- This builder for chaining.
-
clearPipeline
optional string pipeline = 5 [json_name = "pipeline"];- Returns:
- This builder for chaining.
-
setPipelineBytes
optional string pipeline = 5 [json_name = "pipeline"];- Parameters:
value- The bytes for pipeline to set.- Returns:
- This builder for chaining.
-
hasRefresh
public boolean hasRefresh()optional .org.opensearch.protobufs.Refresh refresh = 6 [json_name = "refresh"];- Specified by:
hasRefreshin interfaceBulkRequestOrBuilder- Returns:
- Whether the refresh field is set.
-
getRefreshValue
public int getRefreshValue()optional .org.opensearch.protobufs.Refresh refresh = 6 [json_name = "refresh"];- Specified by:
getRefreshValuein interfaceBulkRequestOrBuilder- Returns:
- The enum numeric value on the wire for refresh.
-
setRefreshValue
optional .org.opensearch.protobufs.Refresh refresh = 6 [json_name = "refresh"];- Parameters:
value- The enum numeric value on the wire for refresh to set.- Returns:
- This builder for chaining.
-
getRefresh
optional .org.opensearch.protobufs.Refresh refresh = 6 [json_name = "refresh"];- Specified by:
getRefreshin interfaceBulkRequestOrBuilder- Returns:
- The refresh.
-
setRefresh
optional .org.opensearch.protobufs.Refresh refresh = 6 [json_name = "refresh"];- Parameters:
value- The refresh to set.- Returns:
- This builder for chaining.
-
clearRefresh
optional .org.opensearch.protobufs.Refresh refresh = 6 [json_name = "refresh"];- Returns:
- This builder for chaining.
-
hasRequireAlias
public boolean hasRequireAlias()optional bool require_alias = 7 [json_name = "requireAlias"];- Specified by:
hasRequireAliasin interfaceBulkRequestOrBuilder- Returns:
- Whether the requireAlias field is set.
-
getRequireAlias
public boolean getRequireAlias()optional bool require_alias = 7 [json_name = "requireAlias"];- Specified by:
getRequireAliasin interfaceBulkRequestOrBuilder- Returns:
- The requireAlias.
-
setRequireAlias
optional bool require_alias = 7 [json_name = "requireAlias"];- Parameters:
value- The requireAlias to set.- Returns:
- This builder for chaining.
-
clearRequireAlias
optional bool require_alias = 7 [json_name = "requireAlias"];- Returns:
- This builder for chaining.
-
hasRouting
public boolean hasRouting()optional string routing = 8 [json_name = "routing"];- Specified by:
hasRoutingin interfaceBulkRequestOrBuilder- Returns:
- Whether the routing field is set.
-
getRouting
optional string routing = 8 [json_name = "routing"];- Specified by:
getRoutingin interfaceBulkRequestOrBuilder- Returns:
- The routing.
-
getRoutingBytes
public com.google.protobuf.ByteString getRoutingBytes()optional string routing = 8 [json_name = "routing"];- Specified by:
getRoutingBytesin interfaceBulkRequestOrBuilder- Returns:
- The bytes for routing.
-
setRouting
optional string routing = 8 [json_name = "routing"];- Parameters:
value- The routing to set.- Returns:
- This builder for chaining.
-
clearRouting
optional string routing = 8 [json_name = "routing"];- Returns:
- This builder for chaining.
-
setRoutingBytes
optional string routing = 8 [json_name = "routing"];- Parameters:
value- The bytes for routing to set.- Returns:
- This builder for chaining.
-
hasTimeout
public boolean hasTimeout()optional string timeout = 9 [json_name = "timeout"];- Specified by:
hasTimeoutin interfaceBulkRequestOrBuilder- Returns:
- Whether the timeout field is set.
-
getTimeout
optional string timeout = 9 [json_name = "timeout"];- Specified by:
getTimeoutin interfaceBulkRequestOrBuilder- Returns:
- The timeout.
-
getTimeoutBytes
public com.google.protobuf.ByteString getTimeoutBytes()optional string timeout = 9 [json_name = "timeout"];- Specified by:
getTimeoutBytesin interfaceBulkRequestOrBuilder- Returns:
- The bytes for timeout.
-
setTimeout
optional string timeout = 9 [json_name = "timeout"];- Parameters:
value- The timeout to set.- Returns:
- This builder for chaining.
-
clearTimeout
optional string timeout = 9 [json_name = "timeout"];- Returns:
- This builder for chaining.
-
setTimeoutBytes
optional string timeout = 9 [json_name = "timeout"];- Parameters:
value- The bytes for timeout to set.- Returns:
- This builder for chaining.
-
hasType
public boolean hasType()optional string type = 10 [json_name = "type"];- Specified by:
hasTypein interfaceBulkRequestOrBuilder- Returns:
- Whether the type field is set.
-
getType
optional string type = 10 [json_name = "type"];- Specified by:
getTypein interfaceBulkRequestOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()optional string type = 10 [json_name = "type"];- Specified by:
getTypeBytesin interfaceBulkRequestOrBuilder- Returns:
- The bytes for type.
-
setType
optional string type = 10 [json_name = "type"];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
optional string type = 10 [json_name = "type"];- Returns:
- This builder for chaining.
-
setTypeBytes
optional string type = 10 [json_name = "type"];- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
hasWaitForActiveShards
public boolean hasWaitForActiveShards()optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];- Specified by:
hasWaitForActiveShardsin interfaceBulkRequestOrBuilder- Returns:
- Whether the waitForActiveShards field is set.
-
getWaitForActiveShards
optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];- Specified by:
getWaitForActiveShardsin interfaceBulkRequestOrBuilder- Returns:
- The waitForActiveShards.
-
setWaitForActiveShards
optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"]; -
setWaitForActiveShards
optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"]; -
mergeWaitForActiveShards
optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"]; -
clearWaitForActiveShards
optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"]; -
getWaitForActiveShardsBuilder
optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"]; -
getWaitForActiveShardsOrBuilder
optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];- Specified by:
getWaitForActiveShardsOrBuilderin interfaceBulkRequestOrBuilder
-
getBulkRequestBodyList
repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];- Specified by:
getBulkRequestBodyListin interfaceBulkRequestOrBuilder
-
getBulkRequestBodyCount
public int getBulkRequestBodyCount()repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];- Specified by:
getBulkRequestBodyCountin interfaceBulkRequestOrBuilder
-
getBulkRequestBody
repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];- Specified by:
getBulkRequestBodyin interfaceBulkRequestOrBuilder
-
setBulkRequestBody
repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"]; -
setBulkRequestBody
repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"]; -
addBulkRequestBody
repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"]; -
addBulkRequestBody
repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"]; -
addBulkRequestBody
repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"]; -
addBulkRequestBody
repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"]; -
addAllBulkRequestBody
repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"]; -
clearBulkRequestBody
repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"]; -
removeBulkRequestBody
repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"]; -
getBulkRequestBodyBuilder
repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"]; -
getBulkRequestBodyOrBuilder
repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];- Specified by:
getBulkRequestBodyOrBuilderin interfaceBulkRequestOrBuilder
-
getBulkRequestBodyOrBuilderList
repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];- Specified by:
getBulkRequestBodyOrBuilderListin interfaceBulkRequestOrBuilder
-
addBulkRequestBodyBuilder
repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"]; -
addBulkRequestBodyBuilder
repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"]; -
getBulkRequestBodyBuilderList
repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"]; -
hasGlobalParams
public boolean hasGlobalParams()optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];- Specified by:
hasGlobalParamsin interfaceBulkRequestOrBuilder- Returns:
- Whether the globalParams field is set.
-
getGlobalParams
optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];- Specified by:
getGlobalParamsin interfaceBulkRequestOrBuilder- Returns:
- The globalParams.
-
setGlobalParams
optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"]; -
setGlobalParams
optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"]; -
mergeGlobalParams
optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"]; -
clearGlobalParams
optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"]; -
getGlobalParamsBuilder
optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"]; -
getGlobalParamsOrBuilder
optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];- Specified by:
getGlobalParamsOrBuilderin interfaceBulkRequestOrBuilder
-
setUnknownFields
public final BulkRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BulkRequest.Builder>
-
mergeUnknownFields
public final BulkRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BulkRequest.Builder>
-