Package org.opensearch.protobufs
Interface ResponseItemOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResponseItem,ResponseItem.Builder
public interface ResponseItemOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetError()optional .org.opensearch.protobufs.ErrorCause error = 5 [json_name = "error"];optional .org.opensearch.protobufs.ErrorCause error = 5 [json_name = "error"];booleanoptional bool forced_refresh = 11 [json_name = "forcedRefresh"];getGet()optional .org.opensearch.protobufs.InlineGetDictUserDefined get = 12 [json_name = "get"];optional .org.opensearch.protobufs.InlineGetDictUserDefined get = 12 [json_name = "get"];optional string result = 7 [json_name = "result"];com.google.protobuf.ByteStringoptional string result = 7 [json_name = "result"];intint32 status = 2 [json_name = "status"];getXId()optional string x_id = 4 [json_name = "xId"];com.google.protobuf.ByteStringoptional string x_id = 4 [json_name = "xId"];string x_index = 1 [json_name = "xIndex"];com.google.protobuf.ByteStringstring x_index = 1 [json_name = "xIndex"];longoptional int64 x_primary_term = 6 [json_name = "xPrimaryTerm"];longoptional int64 x_seq_no = 8 [json_name = "xSeqNo"];optional .org.opensearch.protobufs.ShardInfo x_shards = 9 [json_name = "xShards"];optional .org.opensearch.protobufs.ShardInfo x_shards = 9 [json_name = "xShards"];getXType()optional string x_type = 3 [json_name = "xType"];com.google.protobuf.ByteStringoptional string x_type = 3 [json_name = "xType"];longoptional int64 x_version = 10 [json_name = "xVersion"];booleanhasError()optional .org.opensearch.protobufs.ErrorCause error = 5 [json_name = "error"];booleanoptional bool forced_refresh = 11 [json_name = "forcedRefresh"];booleanhasGet()optional .org.opensearch.protobufs.InlineGetDictUserDefined get = 12 [json_name = "get"];booleanoptional string result = 7 [json_name = "result"];booleanhasXId()optional string x_id = 4 [json_name = "xId"];booleanoptional int64 x_primary_term = 6 [json_name = "xPrimaryTerm"];booleanoptional int64 x_seq_no = 8 [json_name = "xSeqNo"];booleanoptional .org.opensearch.protobufs.ShardInfo x_shards = 9 [json_name = "xShards"];booleanhasXType()optional string x_type = 3 [json_name = "xType"];booleanoptional int64 x_version = 10 [json_name = "xVersion"];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
-
getXIndex
String getXIndex()string x_index = 1 [json_name = "xIndex"];- Returns:
- The xIndex.
-
getXIndexBytes
com.google.protobuf.ByteString getXIndexBytes()string x_index = 1 [json_name = "xIndex"];- Returns:
- The bytes for xIndex.
-
getStatus
int getStatus()int32 status = 2 [json_name = "status"];- Returns:
- The status.
-
hasXType
boolean hasXType()optional string x_type = 3 [json_name = "xType"];- Returns:
- Whether the xType field is set.
-
getXType
String getXType()optional string x_type = 3 [json_name = "xType"];- Returns:
- The xType.
-
getXTypeBytes
com.google.protobuf.ByteString getXTypeBytes()optional string x_type = 3 [json_name = "xType"];- Returns:
- The bytes for xType.
-
hasXId
boolean hasXId()optional string x_id = 4 [json_name = "xId"];- Returns:
- Whether the xId field is set.
-
getXId
String getXId()optional string x_id = 4 [json_name = "xId"];- Returns:
- The xId.
-
getXIdBytes
com.google.protobuf.ByteString getXIdBytes()optional string x_id = 4 [json_name = "xId"];- Returns:
- The bytes for xId.
-
hasError
boolean hasError()optional .org.opensearch.protobufs.ErrorCause error = 5 [json_name = "error"];- Returns:
- Whether the error field is set.
-
getError
ErrorCause getError()optional .org.opensearch.protobufs.ErrorCause error = 5 [json_name = "error"];- Returns:
- The error.
-
getErrorOrBuilder
ErrorCauseOrBuilder getErrorOrBuilder()optional .org.opensearch.protobufs.ErrorCause error = 5 [json_name = "error"]; -
hasXPrimaryTerm
boolean hasXPrimaryTerm()optional int64 x_primary_term = 6 [json_name = "xPrimaryTerm"];- Returns:
- Whether the xPrimaryTerm field is set.
-
getXPrimaryTerm
long getXPrimaryTerm()optional int64 x_primary_term = 6 [json_name = "xPrimaryTerm"];- Returns:
- The xPrimaryTerm.
-
hasResult
boolean hasResult()optional string result = 7 [json_name = "result"];- Returns:
- Whether the result field is set.
-
getResult
String getResult()optional string result = 7 [json_name = "result"];- Returns:
- The result.
-
getResultBytes
com.google.protobuf.ByteString getResultBytes()optional string result = 7 [json_name = "result"];- Returns:
- The bytes for result.
-
hasXSeqNo
boolean hasXSeqNo()optional int64 x_seq_no = 8 [json_name = "xSeqNo"];- Returns:
- Whether the xSeqNo field is set.
-
getXSeqNo
long getXSeqNo()optional int64 x_seq_no = 8 [json_name = "xSeqNo"];- Returns:
- The xSeqNo.
-
hasXShards
boolean hasXShards()optional .org.opensearch.protobufs.ShardInfo x_shards = 9 [json_name = "xShards"];- Returns:
- Whether the xShards field is set.
-
getXShards
ShardInfo getXShards()optional .org.opensearch.protobufs.ShardInfo x_shards = 9 [json_name = "xShards"];- Returns:
- The xShards.
-
getXShardsOrBuilder
ShardInfoOrBuilder getXShardsOrBuilder()optional .org.opensearch.protobufs.ShardInfo x_shards = 9 [json_name = "xShards"]; -
hasXVersion
boolean hasXVersion()optional int64 x_version = 10 [json_name = "xVersion"];- Returns:
- Whether the xVersion field is set.
-
getXVersion
long getXVersion()optional int64 x_version = 10 [json_name = "xVersion"];- Returns:
- The xVersion.
-
hasForcedRefresh
boolean hasForcedRefresh()optional bool forced_refresh = 11 [json_name = "forcedRefresh"];- Returns:
- Whether the forcedRefresh field is set.
-
getForcedRefresh
boolean getForcedRefresh()optional bool forced_refresh = 11 [json_name = "forcedRefresh"];- Returns:
- The forcedRefresh.
-
hasGet
boolean hasGet()optional .org.opensearch.protobufs.InlineGetDictUserDefined get = 12 [json_name = "get"];- Returns:
- Whether the get field is set.
-
getGet
InlineGetDictUserDefined getGet()optional .org.opensearch.protobufs.InlineGetDictUserDefined get = 12 [json_name = "get"];- Returns:
- The get.
-
getGetOrBuilder
InlineGetDictUserDefinedOrBuilder getGetOrBuilder()optional .org.opensearch.protobufs.InlineGetDictUserDefined get = 12 [json_name = "get"];
-