Package org.opensearch.protobufs
Class GetDocumentResponseBody
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.opensearch.protobufs.GetDocumentResponseBody
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,GetDocumentResponseBodyOrBuilder
public final class GetDocumentResponseBody
extends com.google.protobuf.GeneratedMessageV3
implements GetDocumentResponseBodyOrBuilder
Protobuf type
GetDocumentResponseBody- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeGetDocumentResponseBodystatic enumNested 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 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 GetDocumentResponseBodystatic final com.google.protobuf.Descriptors.Descriptor.ObjectMap fields = 3 [json_name = "fields"];.ObjectMap fields = 3 [json_name = "fields"];booleangetFound()optional bool found = 4 [json_name = "found"];com.google.protobuf.Parser<GetDocumentResponseBody> intcom.google.protobuf.Struct.google.protobuf.Struct struct_source = 9 [json_name = "structSource"];com.google.protobuf.StructOrBuilder.google.protobuf.Struct struct_source = 9 [json_name = "structSource"];getXId()optional string x_id = 5 [json_name = "xId"];com.google.protobuf.ByteStringoptional string x_id = 5 [json_name = "xId"];optional string x_index = 2 [json_name = "xIndex"];com.google.protobuf.ByteStringoptional string x_index = 2 [json_name = "xIndex"];longoptional int64 x_primary_term = 6 [json_name = "xPrimaryTerm"];optional string x_routing = 7 [json_name = "xRouting"];com.google.protobuf.ByteStringoptional string x_routing = 7 [json_name = "xRouting"];longoptional int64 x_seq_no = 8 [json_name = "xSeqNo"];com.google.protobuf.ByteStringbytes x_source = 11 [json_name = "xSource"];getXType()optional string x_type = 1 [json_name = "xType"];com.google.protobuf.ByteStringoptional string x_type = 1 [json_name = "xType"];longoptional int64 x_version = 10 [json_name = "xVersion"];boolean.ObjectMap fields = 3 [json_name = "fields"];booleanhasFound()optional bool found = 4 [json_name = "found"];inthashCode()boolean.google.protobuf.Struct struct_source = 9 [json_name = "structSource"];booleanhasXId()optional string x_id = 5 [json_name = "xId"];booleanoptional string x_index = 2 [json_name = "xIndex"];booleanoptional int64 x_primary_term = 6 [json_name = "xPrimaryTerm"];booleanoptional string x_routing = 7 [json_name = "xRouting"];booleanoptional int64 x_seq_no = 8 [json_name = "xSeqNo"];booleanbytes x_source = 11 [json_name = "xSource"];booleanhasXType()optional string x_type = 1 [json_name = "xType"];booleanoptional int64 x_version = 10 [json_name = "xVersion"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(GetDocumentResponseBody prototype) protected GetDocumentResponseBody.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static GetDocumentResponseBodyparseDelimitedFrom(InputStream input) static GetDocumentResponseBodyparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetDocumentResponseBodyparseFrom(byte[] data) static GetDocumentResponseBodyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetDocumentResponseBodyparseFrom(com.google.protobuf.ByteString data) static GetDocumentResponseBodyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetDocumentResponseBodyparseFrom(com.google.protobuf.CodedInputStream input) static GetDocumentResponseBodyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetDocumentResponseBodyparseFrom(InputStream input) static GetDocumentResponseBodyparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetDocumentResponseBodyparseFrom(ByteBuffer data) static GetDocumentResponseBodyparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GetDocumentResponseBody> 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_INDEX_FIELD_NUMBER
public static final int X_INDEX_FIELD_NUMBER- See Also:
-
FIELDS_FIELD_NUMBER
public static final int FIELDS_FIELD_NUMBER- See Also:
-
FOUND_FIELD_NUMBER
public static final int FOUND_FIELD_NUMBER- See Also:
-
X_ID_FIELD_NUMBER
public static final int X_ID_FIELD_NUMBER- See Also:
-
X_PRIMARY_TERM_FIELD_NUMBER
public static final int X_PRIMARY_TERM_FIELD_NUMBER- See Also:
-
X_ROUTING_FIELD_NUMBER
public static final int X_ROUTING_FIELD_NUMBER- See Also:
-
X_SEQ_NO_FIELD_NUMBER
public static final int X_SEQ_NO_FIELD_NUMBER- See Also:
-
STRUCT_SOURCE_FIELD_NUMBER
public static final int STRUCT_SOURCE_FIELD_NUMBER- See Also:
-
X_SOURCE_FIELD_NUMBER
public static final int X_SOURCE_FIELD_NUMBER- See Also:
-
X_VERSION_FIELD_NUMBER
public static final int X_VERSION_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
-
getGetDocumentResponseBodySourceCase
public GetDocumentResponseBody.GetDocumentResponseBodySourceCase getGetDocumentResponseBodySourceCase()- Specified by:
getGetDocumentResponseBodySourceCasein interfaceGetDocumentResponseBodyOrBuilder
-
hasXType
public boolean hasXType()optional string x_type = 1 [json_name = "xType"];- Specified by:
hasXTypein interfaceGetDocumentResponseBodyOrBuilder- Returns:
- Whether the xType field is set.
-
getXType
optional string x_type = 1 [json_name = "xType"];- Specified by:
getXTypein interfaceGetDocumentResponseBodyOrBuilder- Returns:
- The xType.
-
getXTypeBytes
public com.google.protobuf.ByteString getXTypeBytes()optional string x_type = 1 [json_name = "xType"];- Specified by:
getXTypeBytesin interfaceGetDocumentResponseBodyOrBuilder- Returns:
- The bytes for xType.
-
hasXIndex
public boolean hasXIndex()optional string x_index = 2 [json_name = "xIndex"];- Specified by:
hasXIndexin interfaceGetDocumentResponseBodyOrBuilder- Returns:
- Whether the xIndex field is set.
-
getXIndex
optional string x_index = 2 [json_name = "xIndex"];- Specified by:
getXIndexin interfaceGetDocumentResponseBodyOrBuilder- Returns:
- The xIndex.
-
getXIndexBytes
public com.google.protobuf.ByteString getXIndexBytes()optional string x_index = 2 [json_name = "xIndex"];- Specified by:
getXIndexBytesin interfaceGetDocumentResponseBodyOrBuilder- Returns:
- The bytes for xIndex.
-
hasFields
public boolean hasFields().ObjectMap fields = 3 [json_name = "fields"];- Specified by:
hasFieldsin interfaceGetDocumentResponseBodyOrBuilder- Returns:
- Whether the fields field is set.
-
getFields
.ObjectMap fields = 3 [json_name = "fields"];- Specified by:
getFieldsin interfaceGetDocumentResponseBodyOrBuilder- Returns:
- The fields.
-
getFieldsOrBuilder
.ObjectMap fields = 3 [json_name = "fields"];- Specified by:
getFieldsOrBuilderin interfaceGetDocumentResponseBodyOrBuilder
-
hasFound
public boolean hasFound()optional bool found = 4 [json_name = "found"];- Specified by:
hasFoundin interfaceGetDocumentResponseBodyOrBuilder- Returns:
- Whether the found field is set.
-
getFound
public boolean getFound()optional bool found = 4 [json_name = "found"];- Specified by:
getFoundin interfaceGetDocumentResponseBodyOrBuilder- Returns:
- The found.
-
hasXId
public boolean hasXId()optional string x_id = 5 [json_name = "xId"];- Specified by:
hasXIdin interfaceGetDocumentResponseBodyOrBuilder- Returns:
- Whether the xId field is set.
-
getXId
optional string x_id = 5 [json_name = "xId"];- Specified by:
getXIdin interfaceGetDocumentResponseBodyOrBuilder- Returns:
- The xId.
-
getXIdBytes
public com.google.protobuf.ByteString getXIdBytes()optional string x_id = 5 [json_name = "xId"];- Specified by:
getXIdBytesin interfaceGetDocumentResponseBodyOrBuilder- Returns:
- The bytes for xId.
-
hasXPrimaryTerm
public boolean hasXPrimaryTerm()optional int64 x_primary_term = 6 [json_name = "xPrimaryTerm"];- Specified by:
hasXPrimaryTermin interfaceGetDocumentResponseBodyOrBuilder- Returns:
- Whether the xPrimaryTerm field is set.
-
getXPrimaryTerm
public long getXPrimaryTerm()optional int64 x_primary_term = 6 [json_name = "xPrimaryTerm"];- Specified by:
getXPrimaryTermin interfaceGetDocumentResponseBodyOrBuilder- Returns:
- The xPrimaryTerm.
-
hasXRouting
public boolean hasXRouting()optional string x_routing = 7 [json_name = "xRouting"];- Specified by:
hasXRoutingin interfaceGetDocumentResponseBodyOrBuilder- Returns:
- Whether the xRouting field is set.
-
getXRouting
optional string x_routing = 7 [json_name = "xRouting"];- Specified by:
getXRoutingin interfaceGetDocumentResponseBodyOrBuilder- Returns:
- The xRouting.
-
getXRoutingBytes
public com.google.protobuf.ByteString getXRoutingBytes()optional string x_routing = 7 [json_name = "xRouting"];- Specified by:
getXRoutingBytesin interfaceGetDocumentResponseBodyOrBuilder- Returns:
- The bytes for xRouting.
-
hasXSeqNo
public boolean hasXSeqNo()optional int64 x_seq_no = 8 [json_name = "xSeqNo"];- Specified by:
hasXSeqNoin interfaceGetDocumentResponseBodyOrBuilder- Returns:
- Whether the xSeqNo field is set.
-
getXSeqNo
public long getXSeqNo()optional int64 x_seq_no = 8 [json_name = "xSeqNo"];- Specified by:
getXSeqNoin interfaceGetDocumentResponseBodyOrBuilder- Returns:
- The xSeqNo.
-
hasStructSource
public boolean hasStructSource().google.protobuf.Struct struct_source = 9 [json_name = "structSource"];- Specified by:
hasStructSourcein interfaceGetDocumentResponseBodyOrBuilder- Returns:
- Whether the structSource field is set.
-
getStructSource
public com.google.protobuf.Struct getStructSource().google.protobuf.Struct struct_source = 9 [json_name = "structSource"];- Specified by:
getStructSourcein interfaceGetDocumentResponseBodyOrBuilder- Returns:
- The structSource.
-
getStructSourceOrBuilder
public com.google.protobuf.StructOrBuilder getStructSourceOrBuilder().google.protobuf.Struct struct_source = 9 [json_name = "structSource"];- Specified by:
getStructSourceOrBuilderin interfaceGetDocumentResponseBodyOrBuilder
-
hasXSource
public boolean hasXSource()bytes x_source = 11 [json_name = "xSource"];- Specified by:
hasXSourcein interfaceGetDocumentResponseBodyOrBuilder- Returns:
- Whether the xSource field is set.
-
getXSource
public com.google.protobuf.ByteString getXSource()bytes x_source = 11 [json_name = "xSource"];- Specified by:
getXSourcein interfaceGetDocumentResponseBodyOrBuilder- Returns:
- The xSource.
-
hasXVersion
public boolean hasXVersion()optional int64 x_version = 10 [json_name = "xVersion"];- Specified by:
hasXVersionin interfaceGetDocumentResponseBodyOrBuilder- Returns:
- Whether the xVersion field is set.
-
getXVersion
public long getXVersion()optional int64 x_version = 10 [json_name = "xVersion"];- Specified by:
getXVersionin interfaceGetDocumentResponseBodyOrBuilder- Returns:
- The xVersion.
-
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 GetDocumentResponseBody parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetDocumentResponseBody parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetDocumentResponseBody parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetDocumentResponseBody parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetDocumentResponseBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetDocumentResponseBody parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GetDocumentResponseBody parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GetDocumentResponseBody parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GetDocumentResponseBody parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GetDocumentResponseBody 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 GetDocumentResponseBody.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
-