Interface IndexOperationOrBuilder

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

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

    Modifier and Type
    Method
    Description
    long
    optional int64 if_primary_term = 4 [json_name = "ifPrimaryTerm"];
    long
    optional int64 if_seq_no = 5 [json_name = "ifSeqNo"];
    optional .org.opensearch.protobufs.OpType op_type = 6 [json_name = "opType"];
    int
    optional .org.opensearch.protobufs.OpType op_type = 6 [json_name = "opType"];
    optional string pipeline = 9 [json_name = "pipeline"];
    com.google.protobuf.ByteString
    optional string pipeline = 9 [json_name = "pipeline"];
    boolean
    optional bool require_alias = 10 [json_name = "requireAlias"];
    optional string routing = 3 [json_name = "routing"];
    com.google.protobuf.ByteString
    optional string routing = 3 [json_name = "routing"];
    long
    optional int64 version = 7 [json_name = "version"];
    optional .org.opensearch.protobufs.VersionType version_type = 8 [json_name = "versionType"];
    int
    optional .org.opensearch.protobufs.VersionType version_type = 8 [json_name = "versionType"];
    optional string x_id = 1 [json_name = "xId"];
    com.google.protobuf.ByteString
    optional string x_id = 1 [json_name = "xId"];
    optional string x_index = 2 [json_name = "xIndex"];
    com.google.protobuf.ByteString
    optional string x_index = 2 [json_name = "xIndex"];
    boolean
    optional int64 if_primary_term = 4 [json_name = "ifPrimaryTerm"];
    boolean
    optional int64 if_seq_no = 5 [json_name = "ifSeqNo"];
    boolean
    optional .org.opensearch.protobufs.OpType op_type = 6 [json_name = "opType"];
    boolean
    optional string pipeline = 9 [json_name = "pipeline"];
    boolean
    optional bool require_alias = 10 [json_name = "requireAlias"];
    boolean
    optional string routing = 3 [json_name = "routing"];
    boolean
    optional int64 version = 7 [json_name = "version"];
    boolean
    optional .org.opensearch.protobufs.VersionType version_type = 8 [json_name = "versionType"];
    boolean
    optional string x_id = 1 [json_name = "xId"];
    boolean
    optional string x_index = 2 [json_name = "xIndex"];

    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

    • hasXId

      boolean hasXId()
      optional string x_id = 1 [json_name = "xId"];
      Returns:
      Whether the xId field is set.
    • getXId

      String getXId()
      optional string x_id = 1 [json_name = "xId"];
      Returns:
      The xId.
    • getXIdBytes

      com.google.protobuf.ByteString getXIdBytes()
      optional string x_id = 1 [json_name = "xId"];
      Returns:
      The bytes for xId.
    • hasXIndex

      boolean hasXIndex()
      optional string x_index = 2 [json_name = "xIndex"];
      Returns:
      Whether the xIndex field is set.
    • getXIndex

      String getXIndex()
      optional string x_index = 2 [json_name = "xIndex"];
      Returns:
      The xIndex.
    • getXIndexBytes

      com.google.protobuf.ByteString getXIndexBytes()
      optional string x_index = 2 [json_name = "xIndex"];
      Returns:
      The bytes for xIndex.
    • hasRouting

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

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

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

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

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

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

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

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

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

      OpType getOpType()
      optional .org.opensearch.protobufs.OpType op_type = 6 [json_name = "opType"];
      Returns:
      The opType.
    • hasVersion

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

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

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

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

      VersionType getVersionType()
      optional .org.opensearch.protobufs.VersionType version_type = 8 [json_name = "versionType"];
      Returns:
      The versionType.
    • hasPipeline

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

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

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

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

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