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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BulkRequest.Builder>
    • clear

      public BulkRequest.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<BulkRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BulkRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public BulkRequest.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<BulkRequest.Builder>
    • setField

      public BulkRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<BulkRequest.Builder>
    • clearField

      public BulkRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<BulkRequest.Builder>
    • clearOneof

      public BulkRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BulkRequest.Builder>
    • setRepeatedField

      public BulkRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BulkRequest.Builder>
    • addRepeatedField

      public BulkRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BulkRequest.Builder>
    • mergeFrom

      public BulkRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BulkRequest.Builder>
    • mergeFrom

      public BulkRequest.Builder mergeFrom(BulkRequest other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BulkRequest.Builder>
      Throws:
      IOException
    • hasIndex

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

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

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

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

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

      public BulkRequest.Builder setIndexBytes(com.google.protobuf.ByteString value)
      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:
      hasXSource in interface BulkRequestOrBuilder
      Returns:
      Whether the xSource field is set.
    • getXSource

      public SourceConfigParam getXSource()
      optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];
      Specified by:
      getXSource in interface BulkRequestOrBuilder
      Returns:
      The xSource.
    • setXSource

      public BulkRequest.Builder setXSource(SourceConfigParam value)
      optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];
    • setXSource

      public BulkRequest.Builder setXSource(SourceConfigParam.Builder builderForValue)
      optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];
    • mergeXSource

      public BulkRequest.Builder mergeXSource(SourceConfigParam value)
      optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];
    • clearXSource

      public BulkRequest.Builder clearXSource()
      optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];
    • getXSourceBuilder

      public SourceConfigParam.Builder getXSourceBuilder()
      optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];
    • getXSourceOrBuilder

      public SourceConfigParamOrBuilder getXSourceOrBuilder()
      optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];
      Specified by:
      getXSourceOrBuilder in interface BulkRequestOrBuilder
    • getXSourceExcludesList

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

      public int getXSourceExcludesCount()
      repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];
      Specified by:
      getXSourceExcludesCount in interface BulkRequestOrBuilder
      Returns:
      The count of xSourceExcludes.
    • getXSourceExcludes

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

      public BulkRequest.Builder setXSourceExcludes(int index, String value)
      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

      public BulkRequest.Builder addXSourceExcludes(String value)
      repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];
      Parameters:
      value - The xSourceExcludes to add.
      Returns:
      This builder for chaining.
    • addAllXSourceExcludes

      public BulkRequest.Builder addAllXSourceExcludes(Iterable<String> values)
      repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];
      Parameters:
      values - The xSourceExcludes to add.
      Returns:
      This builder for chaining.
    • clearXSourceExcludes

      public BulkRequest.Builder clearXSourceExcludes()
      repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];
      Returns:
      This builder for chaining.
    • addXSourceExcludesBytes

      public BulkRequest.Builder addXSourceExcludesBytes(com.google.protobuf.ByteString value)
      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:
      getXSourceIncludesList in interface BulkRequestOrBuilder
      Returns:
      A list containing the xSourceIncludes.
    • getXSourceIncludesCount

      public int getXSourceIncludesCount()
      repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];
      Specified by:
      getXSourceIncludesCount in interface BulkRequestOrBuilder
      Returns:
      The count of xSourceIncludes.
    • getXSourceIncludes

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

      public BulkRequest.Builder setXSourceIncludes(int index, String value)
      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

      public BulkRequest.Builder addXSourceIncludes(String value)
      repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];
      Parameters:
      value - The xSourceIncludes to add.
      Returns:
      This builder for chaining.
    • addAllXSourceIncludes

      public BulkRequest.Builder addAllXSourceIncludes(Iterable<String> values)
      repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];
      Parameters:
      values - The xSourceIncludes to add.
      Returns:
      This builder for chaining.
    • clearXSourceIncludes

      public BulkRequest.Builder clearXSourceIncludes()
      repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];
      Returns:
      This builder for chaining.
    • addXSourceIncludesBytes

      public BulkRequest.Builder addXSourceIncludesBytes(com.google.protobuf.ByteString value)
      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:
      hasPipeline in interface BulkRequestOrBuilder
      Returns:
      Whether the pipeline field is set.
    • getPipeline

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

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

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

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

      public BulkRequest.Builder setPipelineBytes(com.google.protobuf.ByteString value)
      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:
      hasRefresh in interface BulkRequestOrBuilder
      Returns:
      Whether the refresh field is set.
    • getRefreshValue

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

      public BulkRequest.Builder setRefreshValue(int value)
      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

      public Refresh getRefresh()
      optional .org.opensearch.protobufs.Refresh refresh = 6 [json_name = "refresh"];
      Specified by:
      getRefresh in interface BulkRequestOrBuilder
      Returns:
      The refresh.
    • setRefresh

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

      public BulkRequest.Builder 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:
      hasRequireAlias in interface BulkRequestOrBuilder
      Returns:
      Whether the requireAlias field is set.
    • getRequireAlias

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

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

      public BulkRequest.Builder 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:
      hasRouting in interface BulkRequestOrBuilder
      Returns:
      Whether the routing field is set.
    • getRouting

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

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

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

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

      public BulkRequest.Builder setRoutingBytes(com.google.protobuf.ByteString value)
      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:
      hasTimeout in interface BulkRequestOrBuilder
      Returns:
      Whether the timeout field is set.
    • getTimeout

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

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

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

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

      public BulkRequest.Builder setTimeoutBytes(com.google.protobuf.ByteString value)
      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:
      hasType in interface BulkRequestOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public String getType()
      optional string type = 10 [json_name = "type"];
      Specified by:
      getType in interface BulkRequestOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
      optional string type = 10 [json_name = "type"];
      Specified by:
      getTypeBytes in interface BulkRequestOrBuilder
      Returns:
      The bytes for type.
    • setType

      public BulkRequest.Builder setType(String value)
      optional string type = 10 [json_name = "type"];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public BulkRequest.Builder clearType()
      optional string type = 10 [json_name = "type"];
      Returns:
      This builder for chaining.
    • setTypeBytes

      public BulkRequest.Builder setTypeBytes(com.google.protobuf.ByteString value)
      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:
      hasWaitForActiveShards in interface BulkRequestOrBuilder
      Returns:
      Whether the waitForActiveShards field is set.
    • getWaitForActiveShards

      public WaitForActiveShards getWaitForActiveShards()
      optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];
      Specified by:
      getWaitForActiveShards in interface BulkRequestOrBuilder
      Returns:
      The waitForActiveShards.
    • setWaitForActiveShards

      public BulkRequest.Builder setWaitForActiveShards(WaitForActiveShards value)
      optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];
    • setWaitForActiveShards

      public BulkRequest.Builder setWaitForActiveShards(WaitForActiveShards.Builder builderForValue)
      optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];
    • mergeWaitForActiveShards

      public BulkRequest.Builder mergeWaitForActiveShards(WaitForActiveShards value)
      optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];
    • clearWaitForActiveShards

      public BulkRequest.Builder clearWaitForActiveShards()
      optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];
    • getWaitForActiveShardsBuilder

      public WaitForActiveShards.Builder getWaitForActiveShardsBuilder()
      optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];
    • getWaitForActiveShardsOrBuilder

      public WaitForActiveShardsOrBuilder getWaitForActiveShardsOrBuilder()
      optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];
      Specified by:
      getWaitForActiveShardsOrBuilder in interface BulkRequestOrBuilder
    • getBulkRequestBodyList

      public List<BulkRequestBody> getBulkRequestBodyList()
      repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
      Specified by:
      getBulkRequestBodyList in interface BulkRequestOrBuilder
    • getBulkRequestBodyCount

      public int getBulkRequestBodyCount()
      repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
      Specified by:
      getBulkRequestBodyCount in interface BulkRequestOrBuilder
    • getBulkRequestBody

      public BulkRequestBody getBulkRequestBody(int index)
      repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
      Specified by:
      getBulkRequestBody in interface BulkRequestOrBuilder
    • setBulkRequestBody

      public BulkRequest.Builder setBulkRequestBody(int index, BulkRequestBody value)
      repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
    • setBulkRequestBody

      public BulkRequest.Builder setBulkRequestBody(int index, BulkRequestBody.Builder builderForValue)
      repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
    • addBulkRequestBody

      public BulkRequest.Builder addBulkRequestBody(BulkRequestBody value)
      repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
    • addBulkRequestBody

      public BulkRequest.Builder addBulkRequestBody(int index, BulkRequestBody value)
      repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
    • addBulkRequestBody

      public BulkRequest.Builder addBulkRequestBody(BulkRequestBody.Builder builderForValue)
      repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
    • addBulkRequestBody

      public BulkRequest.Builder addBulkRequestBody(int index, BulkRequestBody.Builder builderForValue)
      repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
    • addAllBulkRequestBody

      public BulkRequest.Builder addAllBulkRequestBody(Iterable<? extends BulkRequestBody> values)
      repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
    • clearBulkRequestBody

      public BulkRequest.Builder clearBulkRequestBody()
      repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
    • removeBulkRequestBody

      public BulkRequest.Builder removeBulkRequestBody(int index)
      repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
    • getBulkRequestBodyBuilder

      public BulkRequestBody.Builder getBulkRequestBodyBuilder(int index)
      repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
    • getBulkRequestBodyOrBuilder

      public BulkRequestBodyOrBuilder getBulkRequestBodyOrBuilder(int index)
      repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
      Specified by:
      getBulkRequestBodyOrBuilder in interface BulkRequestOrBuilder
    • getBulkRequestBodyOrBuilderList

      public List<? extends BulkRequestBodyOrBuilder> getBulkRequestBodyOrBuilderList()
      repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
      Specified by:
      getBulkRequestBodyOrBuilderList in interface BulkRequestOrBuilder
    • addBulkRequestBodyBuilder

      public BulkRequestBody.Builder addBulkRequestBodyBuilder()
      repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
    • addBulkRequestBodyBuilder

      public BulkRequestBody.Builder addBulkRequestBodyBuilder(int index)
      repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
    • getBulkRequestBodyBuilderList

      public List<BulkRequestBody.Builder> 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:
      hasGlobalParams in interface BulkRequestOrBuilder
      Returns:
      Whether the globalParams field is set.
    • getGlobalParams

      public GlobalParams getGlobalParams()
      optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];
      Specified by:
      getGlobalParams in interface BulkRequestOrBuilder
      Returns:
      The globalParams.
    • setGlobalParams

      public BulkRequest.Builder setGlobalParams(GlobalParams value)
      optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];
    • setGlobalParams

      public BulkRequest.Builder setGlobalParams(GlobalParams.Builder builderForValue)
      optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];
    • mergeGlobalParams

      public BulkRequest.Builder mergeGlobalParams(GlobalParams value)
      optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];
    • clearGlobalParams

      public BulkRequest.Builder clearGlobalParams()
      optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];
    • getGlobalParamsBuilder

      public GlobalParams.Builder getGlobalParamsBuilder()
      optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];
    • getGlobalParamsOrBuilder

      public GlobalParamsOrBuilder getGlobalParamsOrBuilder()
      optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];
      Specified by:
      getGlobalParamsOrBuilder in interface BulkRequestOrBuilder
    • setUnknownFields

      public final BulkRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BulkRequest.Builder>
    • mergeUnknownFields

      public final BulkRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BulkRequest.Builder>