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