Package org.opensearch.protobufs
Class IndexDocumentResponseBody
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.opensearch.protobufs.IndexDocumentResponseBody
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,IndexDocumentResponseBodyOrBuilder
public final class IndexDocumentResponseBody
extends com.google.protobuf.GeneratedMessageV3
implements IndexDocumentResponseBodyOrBuilder
Protobuf type
IndexDocumentResponseBody- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeIndexDocumentResponseBodyNested 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 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 IndexDocumentResponseBodystatic final com.google.protobuf.Descriptors.Descriptorbooleanoptional bool forced_refresh = 9 [json_name = "forcedRefresh"];com.google.protobuf.Parser<IndexDocumentResponseBody> optional .Result result = 5 [json_name = "result"];intoptional .Result result = 5 [json_name = "result"];intgetXId()optional string x_id = 2 [json_name = "xId"];com.google.protobuf.ByteStringoptional string x_id = 2 [json_name = "xId"];optional string x_index = 3 [json_name = "xIndex"];com.google.protobuf.ByteStringoptional string x_index = 3 [json_name = "xIndex"];longoptional int64 x_primary_term = 4 [json_name = "xPrimaryTerm"];longoptional int64 x_seq_no = 6 [json_name = "xSeqNo"];.ShardStatistics x_shards = 7 [json_name = "xShards"];.ShardStatistics x_shards = 7 [json_name = "xShards"];getXType()optional string x_type = 1 [json_name = "xType"];com.google.protobuf.ByteStringoptional string x_type = 1 [json_name = "xType"];longoptional int64 x_version = 8 [json_name = "xVersion"];booleanoptional bool forced_refresh = 9 [json_name = "forcedRefresh"];inthashCode()booleanoptional .Result result = 5 [json_name = "result"];booleanhasXId()optional string x_id = 2 [json_name = "xId"];booleanoptional string x_index = 3 [json_name = "xIndex"];booleanoptional int64 x_primary_term = 4 [json_name = "xPrimaryTerm"];booleanoptional int64 x_seq_no = 6 [json_name = "xSeqNo"];boolean.ShardStatistics x_shards = 7 [json_name = "xShards"];booleanhasXType()optional string x_type = 1 [json_name = "xType"];booleanoptional int64 x_version = 8 [json_name = "xVersion"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(IndexDocumentResponseBody prototype) protected IndexDocumentResponseBody.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static IndexDocumentResponseBodyparseDelimitedFrom(InputStream input) static IndexDocumentResponseBodyparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IndexDocumentResponseBodyparseFrom(byte[] data) static IndexDocumentResponseBodyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IndexDocumentResponseBodyparseFrom(com.google.protobuf.ByteString data) static IndexDocumentResponseBodyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IndexDocumentResponseBodyparseFrom(com.google.protobuf.CodedInputStream input) static IndexDocumentResponseBodyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IndexDocumentResponseBodyparseFrom(InputStream input) static IndexDocumentResponseBodyparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IndexDocumentResponseBodyparseFrom(ByteBuffer data) static IndexDocumentResponseBodyparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<IndexDocumentResponseBody> 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_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:
-
X_INDEX_FIELD_NUMBER
public static final int X_INDEX_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:
-
-
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
-
hasXType
public boolean hasXType()optional string x_type = 1 [json_name = "xType"];- Specified by:
hasXTypein interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- Whether the xType field is set.
-
getXType
optional string x_type = 1 [json_name = "xType"];- Specified by:
getXTypein interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- The xType.
-
getXTypeBytes
public com.google.protobuf.ByteString getXTypeBytes()optional string x_type = 1 [json_name = "xType"];- Specified by:
getXTypeBytesin interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- The bytes for xType.
-
hasXId
public boolean hasXId()optional string x_id = 2 [json_name = "xId"];- Specified by:
hasXIdin interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- Whether the xId field is set.
-
getXId
optional string x_id = 2 [json_name = "xId"];- Specified by:
getXIdin interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- The xId.
-
getXIdBytes
public com.google.protobuf.ByteString getXIdBytes()optional string x_id = 2 [json_name = "xId"];- Specified by:
getXIdBytesin interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- The bytes for xId.
-
hasXIndex
public boolean hasXIndex()optional string x_index = 3 [json_name = "xIndex"];- Specified by:
hasXIndexin interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- Whether the xIndex field is set.
-
getXIndex
optional string x_index = 3 [json_name = "xIndex"];- Specified by:
getXIndexin interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- The xIndex.
-
getXIndexBytes
public com.google.protobuf.ByteString getXIndexBytes()optional string x_index = 3 [json_name = "xIndex"];- Specified by:
getXIndexBytesin interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- The bytes for xIndex.
-
hasXPrimaryTerm
public boolean hasXPrimaryTerm()optional int64 x_primary_term = 4 [json_name = "xPrimaryTerm"];- Specified by:
hasXPrimaryTermin interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- Whether the xPrimaryTerm field is set.
-
getXPrimaryTerm
public long getXPrimaryTerm()optional int64 x_primary_term = 4 [json_name = "xPrimaryTerm"];- Specified by:
getXPrimaryTermin interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- The xPrimaryTerm.
-
hasResult
public boolean hasResult()optional .Result result = 5 [json_name = "result"];- Specified by:
hasResultin interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- Whether the result field is set.
-
getResultValue
public int getResultValue()optional .Result result = 5 [json_name = "result"];- Specified by:
getResultValuein interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- The enum numeric value on the wire for result.
-
getResult
optional .Result result = 5 [json_name = "result"];- Specified by:
getResultin interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- The result.
-
hasXSeqNo
public boolean hasXSeqNo()optional int64 x_seq_no = 6 [json_name = "xSeqNo"];- Specified by:
hasXSeqNoin interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- Whether the xSeqNo field is set.
-
getXSeqNo
public long getXSeqNo()optional int64 x_seq_no = 6 [json_name = "xSeqNo"];- Specified by:
getXSeqNoin interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- The xSeqNo.
-
hasXShards
public boolean hasXShards().ShardStatistics x_shards = 7 [json_name = "xShards"];- Specified by:
hasXShardsin interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- Whether the xShards field is set.
-
getXShards
.ShardStatistics x_shards = 7 [json_name = "xShards"];- Specified by:
getXShardsin interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- The xShards.
-
getXShardsOrBuilder
.ShardStatistics x_shards = 7 [json_name = "xShards"];- Specified by:
getXShardsOrBuilderin interfaceIndexDocumentResponseBodyOrBuilder
-
hasXVersion
public boolean hasXVersion()optional int64 x_version = 8 [json_name = "xVersion"];- Specified by:
hasXVersionin interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- Whether the xVersion field is set.
-
getXVersion
public long getXVersion()optional int64 x_version = 8 [json_name = "xVersion"];- Specified by:
getXVersionin interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- The xVersion.
-
hasForcedRefresh
public boolean hasForcedRefresh()optional bool forced_refresh = 9 [json_name = "forcedRefresh"];- Specified by:
hasForcedRefreshin interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- Whether the forcedRefresh field is set.
-
getForcedRefresh
public boolean getForcedRefresh()optional bool forced_refresh = 9 [json_name = "forcedRefresh"];- Specified by:
getForcedRefreshin interfaceIndexDocumentResponseBodyOrBuilder- Returns:
- The forcedRefresh.
-
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 IndexDocumentResponseBody parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IndexDocumentResponseBody parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IndexDocumentResponseBody parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IndexDocumentResponseBody parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IndexDocumentResponseBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IndexDocumentResponseBody parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static IndexDocumentResponseBody parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static IndexDocumentResponseBody parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static IndexDocumentResponseBody parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static IndexDocumentResponseBody 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 IndexDocumentResponseBody.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
-