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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ALL_DESCENDANTS_FIELD_NUMBER
public static final int ALL_DESCENDANTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
COLLECTION_ID_FIELD_NUMBER
public static final int COLLECTION_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static StructuredQuery.CollectionSelector getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static StructuredQuery.CollectionSelector.Builder newBuilder()
newBuilder(StructuredQuery.CollectionSelector prototype)
public static StructuredQuery.CollectionSelector.Builder newBuilder(StructuredQuery.CollectionSelector prototype)
public static StructuredQuery.CollectionSelector parseDelimitedFrom(InputStream input)
public static StructuredQuery.CollectionSelector parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static StructuredQuery.CollectionSelector parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.CollectionSelector parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static StructuredQuery.CollectionSelector parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.CollectionSelector parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.CollectionSelector parseFrom(CodedInputStream input)
public static StructuredQuery.CollectionSelector parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.CollectionSelector parseFrom(InputStream input)
public static StructuredQuery.CollectionSelector parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static StructuredQuery.CollectionSelector parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.CollectionSelector parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<StructuredQuery.CollectionSelector> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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()
getParserForType()
public Parser<StructuredQuery.CollectionSelector> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public StructuredQuery.CollectionSelector.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StructuredQuery.CollectionSelector.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public StructuredQuery.CollectionSelector.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides