Interface IndexDocumentRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    bytes bytes_request_body = 15 [json_name = "bytesRequestBody"];
    optional string id = 1 [json_name = "id"];
    com.google.protobuf.ByteString
    optional string id = 1 [json_name = "id"];
    long
    optional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];
    long
    optional int64 if_seq_no = 4 [json_name = "ifSeqNo"];
    optional string index = 2 [json_name = "index"];
    com.google.protobuf.ByteString
    optional string index = 2 [json_name = "index"];
     
    optional .OpType op_type = 5 [json_name = "opType"];
    int
    optional .OpType op_type = 5 [json_name = "opType"];
    optional string pipeline = 6 [json_name = "pipeline"];
    com.google.protobuf.ByteString
    optional string pipeline = 6 [json_name = "pipeline"];
    optional .Refresh refresh = 7 [json_name = "refresh"];
    int
    optional .Refresh refresh = 7 [json_name = "refresh"];
    .ObjectMap request_body = 14 [json_name = "requestBody"];
    .ObjectMap request_body = 14 [json_name = "requestBody"];
    boolean
    optional bool require_alias = 8 [json_name = "requireAlias"];
    optional string routing = 9 [json_name = "routing"];
    com.google.protobuf.ByteString
    optional string routing = 9 [json_name = "routing"];
    optional .SourceType source_type = 16 [json_name = "sourceType"];
    int
    optional .SourceType source_type = 16 [json_name = "sourceType"];
    optional string timeout = 10 [json_name = "timeout"];
    com.google.protobuf.ByteString
    optional string timeout = 10 [json_name = "timeout"];
    long
    optional int64 version = 11 [json_name = "version"];
    optional .VersionType version_type = 12 [json_name = "versionType"];
    int
    optional .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"];
    boolean
    bytes bytes_request_body = 15 [json_name = "bytesRequestBody"];
    boolean
    optional string id = 1 [json_name = "id"];
    boolean
    optional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];
    boolean
    optional int64 if_seq_no = 4 [json_name = "ifSeqNo"];
    boolean
    optional string index = 2 [json_name = "index"];
    boolean
    optional .OpType op_type = 5 [json_name = "opType"];
    boolean
    optional string pipeline = 6 [json_name = "pipeline"];
    boolean
    optional .Refresh refresh = 7 [json_name = "refresh"];
    boolean
    .ObjectMap request_body = 14 [json_name = "requestBody"];
    boolean
    optional bool require_alias = 8 [json_name = "requireAlias"];
    boolean
    optional string routing = 9 [json_name = "routing"];
    boolean
    optional .SourceType source_type = 16 [json_name = "sourceType"];
    boolean
    optional string timeout = 10 [json_name = "timeout"];
    boolean
    optional int64 version = 11 [json_name = "version"];
    boolean
    optional .VersionType version_type = 12 [json_name = "versionType"];
    boolean
    optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];

    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

    • hasId

      boolean hasId()
      optional string id = 1 [json_name = "id"];
      Returns:
      Whether the id field is set.
    • getId

      String getId()
      optional string id = 1 [json_name = "id"];
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
      optional string id = 1 [json_name = "id"];
      Returns:
      The bytes for id.
    • hasIndex

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

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

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

      boolean hasIfPrimaryTerm()
      optional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];
      Returns:
      Whether the ifPrimaryTerm field is set.
    • getIfPrimaryTerm

      long getIfPrimaryTerm()
      optional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];
      Returns:
      The ifPrimaryTerm.
    • hasIfSeqNo

      boolean hasIfSeqNo()
      optional int64 if_seq_no = 4 [json_name = "ifSeqNo"];
      Returns:
      Whether the ifSeqNo field is set.
    • getIfSeqNo

      long getIfSeqNo()
      optional int64 if_seq_no = 4 [json_name = "ifSeqNo"];
      Returns:
      The ifSeqNo.
    • hasOpType

      boolean hasOpType()
      optional .OpType op_type = 5 [json_name = "opType"];
      Returns:
      Whether the opType field is set.
    • getOpTypeValue

      int getOpTypeValue()
      optional .OpType op_type = 5 [json_name = "opType"];
      Returns:
      The enum numeric value on the wire for opType.
    • getOpType

      OpType getOpType()
      optional .OpType op_type = 5 [json_name = "opType"];
      Returns:
      The opType.
    • hasPipeline

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

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

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

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

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

      Refresh getRefresh()
      optional .Refresh refresh = 7 [json_name = "refresh"];
      Returns:
      The refresh.
    • hasRequireAlias

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

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

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

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

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

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

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

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

      boolean hasVersion()
      optional int64 version = 11 [json_name = "version"];
      Returns:
      Whether the version field is set.
    • getVersion

      long getVersion()
      optional int64 version = 11 [json_name = "version"];
      Returns:
      The version.
    • hasVersionType

      boolean hasVersionType()
      optional .VersionType version_type = 12 [json_name = "versionType"];
      Returns:
      Whether the versionType field is set.
    • getVersionTypeValue

      int getVersionTypeValue()
      optional .VersionType version_type = 12 [json_name = "versionType"];
      Returns:
      The enum numeric value on the wire for versionType.
    • getVersionType

      VersionType getVersionType()
      optional .VersionType version_type = 12 [json_name = "versionType"];
      Returns:
      The versionType.
    • hasWaitForActiveShards

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

      WaitForActiveShards getWaitForActiveShards()
      optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];
      Returns:
      The waitForActiveShards.
    • getWaitForActiveShardsOrBuilder

      WaitForActiveShardsOrBuilder getWaitForActiveShardsOrBuilder()
      optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];
    • hasRequestBody

      boolean hasRequestBody()
      .ObjectMap request_body = 14 [json_name = "requestBody"];
      Returns:
      Whether the requestBody field is set.
    • getRequestBody

      ObjectMap getRequestBody()
      .ObjectMap request_body = 14 [json_name = "requestBody"];
      Returns:
      The requestBody.
    • getRequestBodyOrBuilder

      ObjectMapOrBuilder getRequestBodyOrBuilder()
      .ObjectMap request_body = 14 [json_name = "requestBody"];
    • hasBytesRequestBody

      boolean hasBytesRequestBody()
      bytes bytes_request_body = 15 [json_name = "bytesRequestBody"];
      Returns:
      Whether the bytesRequestBody field is set.
    • getBytesRequestBody

      com.google.protobuf.ByteString getBytesRequestBody()
      bytes bytes_request_body = 15 [json_name = "bytesRequestBody"];
      Returns:
      The bytesRequestBody.
    • hasSourceType

      boolean hasSourceType()
      optional .SourceType source_type = 16 [json_name = "sourceType"];
      Returns:
      Whether the sourceType field is set.
    • getSourceTypeValue

      int getSourceTypeValue()
      optional .SourceType source_type = 16 [json_name = "sourceType"];
      Returns:
      The enum numeric value on the wire for sourceType.
    • getSourceType

      SourceType getSourceType()
      optional .SourceType source_type = 16 [json_name = "sourceType"];
      Returns:
      The sourceType.
    • getIndexDocumentRequestRequestBodyCase

      IndexDocumentRequest.IndexDocumentRequestRequestBodyCase getIndexDocumentRequestRequestBodyCase()