Package org.opensearch.protobufs
Class ResponseItem
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.opensearch.protobufs.ResponseItem
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,ResponseItemOrBuilder
public final class ResponseItem
extends com.google.protobuf.GeneratedMessageV3
implements ResponseItemOrBuilder
Protobuf type
org.opensearch.protobufs.ResponseItem- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeorg.opensearch.protobufs.ResponseItemNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ResponseItemstatic final com.google.protobuf.Descriptors.DescriptorgetError()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"];com.google.protobuf.Parser<ResponseItem> optional string result = 7 [json_name = "result"];com.google.protobuf.ByteStringoptional string result = 7 [json_name = "result"];intintint32 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"];inthashCode()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"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ResponseItem.Builderstatic ResponseItem.BuildernewBuilder(ResponseItem prototype) protected ResponseItem.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ResponseItemparseDelimitedFrom(InputStream input) static ResponseItemparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponseItemparseFrom(byte[] data) static ResponseItemparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponseItemparseFrom(com.google.protobuf.ByteString data) static ResponseItemparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponseItemparseFrom(com.google.protobuf.CodedInputStream input) static ResponseItemparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponseItemparseFrom(InputStream input) static ResponseItemparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponseItemparseFrom(ByteBuffer data) static ResponseItemparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ResponseItem> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
X_INDEX_FIELD_NUMBER
public static final int X_INDEX_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
X_TYPE_FIELD_NUMBER
public static final int X_TYPE_FIELD_NUMBER- See Also:
-
X_ID_FIELD_NUMBER
public static final int X_ID_FIELD_NUMBER- See Also:
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER- See Also:
-
X_PRIMARY_TERM_FIELD_NUMBER
public static final int X_PRIMARY_TERM_FIELD_NUMBER- See Also:
-
RESULT_FIELD_NUMBER
public static final int RESULT_FIELD_NUMBER- See Also:
-
X_SEQ_NO_FIELD_NUMBER
public static final int X_SEQ_NO_FIELD_NUMBER- See Also:
-
X_SHARDS_FIELD_NUMBER
public static final int X_SHARDS_FIELD_NUMBER- See Also:
-
X_VERSION_FIELD_NUMBER
public static final int X_VERSION_FIELD_NUMBER- See Also:
-
FORCED_REFRESH_FIELD_NUMBER
public static final int FORCED_REFRESH_FIELD_NUMBER- See Also:
-
GET_FIELD_NUMBER
public static final int GET_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getXIndex
string x_index = 1 [json_name = "xIndex"];- Specified by:
getXIndexin interfaceResponseItemOrBuilder- Returns:
- The xIndex.
-
getXIndexBytes
public com.google.protobuf.ByteString getXIndexBytes()string x_index = 1 [json_name = "xIndex"];- Specified by:
getXIndexBytesin interfaceResponseItemOrBuilder- Returns:
- The bytes for xIndex.
-
getStatus
public int getStatus()int32 status = 2 [json_name = "status"];- Specified by:
getStatusin interfaceResponseItemOrBuilder- Returns:
- The status.
-
hasXType
public boolean hasXType()optional string x_type = 3 [json_name = "xType"];- Specified by:
hasXTypein interfaceResponseItemOrBuilder- Returns:
- Whether the xType field is set.
-
getXType
optional string x_type = 3 [json_name = "xType"];- Specified by:
getXTypein interfaceResponseItemOrBuilder- Returns:
- The xType.
-
getXTypeBytes
public com.google.protobuf.ByteString getXTypeBytes()optional string x_type = 3 [json_name = "xType"];- Specified by:
getXTypeBytesin interfaceResponseItemOrBuilder- Returns:
- The bytes for xType.
-
hasXId
public boolean hasXId()optional string x_id = 4 [json_name = "xId"];- Specified by:
hasXIdin interfaceResponseItemOrBuilder- Returns:
- Whether the xId field is set.
-
getXId
optional string x_id = 4 [json_name = "xId"];- Specified by:
getXIdin interfaceResponseItemOrBuilder- Returns:
- The xId.
-
getXIdBytes
public com.google.protobuf.ByteString getXIdBytes()optional string x_id = 4 [json_name = "xId"];- Specified by:
getXIdBytesin interfaceResponseItemOrBuilder- Returns:
- The bytes for xId.
-
hasError
public boolean hasError()optional .org.opensearch.protobufs.ErrorCause error = 5 [json_name = "error"];- Specified by:
hasErrorin interfaceResponseItemOrBuilder- Returns:
- Whether the error field is set.
-
getError
optional .org.opensearch.protobufs.ErrorCause error = 5 [json_name = "error"];- Specified by:
getErrorin interfaceResponseItemOrBuilder- Returns:
- The error.
-
getErrorOrBuilder
optional .org.opensearch.protobufs.ErrorCause error = 5 [json_name = "error"];- Specified by:
getErrorOrBuilderin interfaceResponseItemOrBuilder
-
hasXPrimaryTerm
public boolean hasXPrimaryTerm()optional int64 x_primary_term = 6 [json_name = "xPrimaryTerm"];- Specified by:
hasXPrimaryTermin interfaceResponseItemOrBuilder- Returns:
- Whether the xPrimaryTerm field is set.
-
getXPrimaryTerm
public long getXPrimaryTerm()optional int64 x_primary_term = 6 [json_name = "xPrimaryTerm"];- Specified by:
getXPrimaryTermin interfaceResponseItemOrBuilder- Returns:
- The xPrimaryTerm.
-
hasResult
public boolean hasResult()optional string result = 7 [json_name = "result"];- Specified by:
hasResultin interfaceResponseItemOrBuilder- Returns:
- Whether the result field is set.
-
getResult
optional string result = 7 [json_name = "result"];- Specified by:
getResultin interfaceResponseItemOrBuilder- Returns:
- The result.
-
getResultBytes
public com.google.protobuf.ByteString getResultBytes()optional string result = 7 [json_name = "result"];- Specified by:
getResultBytesin interfaceResponseItemOrBuilder- Returns:
- The bytes for result.
-
hasXSeqNo
public boolean hasXSeqNo()optional int64 x_seq_no = 8 [json_name = "xSeqNo"];- Specified by:
hasXSeqNoin interfaceResponseItemOrBuilder- Returns:
- Whether the xSeqNo field is set.
-
getXSeqNo
public long getXSeqNo()optional int64 x_seq_no = 8 [json_name = "xSeqNo"];- Specified by:
getXSeqNoin interfaceResponseItemOrBuilder- Returns:
- The xSeqNo.
-
hasXShards
public boolean hasXShards()optional .org.opensearch.protobufs.ShardInfo x_shards = 9 [json_name = "xShards"];- Specified by:
hasXShardsin interfaceResponseItemOrBuilder- Returns:
- Whether the xShards field is set.
-
getXShards
optional .org.opensearch.protobufs.ShardInfo x_shards = 9 [json_name = "xShards"];- Specified by:
getXShardsin interfaceResponseItemOrBuilder- Returns:
- The xShards.
-
getXShardsOrBuilder
optional .org.opensearch.protobufs.ShardInfo x_shards = 9 [json_name = "xShards"];- Specified by:
getXShardsOrBuilderin interfaceResponseItemOrBuilder
-
hasXVersion
public boolean hasXVersion()optional int64 x_version = 10 [json_name = "xVersion"];- Specified by:
hasXVersionin interfaceResponseItemOrBuilder- Returns:
- Whether the xVersion field is set.
-
getXVersion
public long getXVersion()optional int64 x_version = 10 [json_name = "xVersion"];- Specified by:
getXVersionin interfaceResponseItemOrBuilder- Returns:
- The xVersion.
-
hasForcedRefresh
public boolean hasForcedRefresh()optional bool forced_refresh = 11 [json_name = "forcedRefresh"];- Specified by:
hasForcedRefreshin interfaceResponseItemOrBuilder- Returns:
- Whether the forcedRefresh field is set.
-
getForcedRefresh
public boolean getForcedRefresh()optional bool forced_refresh = 11 [json_name = "forcedRefresh"];- Specified by:
getForcedRefreshin interfaceResponseItemOrBuilder- Returns:
- The forcedRefresh.
-
hasGet
public boolean hasGet()optional .org.opensearch.protobufs.InlineGetDictUserDefined get = 12 [json_name = "get"];- Specified by:
hasGetin interfaceResponseItemOrBuilder- Returns:
- Whether the get field is set.
-
getGet
optional .org.opensearch.protobufs.InlineGetDictUserDefined get = 12 [json_name = "get"];- Specified by:
getGetin interfaceResponseItemOrBuilder- Returns:
- The get.
-
getGetOrBuilder
optional .org.opensearch.protobufs.InlineGetDictUserDefined get = 12 [json_name = "get"];- Specified by:
getGetOrBuilderin interfaceResponseItemOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ResponseItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResponseItem parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResponseItem parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResponseItem parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResponseItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResponseItem parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ResponseItem parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ResponseItem parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ResponseItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ResponseItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-