public static final class Target.DocumentsTarget.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Target.DocumentsTarget.Builder> implements Target.DocumentsTargetOrBuilder
A target specified by a set of documents names.Protobuf type
google.firestore.v1.Target.DocumentsTarget| Modifier and Type | Method and Description |
|---|---|
Target.DocumentsTarget.Builder |
addAllDocuments(Iterable<String> values)
The names of the documents to retrieve.
|
Target.DocumentsTarget.Builder |
addDocuments(String value)
The names of the documents to retrieve.
|
Target.DocumentsTarget.Builder |
addDocumentsBytes(com.google.protobuf.ByteString value)
The names of the documents to retrieve.
|
Target.DocumentsTarget.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Target.DocumentsTarget |
build() |
Target.DocumentsTarget |
buildPartial() |
Target.DocumentsTarget.Builder |
clear() |
Target.DocumentsTarget.Builder |
clearDocuments()
The names of the documents to retrieve.
|
Target.DocumentsTarget.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Target.DocumentsTarget.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Target.DocumentsTarget.Builder |
clone() |
Target.DocumentsTarget |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDocuments(int index)
The names of the documents to retrieve.
|
com.google.protobuf.ByteString |
getDocumentsBytes(int index)
The names of the documents to retrieve.
|
int |
getDocumentsCount()
The names of the documents to retrieve.
|
com.google.protobuf.ProtocolStringList |
getDocumentsList()
The names of the documents to retrieve.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Target.DocumentsTarget.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Target.DocumentsTarget.Builder |
mergeFrom(com.google.protobuf.Message other) |
Target.DocumentsTarget.Builder |
mergeFrom(Target.DocumentsTarget other) |
Target.DocumentsTarget.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Target.DocumentsTarget.Builder |
setDocuments(int index,
String value)
The names of the documents to retrieve.
|
Target.DocumentsTarget.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Target.DocumentsTarget.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Target.DocumentsTarget.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Target.DocumentsTarget.Builder>public Target.DocumentsTarget.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Target.DocumentsTarget.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Target.DocumentsTarget.Builder>public Target.DocumentsTarget getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Target.DocumentsTarget build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Target.DocumentsTarget buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Target.DocumentsTarget.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Target.DocumentsTarget.Builder>public Target.DocumentsTarget.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Target.DocumentsTarget.Builder>public Target.DocumentsTarget.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Target.DocumentsTarget.Builder>public Target.DocumentsTarget.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Target.DocumentsTarget.Builder>public Target.DocumentsTarget.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Target.DocumentsTarget.Builder>public Target.DocumentsTarget.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Target.DocumentsTarget.Builder>public Target.DocumentsTarget.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Target.DocumentsTarget.Builder>public Target.DocumentsTarget.Builder mergeFrom(Target.DocumentsTarget other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Target.DocumentsTarget.Builder>public Target.DocumentsTarget.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Target.DocumentsTarget.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getDocumentsList()
The names of the documents to retrieve. In the format:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
The request will fail if any of the document is not a child resource of
the given `database`. Duplicate names will be elided.
repeated string documents = 2;getDocumentsList in interface Target.DocumentsTargetOrBuilderpublic int getDocumentsCount()
The names of the documents to retrieve. In the format:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
The request will fail if any of the document is not a child resource of
the given `database`. Duplicate names will be elided.
repeated string documents = 2;getDocumentsCount in interface Target.DocumentsTargetOrBuilderpublic String getDocuments(int index)
The names of the documents to retrieve. In the format:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
The request will fail if any of the document is not a child resource of
the given `database`. Duplicate names will be elided.
repeated string documents = 2;getDocuments in interface Target.DocumentsTargetOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getDocumentsBytes(int index)
The names of the documents to retrieve. In the format:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
The request will fail if any of the document is not a child resource of
the given `database`. Duplicate names will be elided.
repeated string documents = 2;getDocumentsBytes in interface Target.DocumentsTargetOrBuilderindex - The index of the value to return.public Target.DocumentsTarget.Builder setDocuments(int index, String value)
The names of the documents to retrieve. In the format:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
The request will fail if any of the document is not a child resource of
the given `database`. Duplicate names will be elided.
repeated string documents = 2;index - The index to set the value at.value - The documents to set.public Target.DocumentsTarget.Builder addDocuments(String value)
The names of the documents to retrieve. In the format:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
The request will fail if any of the document is not a child resource of
the given `database`. Duplicate names will be elided.
repeated string documents = 2;value - The documents to add.public Target.DocumentsTarget.Builder addAllDocuments(Iterable<String> values)
The names of the documents to retrieve. In the format:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
The request will fail if any of the document is not a child resource of
the given `database`. Duplicate names will be elided.
repeated string documents = 2;values - The documents to add.public Target.DocumentsTarget.Builder clearDocuments()
The names of the documents to retrieve. In the format:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
The request will fail if any of the document is not a child resource of
the given `database`. Duplicate names will be elided.
repeated string documents = 2;public Target.DocumentsTarget.Builder addDocumentsBytes(com.google.protobuf.ByteString value)
The names of the documents to retrieve. In the format:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
The request will fail if any of the document is not a child resource of
the given `database`. Duplicate names will be elided.
repeated string documents = 2;value - The bytes of the documents to add.public final Target.DocumentsTarget.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Target.DocumentsTarget.Builder>public final Target.DocumentsTarget.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Target.DocumentsTarget.Builder>Copyright © 2023 Google LLC. All rights reserved.