Interface ShardFailureOrBuilder

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

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

    Modifier and Type
    Method
    Description
    optional string index = 1 [json_name = "index"];
    com.google.protobuf.ByteString
    optional string index = 1 [json_name = "index"];
    optional string node = 2 [json_name = "node"];
    com.google.protobuf.ByteString
    optional string node = 2 [json_name = "node"];
    boolean
    bool primary = 6 [json_name = "primary"];
    .org.opensearch.protobufs.ErrorCause reason = 3 [json_name = "reason"];
    .org.opensearch.protobufs.ErrorCause reason = 3 [json_name = "reason"];
    int
    int32 shard = 4 [json_name = "shard"];
    optional string status = 5 [json_name = "status"];
    com.google.protobuf.ByteString
    optional string status = 5 [json_name = "status"];
    boolean
    optional string index = 1 [json_name = "index"];
    boolean
    optional string node = 2 [json_name = "node"];
    boolean
    .org.opensearch.protobufs.ErrorCause reason = 3 [json_name = "reason"];
    boolean
    optional string status = 5 [json_name = "status"];

    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.
    • hasNode

      boolean hasNode()
      optional string node = 2 [json_name = "node"];
      Returns:
      Whether the node field is set.
    • getNode

      String getNode()
      optional string node = 2 [json_name = "node"];
      Returns:
      The node.
    • getNodeBytes

      com.google.protobuf.ByteString getNodeBytes()
      optional string node = 2 [json_name = "node"];
      Returns:
      The bytes for node.
    • hasReason

      boolean hasReason()
      .org.opensearch.protobufs.ErrorCause reason = 3 [json_name = "reason"];
      Returns:
      Whether the reason field is set.
    • getReason

      ErrorCause getReason()
      .org.opensearch.protobufs.ErrorCause reason = 3 [json_name = "reason"];
      Returns:
      The reason.
    • getReasonOrBuilder

      ErrorCauseOrBuilder getReasonOrBuilder()
      .org.opensearch.protobufs.ErrorCause reason = 3 [json_name = "reason"];
    • getShard

      int getShard()
      int32 shard = 4 [json_name = "shard"];
      Returns:
      The shard.
    • hasStatus

      boolean hasStatus()
      optional string status = 5 [json_name = "status"];
      Returns:
      Whether the status field is set.
    • getStatus

      String getStatus()
      optional string status = 5 [json_name = "status"];
      Returns:
      The status.
    • getStatusBytes

      com.google.protobuf.ByteString getStatusBytes()
      optional string status = 5 [json_name = "status"];
      Returns:
      The bytes for status.
    • getPrimary

      boolean getPrimary()
      bool primary = 6 [json_name = "primary"];
      Returns:
      The primary.