Package org.opensearch.protobufs
Class GetDocumentRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GetDocumentRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>
org.opensearch.protobufs.GetDocumentRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,GetDocumentRequestOrBuilder
- Enclosing class:
GetDocumentRequest
public static final class GetDocumentRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>
implements GetDocumentRequestOrBuilder
Protobuf type
GetDocumentRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllStoredFields(Iterable<String> values) repeated string stored_fields = 10 [json_name = "storedFields"];addAllXSourceExcludes(Iterable<String> values) repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];addAllXSourceIncludes(Iterable<String> values) repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addStoredFields(String value) repeated string stored_fields = 10 [json_name = "storedFields"];addStoredFieldsBytes(com.google.protobuf.ByteString value) repeated string stored_fields = 10 [json_name = "storedFields"];addXSourceExcludes(String value) repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];addXSourceExcludesBytes(com.google.protobuf.ByteString value) repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];addXSourceIncludes(String value) repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];addXSourceIncludesBytes(com.google.protobuf.ByteString value) repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()string id = 1 [json_name = "id"];string index = 2 [json_name = "index"];clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional string preference = 6 [json_name = "preference"];optional bool realtime = 7 [json_name = "realtime"];optional bool refresh = 8 [json_name = "refresh"];optional string routing = 9 [json_name = "routing"];optional .SourceType source_type = 13 [json_name = "sourceType"];repeated string stored_fields = 10 [json_name = "storedFields"];optional int64 version = 11 [json_name = "version"];optional .VersionType version_type = 12 [json_name = "versionType"];optional .SourceConfigParam x_source = 3 [json_name = "xSource"];repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];clone()static final com.google.protobuf.Descriptors.Descriptorcom.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"];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"];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"];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"];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 booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(GetDocumentRequest other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeXSource(SourceConfigParam value) optional .SourceConfigParam x_source = 3 [json_name = "xSource"];string id = 1 [json_name = "id"];setIdBytes(com.google.protobuf.ByteString value) string id = 1 [json_name = "id"];string index = 2 [json_name = "index"];setIndexBytes(com.google.protobuf.ByteString value) string index = 2 [json_name = "index"];setPreference(String value) optional string preference = 6 [json_name = "preference"];setPreferenceBytes(com.google.protobuf.ByteString value) optional string preference = 6 [json_name = "preference"];setRealtime(boolean value) optional bool realtime = 7 [json_name = "realtime"];setRefresh(boolean value) optional bool refresh = 8 [json_name = "refresh"];setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRouting(String value) optional string routing = 9 [json_name = "routing"];setRoutingBytes(com.google.protobuf.ByteString value) optional string routing = 9 [json_name = "routing"];setSourceType(SourceType value) optional .SourceType source_type = 13 [json_name = "sourceType"];setSourceTypeValue(int value) optional .SourceType source_type = 13 [json_name = "sourceType"];setStoredFields(int index, String value) repeated string stored_fields = 10 [json_name = "storedFields"];setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setVersion(long value) optional int64 version = 11 [json_name = "version"];setVersionType(VersionType value) optional .VersionType version_type = 12 [json_name = "versionType"];setVersionTypeValue(int value) optional .VersionType version_type = 12 [json_name = "versionType"];setXSource(SourceConfigParam value) optional .SourceConfigParam x_source = 3 [json_name = "xSource"];setXSource(SourceConfigParam.Builder builderForValue) optional .SourceConfigParam x_source = 3 [json_name = "xSource"];setXSourceExcludes(int index, String value) repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];setXSourceIncludes(int index, String value) repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<GetDocumentRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>
-
setField
public GetDocumentRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>
-
setRepeatedField
public GetDocumentRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>
-
addRepeatedField
public GetDocumentRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetDocumentRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>
-
mergeFrom
public GetDocumentRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetDocumentRequest.Builder>- Throws:
IOException
-
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.
-
setId
string id = 1 [json_name = "id"];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
string id = 1 [json_name = "id"];- Returns:
- This builder for chaining.
-
setIdBytes
string id = 1 [json_name = "id"];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
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.
-
setIndex
string index = 2 [json_name = "index"];- Parameters:
value- The index to set.- Returns:
- This builder for chaining.
-
clearIndex
string index = 2 [json_name = "index"];- Returns:
- This builder for chaining.
-
setIndexBytes
string index = 2 [json_name = "index"];- Parameters:
value- The bytes for index to set.- Returns:
- This builder for chaining.
-
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.
-
setXSource
optional .SourceConfigParam x_source = 3 [json_name = "xSource"]; -
setXSource
optional .SourceConfigParam x_source = 3 [json_name = "xSource"]; -
mergeXSource
optional .SourceConfigParam x_source = 3 [json_name = "xSource"]; -
clearXSource
optional .SourceConfigParam x_source = 3 [json_name = "xSource"]; -
getXSourceBuilder
optional .SourceConfigParam x_source = 3 [json_name = "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.
-
setXSourceExcludes
repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];- Parameters:
index- The index to set the value at.value- The xSourceExcludes to set.- Returns:
- This builder for chaining.
-
addXSourceExcludes
repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];- Parameters:
value- The xSourceExcludes to add.- Returns:
- This builder for chaining.
-
addAllXSourceExcludes
repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];- Parameters:
values- The xSourceExcludes to add.- Returns:
- This builder for chaining.
-
clearXSourceExcludes
repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];- Returns:
- This builder for chaining.
-
addXSourceExcludesBytes
repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];- Parameters:
value- The bytes of the xSourceExcludes to add.- Returns:
- This builder for chaining.
-
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.
-
setXSourceIncludes
repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];- Parameters:
index- The index to set the value at.value- The xSourceIncludes to set.- Returns:
- This builder for chaining.
-
addXSourceIncludes
repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];- Parameters:
value- The xSourceIncludes to add.- Returns:
- This builder for chaining.
-
addAllXSourceIncludes
repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];- Parameters:
values- The xSourceIncludes to add.- Returns:
- This builder for chaining.
-
clearXSourceIncludes
repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];- Returns:
- This builder for chaining.
-
addXSourceIncludesBytes
repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];- Parameters:
value- The bytes of the xSourceIncludes to add.- Returns:
- This builder for chaining.
-
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.
-
setPreference
optional string preference = 6 [json_name = "preference"];- Parameters:
value- The preference to set.- Returns:
- This builder for chaining.
-
clearPreference
optional string preference = 6 [json_name = "preference"];- Returns:
- This builder for chaining.
-
setPreferenceBytes
optional string preference = 6 [json_name = "preference"];- Parameters:
value- The bytes for preference to set.- Returns:
- This builder for chaining.
-
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.
-
setRealtime
optional bool realtime = 7 [json_name = "realtime"];- Parameters:
value- The realtime to set.- Returns:
- This builder for chaining.
-
clearRealtime
optional bool realtime = 7 [json_name = "realtime"];- Returns:
- This builder for chaining.
-
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.
-
setRefresh
optional bool refresh = 8 [json_name = "refresh"];- Parameters:
value- The refresh to set.- Returns:
- This builder for chaining.
-
clearRefresh
optional bool refresh = 8 [json_name = "refresh"];- Returns:
- This builder for chaining.
-
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.
-
setRouting
optional string routing = 9 [json_name = "routing"];- Parameters:
value- The routing to set.- Returns:
- This builder for chaining.
-
clearRouting
optional string routing = 9 [json_name = "routing"];- Returns:
- This builder for chaining.
-
setRoutingBytes
optional string routing = 9 [json_name = "routing"];- Parameters:
value- The bytes for routing to set.- Returns:
- This builder for chaining.
-
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.
-
setStoredFields
repeated string stored_fields = 10 [json_name = "storedFields"];- Parameters:
index- The index to set the value at.value- The storedFields to set.- Returns:
- This builder for chaining.
-
addStoredFields
repeated string stored_fields = 10 [json_name = "storedFields"];- Parameters:
value- The storedFields to add.- Returns:
- This builder for chaining.
-
addAllStoredFields
repeated string stored_fields = 10 [json_name = "storedFields"];- Parameters:
values- The storedFields to add.- Returns:
- This builder for chaining.
-
clearStoredFields
repeated string stored_fields = 10 [json_name = "storedFields"];- Returns:
- This builder for chaining.
-
addStoredFieldsBytes
repeated string stored_fields = 10 [json_name = "storedFields"];- Parameters:
value- The bytes of the storedFields to add.- Returns:
- This builder for chaining.
-
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.
-
setVersion
optional int64 version = 11 [json_name = "version"];- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
optional int64 version = 11 [json_name = "version"];- Returns:
- This builder for chaining.
-
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.
-
setVersionTypeValue
optional .VersionType version_type = 12 [json_name = "versionType"];- Parameters:
value- The enum numeric value on the wire for versionType to set.- Returns:
- This builder for chaining.
-
getVersionType
optional .VersionType version_type = 12 [json_name = "versionType"];- Specified by:
getVersionTypein interfaceGetDocumentRequestOrBuilder- Returns:
- The versionType.
-
setVersionType
optional .VersionType version_type = 12 [json_name = "versionType"];- Parameters:
value- The versionType to set.- Returns:
- This builder for chaining.
-
clearVersionType
optional .VersionType version_type = 12 [json_name = "versionType"];- Returns:
- This builder for chaining.
-
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.
-
setSourceTypeValue
optional .SourceType source_type = 13 [json_name = "sourceType"];- Parameters:
value- The enum numeric value on the wire for sourceType to set.- Returns:
- This builder for chaining.
-
getSourceType
optional .SourceType source_type = 13 [json_name = "sourceType"];- Specified by:
getSourceTypein interfaceGetDocumentRequestOrBuilder- Returns:
- The sourceType.
-
setSourceType
optional .SourceType source_type = 13 [json_name = "sourceType"];- Parameters:
value- The sourceType to set.- Returns:
- This builder for chaining.
-
clearSourceType
optional .SourceType source_type = 13 [json_name = "sourceType"];- Returns:
- This builder for chaining.
-
setUnknownFields
public final GetDocumentRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>
-
mergeUnknownFields
public final GetDocumentRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetDocumentRequest.Builder>
-