public static final class StructuredQuery.CollectionSelector extends GeneratedMessageV3 implements StructuredQuery.CollectionSelectorOrBuilder
A selection of a collection, such as messages as m1
.
Protobuf type google.firestore.v1.StructuredQuery.CollectionSelector
Static Fields
ALL_DESCENDANTS_FIELD_NUMBER
public static final int ALL_DESCENDANTS_FIELD_NUMBER
Field Value
COLLECTION_ID_FIELD_NUMBER
public static final int COLLECTION_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static StructuredQuery.CollectionSelector getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static StructuredQuery.CollectionSelector.Builder newBuilder()
Returns
newBuilder(StructuredQuery.CollectionSelector prototype)
public static StructuredQuery.CollectionSelector.Builder newBuilder(StructuredQuery.CollectionSelector prototype)
Parameter
Returns
public static StructuredQuery.CollectionSelector parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StructuredQuery.CollectionSelector parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static StructuredQuery.CollectionSelector parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.CollectionSelector parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static StructuredQuery.CollectionSelector parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.CollectionSelector parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StructuredQuery.CollectionSelector parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StructuredQuery.CollectionSelector parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StructuredQuery.CollectionSelector parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StructuredQuery.CollectionSelector parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static StructuredQuery.CollectionSelector parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.CollectionSelector parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<StructuredQuery.CollectionSelector> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAllDescendants()
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;
Returns
Type | Description |
boolean | The allDescendants.
|
getCollectionId()
public String getCollectionId()
The collection ID.
When set, selects only collections with this ID.
string collection_id = 2;
Returns
Type | Description |
String | The collectionId.
|
getCollectionIdBytes()
public ByteString getCollectionIdBytes()
The collection ID.
When set, selects only collections with this ID.
string collection_id = 2;
Returns
Type | Description |
ByteString | The bytes for collectionId.
|
getDefaultInstanceForType()
public StructuredQuery.CollectionSelector getDefaultInstanceForType()
Returns
getParserForType()
public Parser<StructuredQuery.CollectionSelector> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public StructuredQuery.CollectionSelector.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StructuredQuery.CollectionSelector.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public StructuredQuery.CollectionSelector.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions