Package org.opensearch.protobufs
Interface GetDocumentRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GetDocumentRequest,GetDocumentRequest.Builder
public interface GetDocumentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetId()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"];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"];optional .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"];repeated 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"];repeated 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"];repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];optional .SourceConfigParam x_source = 3 [json_name = "xSource"];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"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
String getId()string id = 1 [json_name = "id"];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];- Returns:
- The bytes for id.
-
getIndex
String getIndex()string index = 2 [json_name = "index"];- Returns:
- The index.
-
getIndexBytes
com.google.protobuf.ByteString getIndexBytes()string index = 2 [json_name = "index"];- Returns:
- The bytes for index.
-
hasXSource
boolean hasXSource()optional .SourceConfigParam x_source = 3 [json_name = "xSource"];- Returns:
- Whether the xSource field is set.
-
getXSource
SourceConfigParam getXSource()optional .SourceConfigParam x_source = 3 [json_name = "xSource"];- Returns:
- The xSource.
-
getXSourceOrBuilder
SourceConfigParamOrBuilder getXSourceOrBuilder()optional .SourceConfigParam x_source = 3 [json_name = "xSource"]; -
getXSourceExcludesList
repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];- Returns:
- A list containing the xSourceExcludes.
-
getXSourceExcludesCount
int getXSourceExcludesCount()repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];- Returns:
- The count of xSourceExcludes.
-
getXSourceExcludes
repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];- Parameters:
index- The index of the element to return.- Returns:
- The xSourceExcludes at the given index.
-
getXSourceExcludesBytes
com.google.protobuf.ByteString getXSourceExcludesBytes(int index) repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the xSourceExcludes at the given index.
-
getXSourceIncludesList
repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];- Returns:
- A list containing the xSourceIncludes.
-
getXSourceIncludesCount
int getXSourceIncludesCount()repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];- Returns:
- The count of xSourceIncludes.
-
getXSourceIncludes
repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];- Parameters:
index- The index of the element to return.- Returns:
- The xSourceIncludes at the given index.
-
getXSourceIncludesBytes
com.google.protobuf.ByteString getXSourceIncludesBytes(int index) repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the xSourceIncludes at the given index.
-
hasPreference
boolean hasPreference()optional string preference = 6 [json_name = "preference"];- Returns:
- Whether the preference field is set.
-
getPreference
String getPreference()optional string preference = 6 [json_name = "preference"];- Returns:
- The preference.
-
getPreferenceBytes
com.google.protobuf.ByteString getPreferenceBytes()optional string preference = 6 [json_name = "preference"];- Returns:
- The bytes for preference.
-
hasRealtime
boolean hasRealtime()optional bool realtime = 7 [json_name = "realtime"];- Returns:
- Whether the realtime field is set.
-
getRealtime
boolean getRealtime()optional bool realtime = 7 [json_name = "realtime"];- Returns:
- The realtime.
-
hasRefresh
boolean hasRefresh()optional bool refresh = 8 [json_name = "refresh"];- Returns:
- Whether the refresh field is set.
-
getRefresh
boolean getRefresh()optional bool refresh = 8 [json_name = "refresh"];- Returns:
- The refresh.
-
hasRouting
boolean hasRouting()optional string routing = 9 [json_name = "routing"];- Returns:
- Whether the routing field is set.
-
getRouting
String getRouting()optional string routing = 9 [json_name = "routing"];- Returns:
- The routing.
-
getRoutingBytes
com.google.protobuf.ByteString getRoutingBytes()optional string routing = 9 [json_name = "routing"];- Returns:
- The bytes for routing.
-
getStoredFieldsList
repeated string stored_fields = 10 [json_name = "storedFields"];- Returns:
- A list containing the storedFields.
-
getStoredFieldsCount
int getStoredFieldsCount()repeated string stored_fields = 10 [json_name = "storedFields"];- Returns:
- The count of storedFields.
-
getStoredFields
repeated string stored_fields = 10 [json_name = "storedFields"];- Parameters:
index- The index of the element to return.- Returns:
- The storedFields at the given index.
-
getStoredFieldsBytes
com.google.protobuf.ByteString getStoredFieldsBytes(int index) repeated string stored_fields = 10 [json_name = "storedFields"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the storedFields at the given index.
-
hasVersion
boolean hasVersion()optional int64 version = 11 [json_name = "version"];- Returns:
- Whether the version field is set.
-
getVersion
long getVersion()optional int64 version = 11 [json_name = "version"];- Returns:
- The version.
-
hasVersionType
boolean hasVersionType()optional .VersionType version_type = 12 [json_name = "versionType"];- Returns:
- Whether the versionType field is set.
-
getVersionTypeValue
int getVersionTypeValue()optional .VersionType version_type = 12 [json_name = "versionType"];- Returns:
- The enum numeric value on the wire for versionType.
-
getVersionType
VersionType getVersionType()optional .VersionType version_type = 12 [json_name = "versionType"];- Returns:
- The versionType.
-
hasSourceType
boolean hasSourceType()optional .SourceType source_type = 13 [json_name = "sourceType"];- Returns:
- Whether the sourceType field is set.
-
getSourceTypeValue
int getSourceTypeValue()optional .SourceType source_type = 13 [json_name = "sourceType"];- Returns:
- The enum numeric value on the wire for sourceType.
-
getSourceType
SourceType getSourceType()optional .SourceType source_type = 13 [json_name = "sourceType"];- Returns:
- The sourceType.
-