Package org.opensearch.protobufs
Interface ShardSearchFailureOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ShardSearchFailure,ShardSearchFailure.Builder
public interface ShardSearchFailureOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetIndex()optional string index = 2 [json_name = "index"];com.google.protobuf.ByteStringoptional string index = 2 [json_name = "index"];getNode()optional string node = 3 [json_name = "node"];com.google.protobuf.ByteStringoptional string node = 3 [json_name = "node"];.org.opensearch.protobufs.ErrorCause reason = 4 [json_name = "reason"];.org.opensearch.protobufs.ErrorCause reason = 4 [json_name = "reason"];intgetShard()int32 shard = 1 [json_name = "shard"];booleanhasIndex()optional string index = 2 [json_name = "index"];booleanhasNode()optional string node = 3 [json_name = "node"];boolean.org.opensearch.protobufs.ErrorCause reason = 4 [json_name = "reason"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getShard
int getShard()int32 shard = 1 [json_name = "shard"];- Returns:
- The shard.
-
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.
-
hasNode
boolean hasNode()optional string node = 3 [json_name = "node"];- Returns:
- Whether the node field is set.
-
getNode
String getNode()optional string node = 3 [json_name = "node"];- Returns:
- The node.
-
getNodeBytes
com.google.protobuf.ByteString getNodeBytes()optional string node = 3 [json_name = "node"];- Returns:
- The bytes for node.
-
hasReason
boolean hasReason().org.opensearch.protobufs.ErrorCause reason = 4 [json_name = "reason"];- Returns:
- Whether the reason field is set.
-
getReason
ErrorCause getReason().org.opensearch.protobufs.ErrorCause reason = 4 [json_name = "reason"];- Returns:
- The reason.
-
getReasonOrBuilder
ErrorCauseOrBuilder getReasonOrBuilder().org.opensearch.protobufs.ErrorCause reason = 4 [json_name = "reason"];
-