Interface BulkRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BulkRequest, BulkRequest.Builder

public interface BulkRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getBulkRequestBody(int index)
    repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
    int
    repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
    repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
    repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
    repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
    optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];
    optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];
    optional string index = 1 [json_name = "index"];
    com.google.protobuf.ByteString
    optional string index = 1 [json_name = "index"];
    optional string pipeline = 5 [json_name = "pipeline"];
    com.google.protobuf.ByteString
    optional string pipeline = 5 [json_name = "pipeline"];
    optional .org.opensearch.protobufs.Refresh refresh = 6 [json_name = "refresh"];
    int
    optional .org.opensearch.protobufs.Refresh refresh = 6 [json_name = "refresh"];
    boolean
    optional bool require_alias = 7 [json_name = "requireAlias"];
    optional string routing = 8 [json_name = "routing"];
    com.google.protobuf.ByteString
    optional string routing = 8 [json_name = "routing"];
    optional string timeout = 9 [json_name = "timeout"];
    com.google.protobuf.ByteString
    optional string timeout = 9 [json_name = "timeout"];
    optional string type = 10 [json_name = "type"];
    com.google.protobuf.ByteString
    optional 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.SourceConfigParam x_source = 2 [json_name = "xSource"];
    getXSourceExcludes(int index)
    repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];
    com.google.protobuf.ByteString
    repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];
    int
    repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];
    repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];
    getXSourceIncludes(int index)
    repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];
    com.google.protobuf.ByteString
    repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];
    int
    repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];
    repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];
    optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];
    boolean
    optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];
    boolean
    optional string index = 1 [json_name = "index"];
    boolean
    optional string pipeline = 5 [json_name = "pipeline"];
    boolean
    optional .org.opensearch.protobufs.Refresh refresh = 6 [json_name = "refresh"];
    boolean
    optional bool require_alias = 7 [json_name = "requireAlias"];
    boolean
    optional string routing = 8 [json_name = "routing"];
    boolean
    optional string timeout = 9 [json_name = "timeout"];
    boolean
    optional string type = 10 [json_name = "type"];
    boolean
    optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];
    boolean
    optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasIndex

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

      String getIndex()
      optional string index = 1 [json_name = "index"];
      Returns:
      The index.
    • getIndexBytes

      com.google.protobuf.ByteString getIndexBytes()
      optional string index = 1 [json_name = "index"];
      Returns:
      The bytes for index.
    • hasXSource

      boolean hasXSource()
      optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];
      Returns:
      Whether the xSource field is set.
    • getXSource

      SourceConfigParam getXSource()
      optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];
      Returns:
      The xSource.
    • getXSourceOrBuilder

      SourceConfigParamOrBuilder getXSourceOrBuilder()
      optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];
    • getXSourceExcludesList

      List<String> getXSourceExcludesList()
      repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];
      Returns:
      A list containing the xSourceExcludes.
    • getXSourceExcludesCount

      int getXSourceExcludesCount()
      repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];
      Returns:
      The count of xSourceExcludes.
    • getXSourceExcludes

      String getXSourceExcludes(int index)
      repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];
      Parameters:
      index - The index of the element to return.
      Returns:
      The xSourceExcludes at the given index.
    • getXSourceExcludesBytes

      com.google.protobuf.ByteString getXSourceExcludesBytes(int index)
      repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the xSourceExcludes at the given index.
    • getXSourceIncludesList

      List<String> getXSourceIncludesList()
      repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];
      Returns:
      A list containing the xSourceIncludes.
    • getXSourceIncludesCount

      int getXSourceIncludesCount()
      repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];
      Returns:
      The count of xSourceIncludes.
    • getXSourceIncludes

      String getXSourceIncludes(int index)
      repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];
      Parameters:
      index - The index of the element to return.
      Returns:
      The xSourceIncludes at the given index.
    • getXSourceIncludesBytes

      com.google.protobuf.ByteString getXSourceIncludesBytes(int index)
      repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the xSourceIncludes at the given index.
    • hasPipeline

      boolean hasPipeline()
      optional string pipeline = 5 [json_name = "pipeline"];
      Returns:
      Whether the pipeline field is set.
    • getPipeline

      String getPipeline()
      optional string pipeline = 5 [json_name = "pipeline"];
      Returns:
      The pipeline.
    • getPipelineBytes

      com.google.protobuf.ByteString getPipelineBytes()
      optional string pipeline = 5 [json_name = "pipeline"];
      Returns:
      The bytes for pipeline.
    • hasRefresh

      boolean hasRefresh()
      optional .org.opensearch.protobufs.Refresh refresh = 6 [json_name = "refresh"];
      Returns:
      Whether the refresh field is set.
    • getRefreshValue

      int getRefreshValue()
      optional .org.opensearch.protobufs.Refresh refresh = 6 [json_name = "refresh"];
      Returns:
      The enum numeric value on the wire for refresh.
    • getRefresh

      Refresh getRefresh()
      optional .org.opensearch.protobufs.Refresh refresh = 6 [json_name = "refresh"];
      Returns:
      The refresh.
    • hasRequireAlias

      boolean hasRequireAlias()
      optional bool require_alias = 7 [json_name = "requireAlias"];
      Returns:
      Whether the requireAlias field is set.
    • getRequireAlias

      boolean getRequireAlias()
      optional bool require_alias = 7 [json_name = "requireAlias"];
      Returns:
      The requireAlias.
    • hasRouting

      boolean hasRouting()
      optional string routing = 8 [json_name = "routing"];
      Returns:
      Whether the routing field is set.
    • getRouting

      String getRouting()
      optional string routing = 8 [json_name = "routing"];
      Returns:
      The routing.
    • getRoutingBytes

      com.google.protobuf.ByteString getRoutingBytes()
      optional string routing = 8 [json_name = "routing"];
      Returns:
      The bytes for routing.
    • hasTimeout

      boolean hasTimeout()
      optional string timeout = 9 [json_name = "timeout"];
      Returns:
      Whether the timeout field is set.
    • getTimeout

      String getTimeout()
      optional string timeout = 9 [json_name = "timeout"];
      Returns:
      The timeout.
    • getTimeoutBytes

      com.google.protobuf.ByteString getTimeoutBytes()
      optional string timeout = 9 [json_name = "timeout"];
      Returns:
      The bytes for timeout.
    • hasType

      boolean hasType()
      optional string type = 10 [json_name = "type"];
      Returns:
      Whether the type field is set.
    • getType

      String getType()
      optional string type = 10 [json_name = "type"];
      Returns:
      The type.
    • getTypeBytes

      com.google.protobuf.ByteString getTypeBytes()
      optional string type = 10 [json_name = "type"];
      Returns:
      The bytes for type.
    • hasWaitForActiveShards

      boolean hasWaitForActiveShards()
      optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];
      Returns:
      Whether the waitForActiveShards field is set.
    • getWaitForActiveShards

      WaitForActiveShards getWaitForActiveShards()
      optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];
      Returns:
      The waitForActiveShards.
    • getWaitForActiveShardsOrBuilder

      WaitForActiveShardsOrBuilder getWaitForActiveShardsOrBuilder()
      optional .org.opensearch.protobufs.WaitForActiveShards wait_for_active_shards = 11 [json_name = "waitForActiveShards"];
    • getBulkRequestBodyList

      List<BulkRequestBody> getBulkRequestBodyList()
      repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
    • getBulkRequestBody

      BulkRequestBody getBulkRequestBody(int index)
      repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
    • getBulkRequestBodyCount

      int getBulkRequestBodyCount()
      repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
    • getBulkRequestBodyOrBuilderList

      List<? extends BulkRequestBodyOrBuilder> getBulkRequestBodyOrBuilderList()
      repeated .org.opensearch.protobufs.BulkRequestBody bulk_request_body = 12 [json_name = "bulkRequestBody"];
    • getBulkRequestBodyOrBuilder

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

      boolean hasGlobalParams()
      optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];
      Returns:
      Whether the globalParams field is set.
    • getGlobalParams

      GlobalParams getGlobalParams()
      optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];
      Returns:
      The globalParams.
    • getGlobalParamsOrBuilder

      GlobalParamsOrBuilder getGlobalParamsOrBuilder()
      optional .org.opensearch.protobufs.GlobalParams global_params = 13 [json_name = "globalParams"];