public static final class StructuredQuery.CollectionSelector.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StructuredQuery.CollectionSelector.Builder> implements StructuredQuery.CollectionSelectorOrBuilder
A selection of a collection, such as `messages as m1`.Protobuf type
google.firestore.v1.StructuredQuery.CollectionSelector| Modifier and Type | Method and Description |
|---|---|
StructuredQuery.CollectionSelector.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StructuredQuery.CollectionSelector |
build() |
StructuredQuery.CollectionSelector |
buildPartial() |
StructuredQuery.CollectionSelector.Builder |
clear() |
StructuredQuery.CollectionSelector.Builder |
clearAllDescendants()
When false, selects only collections that are immediate children of
the `parent` specified in the containing `RunQueryRequest`.
|
StructuredQuery.CollectionSelector.Builder |
clearCollectionId()
The collection ID.
|
StructuredQuery.CollectionSelector.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StructuredQuery.CollectionSelector.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StructuredQuery.CollectionSelector.Builder |
clone() |
boolean |
getAllDescendants()
When false, selects only collections that are immediate children of
the `parent` specified in the containing `RunQueryRequest`.
|
String |
getCollectionId()
The collection ID.
|
com.google.protobuf.ByteString |
getCollectionIdBytes()
The collection ID.
|
StructuredQuery.CollectionSelector |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
StructuredQuery.CollectionSelector.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StructuredQuery.CollectionSelector.Builder |
mergeFrom(com.google.protobuf.Message other) |
StructuredQuery.CollectionSelector.Builder |
mergeFrom(StructuredQuery.CollectionSelector other) |
StructuredQuery.CollectionSelector.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StructuredQuery.CollectionSelector.Builder |
setAllDescendants(boolean value)
When false, selects only collections that are immediate children of
the `parent` specified in the containing `RunQueryRequest`.
|
StructuredQuery.CollectionSelector.Builder |
setCollectionId(String value)
The collection ID.
|
StructuredQuery.CollectionSelector.Builder |
setCollectionIdBytes(com.google.protobuf.ByteString value)
The collection ID.
|
StructuredQuery.CollectionSelector.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StructuredQuery.CollectionSelector.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StructuredQuery.CollectionSelector.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<StructuredQuery.CollectionSelector.Builder>public StructuredQuery.CollectionSelector.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<StructuredQuery.CollectionSelector.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<StructuredQuery.CollectionSelector.Builder>public StructuredQuery.CollectionSelector getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StructuredQuery.CollectionSelector build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StructuredQuery.CollectionSelector buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StructuredQuery.CollectionSelector.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<StructuredQuery.CollectionSelector.Builder>public StructuredQuery.CollectionSelector.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<StructuredQuery.CollectionSelector.Builder>public StructuredQuery.CollectionSelector.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<StructuredQuery.CollectionSelector.Builder>public StructuredQuery.CollectionSelector.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StructuredQuery.CollectionSelector.Builder>public StructuredQuery.CollectionSelector.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<StructuredQuery.CollectionSelector.Builder>public StructuredQuery.CollectionSelector.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<StructuredQuery.CollectionSelector.Builder>public StructuredQuery.CollectionSelector.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StructuredQuery.CollectionSelector.Builder>public StructuredQuery.CollectionSelector.Builder mergeFrom(StructuredQuery.CollectionSelector other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StructuredQuery.CollectionSelector.Builder>public StructuredQuery.CollectionSelector.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<StructuredQuery.CollectionSelector.Builder>IOExceptionpublic String getCollectionId()
The collection ID. When set, selects only collections with this ID.
string collection_id = 2;getCollectionId in interface StructuredQuery.CollectionSelectorOrBuilderpublic com.google.protobuf.ByteString getCollectionIdBytes()
The collection ID. When set, selects only collections with this ID.
string collection_id = 2;getCollectionIdBytes in interface StructuredQuery.CollectionSelectorOrBuilderpublic StructuredQuery.CollectionSelector.Builder setCollectionId(String value)
The collection ID. When set, selects only collections with this ID.
string collection_id = 2;value - The collectionId to set.public StructuredQuery.CollectionSelector.Builder clearCollectionId()
The collection ID. When set, selects only collections with this ID.
string collection_id = 2;public StructuredQuery.CollectionSelector.Builder setCollectionIdBytes(com.google.protobuf.ByteString value)
The collection ID. When set, selects only collections with this ID.
string collection_id = 2;value - The bytes for collectionId to set.public boolean getAllDescendants()
When false, selects only collections that are immediate children of the `parent` specified in the containing `RunQueryRequest`. When true, selects all descendant collections.
bool all_descendants = 3;getAllDescendants in interface StructuredQuery.CollectionSelectorOrBuilderpublic StructuredQuery.CollectionSelector.Builder setAllDescendants(boolean value)
When false, selects only collections that are immediate children of the `parent` specified in the containing `RunQueryRequest`. When true, selects all descendant collections.
bool all_descendants = 3;value - The allDescendants to set.public StructuredQuery.CollectionSelector.Builder clearAllDescendants()
When false, selects only collections that are immediate children of the `parent` specified in the containing `RunQueryRequest`. When true, selects all descendant collections.
bool all_descendants = 3;public final StructuredQuery.CollectionSelector.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StructuredQuery.CollectionSelector.Builder>public final StructuredQuery.CollectionSelector.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StructuredQuery.CollectionSelector.Builder>Copyright © 2022 Google LLC. All rights reserved.