Package org.opensearch.protobufs
Class GetDocumentRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.opensearch.protobufs.GetDocumentRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,GetDocumentRequestOrBuilder
public final class GetDocumentRequest
extends com.google.protobuf.GeneratedMessageV3
implements GetDocumentRequestOrBuilder
Protobuf type
GetDocumentRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeGetDocumentRequestNested 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 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 GetDocumentRequeststatic final com.google.protobuf.Descriptors.DescriptorgetId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringstring id = 1 [json_name = "id"];getIndex()string index = 2 [json_name = "index"];com.google.protobuf.ByteStringstring index = 2 [json_name = "index"];com.google.protobuf.Parser<GetDocumentRequest> optional string preference = 6 [json_name = "preference"];com.google.protobuf.ByteStringoptional string preference = 6 [json_name = "preference"];booleanoptional bool realtime = 7 [json_name = "realtime"];booleanoptional bool refresh = 8 [json_name = "refresh"];optional string routing = 9 [json_name = "routing"];com.google.protobuf.ByteStringoptional string routing = 9 [json_name = "routing"];intoptional .SourceType source_type = 13 [json_name = "sourceType"];intoptional .SourceType source_type = 13 [json_name = "sourceType"];getStoredFields(int index) repeated string stored_fields = 10 [json_name = "storedFields"];com.google.protobuf.ByteStringgetStoredFieldsBytes(int index) repeated string stored_fields = 10 [json_name = "storedFields"];intrepeated string stored_fields = 10 [json_name = "storedFields"];com.google.protobuf.ProtocolStringListrepeated string stored_fields = 10 [json_name = "storedFields"];longoptional int64 version = 11 [json_name = "version"];optional .VersionType version_type = 12 [json_name = "versionType"];intoptional .VersionType version_type = 12 [json_name = "versionType"];optional .SourceConfigParam x_source = 3 [json_name = "xSource"];getXSourceExcludes(int index) repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];com.google.protobuf.ByteStringgetXSourceExcludesBytes(int index) repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];intrepeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];com.google.protobuf.ProtocolStringListrepeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];getXSourceIncludes(int index) repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];com.google.protobuf.ByteStringgetXSourceIncludesBytes(int index) repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];intrepeated string x_source_includes = 5 [json_name = "xSourceIncludes"];com.google.protobuf.ProtocolStringListrepeated string x_source_includes = 5 [json_name = "xSourceIncludes"];optional .SourceConfigParam x_source = 3 [json_name = "xSource"];inthashCode()booleanoptional string preference = 6 [json_name = "preference"];booleanoptional bool realtime = 7 [json_name = "realtime"];booleanoptional bool refresh = 8 [json_name = "refresh"];booleanoptional string routing = 9 [json_name = "routing"];booleanoptional .SourceType source_type = 13 [json_name = "sourceType"];booleanoptional int64 version = 11 [json_name = "version"];booleanoptional .VersionType version_type = 12 [json_name = "versionType"];booleanoptional .SourceConfigParam x_source = 3 [json_name = "xSource"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic GetDocumentRequest.Builderstatic GetDocumentRequest.BuildernewBuilder(GetDocumentRequest prototype) protected GetDocumentRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static GetDocumentRequestparseDelimitedFrom(InputStream input) static GetDocumentRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetDocumentRequestparseFrom(byte[] data) static GetDocumentRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetDocumentRequestparseFrom(com.google.protobuf.ByteString data) static GetDocumentRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetDocumentRequestparseFrom(com.google.protobuf.CodedInputStream input) static GetDocumentRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetDocumentRequestparseFrom(InputStream input) static GetDocumentRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetDocumentRequestparseFrom(ByteBuffer data) static GetDocumentRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GetDocumentRequest> 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
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
INDEX_FIELD_NUMBER
public static final int INDEX_FIELD_NUMBER- See Also:
-
X_SOURCE_FIELD_NUMBER
public static final int X_SOURCE_FIELD_NUMBER- See Also:
-
X_SOURCE_EXCLUDES_FIELD_NUMBER
public static final int X_SOURCE_EXCLUDES_FIELD_NUMBER- See Also:
-
X_SOURCE_INCLUDES_FIELD_NUMBER
public static final int X_SOURCE_INCLUDES_FIELD_NUMBER- See Also:
-
PREFERENCE_FIELD_NUMBER
public static final int PREFERENCE_FIELD_NUMBER- See Also:
-
REALTIME_FIELD_NUMBER
public static final int REALTIME_FIELD_NUMBER- See Also:
-
REFRESH_FIELD_NUMBER
public static final int REFRESH_FIELD_NUMBER- See Also:
-
ROUTING_FIELD_NUMBER
public static final int ROUTING_FIELD_NUMBER- See Also:
-
STORED_FIELDS_FIELD_NUMBER
public static final int STORED_FIELDS_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
VERSION_TYPE_FIELD_NUMBER
public static final int VERSION_TYPE_FIELD_NUMBER- See Also:
-
SOURCE_TYPE_FIELD_NUMBER
public static final int SOURCE_TYPE_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
-
getId
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceGetDocumentRequestOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceGetDocumentRequestOrBuilder- Returns:
- The bytes for id.
-
getIndex
string index = 2 [json_name = "index"];- Specified by:
getIndexin interfaceGetDocumentRequestOrBuilder- Returns:
- The index.
-
getIndexBytes
public com.google.protobuf.ByteString getIndexBytes()string index = 2 [json_name = "index"];- Specified by:
getIndexBytesin interfaceGetDocumentRequestOrBuilder- Returns:
- The bytes for index.
-
hasXSource
public boolean hasXSource()optional .SourceConfigParam x_source = 3 [json_name = "xSource"];- Specified by:
hasXSourcein interfaceGetDocumentRequestOrBuilder- Returns:
- Whether the xSource field is set.
-
getXSource
optional .SourceConfigParam x_source = 3 [json_name = "xSource"];- Specified by:
getXSourcein interfaceGetDocumentRequestOrBuilder- Returns:
- The xSource.
-
getXSourceOrBuilder
optional .SourceConfigParam x_source = 3 [json_name = "xSource"];- Specified by:
getXSourceOrBuilderin interfaceGetDocumentRequestOrBuilder
-
getXSourceExcludesList
public com.google.protobuf.ProtocolStringList getXSourceExcludesList()repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];- Specified by:
getXSourceExcludesListin interfaceGetDocumentRequestOrBuilder- Returns:
- A list containing the xSourceExcludes.
-
getXSourceExcludesCount
public int getXSourceExcludesCount()repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];- Specified by:
getXSourceExcludesCountin interfaceGetDocumentRequestOrBuilder- Returns:
- The count of xSourceExcludes.
-
getXSourceExcludes
repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];- Specified by:
getXSourceExcludesin interfaceGetDocumentRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The xSourceExcludes at the given index.
-
getXSourceExcludesBytes
public com.google.protobuf.ByteString getXSourceExcludesBytes(int index) repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];- Specified by:
getXSourceExcludesBytesin interfaceGetDocumentRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the xSourceExcludes at the given index.
-
getXSourceIncludesList
public com.google.protobuf.ProtocolStringList getXSourceIncludesList()repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];- Specified by:
getXSourceIncludesListin interfaceGetDocumentRequestOrBuilder- Returns:
- A list containing the xSourceIncludes.
-
getXSourceIncludesCount
public int getXSourceIncludesCount()repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];- Specified by:
getXSourceIncludesCountin interfaceGetDocumentRequestOrBuilder- Returns:
- The count of xSourceIncludes.
-
getXSourceIncludes
repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];- Specified by:
getXSourceIncludesin interfaceGetDocumentRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The xSourceIncludes at the given index.
-
getXSourceIncludesBytes
public com.google.protobuf.ByteString getXSourceIncludesBytes(int index) repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];- Specified by:
getXSourceIncludesBytesin interfaceGetDocumentRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the xSourceIncludes at the given index.
-
hasPreference
public boolean hasPreference()optional string preference = 6 [json_name = "preference"];- Specified by:
hasPreferencein interfaceGetDocumentRequestOrBuilder- Returns:
- Whether the preference field is set.
-
getPreference
optional string preference = 6 [json_name = "preference"];- Specified by:
getPreferencein interfaceGetDocumentRequestOrBuilder- Returns:
- The preference.
-
getPreferenceBytes
public com.google.protobuf.ByteString getPreferenceBytes()optional string preference = 6 [json_name = "preference"];- Specified by:
getPreferenceBytesin interfaceGetDocumentRequestOrBuilder- Returns:
- The bytes for preference.
-
hasRealtime
public boolean hasRealtime()optional bool realtime = 7 [json_name = "realtime"];- Specified by:
hasRealtimein interfaceGetDocumentRequestOrBuilder- Returns:
- Whether the realtime field is set.
-
getRealtime
public boolean getRealtime()optional bool realtime = 7 [json_name = "realtime"];- Specified by:
getRealtimein interfaceGetDocumentRequestOrBuilder- Returns:
- The realtime.
-
hasRefresh
public boolean hasRefresh()optional bool refresh = 8 [json_name = "refresh"];- Specified by:
hasRefreshin interfaceGetDocumentRequestOrBuilder- Returns:
- Whether the refresh field is set.
-
getRefresh
public boolean getRefresh()optional bool refresh = 8 [json_name = "refresh"];- Specified by:
getRefreshin interfaceGetDocumentRequestOrBuilder- Returns:
- The refresh.
-
hasRouting
public boolean hasRouting()optional string routing = 9 [json_name = "routing"];- Specified by:
hasRoutingin interfaceGetDocumentRequestOrBuilder- Returns:
- Whether the routing field is set.
-
getRouting
optional string routing = 9 [json_name = "routing"];- Specified by:
getRoutingin interfaceGetDocumentRequestOrBuilder- Returns:
- The routing.
-
getRoutingBytes
public com.google.protobuf.ByteString getRoutingBytes()optional string routing = 9 [json_name = "routing"];- Specified by:
getRoutingBytesin interfaceGetDocumentRequestOrBuilder- Returns:
- The bytes for routing.
-
getStoredFieldsList
public com.google.protobuf.ProtocolStringList getStoredFieldsList()repeated string stored_fields = 10 [json_name = "storedFields"];- Specified by:
getStoredFieldsListin interfaceGetDocumentRequestOrBuilder- Returns:
- A list containing the storedFields.
-
getStoredFieldsCount
public int getStoredFieldsCount()repeated string stored_fields = 10 [json_name = "storedFields"];- Specified by:
getStoredFieldsCountin interfaceGetDocumentRequestOrBuilder- Returns:
- The count of storedFields.
-
getStoredFields
repeated string stored_fields = 10 [json_name = "storedFields"];- Specified by:
getStoredFieldsin interfaceGetDocumentRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The storedFields at the given index.
-
getStoredFieldsBytes
public com.google.protobuf.ByteString getStoredFieldsBytes(int index) repeated string stored_fields = 10 [json_name = "storedFields"];- Specified by:
getStoredFieldsBytesin interfaceGetDocumentRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the storedFields at the given index.
-
hasVersion
public boolean hasVersion()optional int64 version = 11 [json_name = "version"];- Specified by:
hasVersionin interfaceGetDocumentRequestOrBuilder- Returns:
- Whether the version field is set.
-
getVersion
public long getVersion()optional int64 version = 11 [json_name = "version"];- Specified by:
getVersionin interfaceGetDocumentRequestOrBuilder- Returns:
- The version.
-
hasVersionType
public boolean hasVersionType()optional .VersionType version_type = 12 [json_name = "versionType"];- Specified by:
hasVersionTypein interfaceGetDocumentRequestOrBuilder- Returns:
- Whether the versionType field is set.
-
getVersionTypeValue
public int getVersionTypeValue()optional .VersionType version_type = 12 [json_name = "versionType"];- Specified by:
getVersionTypeValuein interfaceGetDocumentRequestOrBuilder- Returns:
- The enum numeric value on the wire for versionType.
-
getVersionType
optional .VersionType version_type = 12 [json_name = "versionType"];- Specified by:
getVersionTypein interfaceGetDocumentRequestOrBuilder- Returns:
- The versionType.
-
hasSourceType
public boolean hasSourceType()optional .SourceType source_type = 13 [json_name = "sourceType"];- Specified by:
hasSourceTypein interfaceGetDocumentRequestOrBuilder- Returns:
- Whether the sourceType field is set.
-
getSourceTypeValue
public int getSourceTypeValue()optional .SourceType source_type = 13 [json_name = "sourceType"];- Specified by:
getSourceTypeValuein interfaceGetDocumentRequestOrBuilder- Returns:
- The enum numeric value on the wire for sourceType.
-
getSourceType
optional .SourceType source_type = 13 [json_name = "sourceType"];- Specified by:
getSourceTypein interfaceGetDocumentRequestOrBuilder- Returns:
- The sourceType.
-
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 GetDocumentRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetDocumentRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetDocumentRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetDocumentRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetDocumentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetDocumentRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GetDocumentRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GetDocumentRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GetDocumentRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GetDocumentRequest 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 GetDocumentRequest.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
-