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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Target.DocumentsTarget.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Target.DocumentsTarget.Builder>
public Target.DocumentsTarget getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Target.DocumentsTarget build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Target.DocumentsTarget buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Target.DocumentsTarget.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Target.DocumentsTarget.Builder>
IOException
public 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.DocumentsTargetOrBuilder
public 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.DocumentsTargetOrBuilder
public 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.DocumentsTargetOrBuilder
index
- 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.DocumentsTargetOrBuilder
index
- 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Target.DocumentsTarget.Builder>
Copyright © 2023 Google LLC. All rights reserved.