public static final class StructuredQuery.Projection extends GeneratedMessageV3 implements StructuredQuery.ProjectionOrBuilder
The projection of document's fields to return.
Protobuf type google.firestore.v1.StructuredQuery.Projection
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > StructuredQuery.ProjectionImplements
StructuredQuery.ProjectionOrBuilderStatic Fields
FIELDS_FIELD_NUMBER
public static final int FIELDS_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static StructuredQuery.Projection getDefaultInstance()
Type | Description |
StructuredQuery.Projection |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static StructuredQuery.Projection.Builder newBuilder()
Type | Description |
StructuredQuery.Projection.Builder |
newBuilder(StructuredQuery.Projection prototype)
public static StructuredQuery.Projection.Builder newBuilder(StructuredQuery.Projection prototype)
Name | Description |
prototype | StructuredQuery.Projection |
Type | Description |
StructuredQuery.Projection.Builder |
parseDelimitedFrom(InputStream input)
public static StructuredQuery.Projection parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
StructuredQuery.Projection |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.Projection parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StructuredQuery.Projection |
Type | Description |
IOException |
parseFrom(byte[] data)
public static StructuredQuery.Projection parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
StructuredQuery.Projection |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.Projection parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StructuredQuery.Projection |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static StructuredQuery.Projection parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
StructuredQuery.Projection |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.Projection parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StructuredQuery.Projection |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static StructuredQuery.Projection parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
StructuredQuery.Projection |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.Projection parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StructuredQuery.Projection |
Type | Description |
IOException |
parseFrom(InputStream input)
public static StructuredQuery.Projection parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
StructuredQuery.Projection |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.Projection parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StructuredQuery.Projection |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static StructuredQuery.Projection parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
StructuredQuery.Projection |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.Projection parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StructuredQuery.Projection |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<StructuredQuery.Projection> parser()
Type | Description |
Parser<Projection> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public StructuredQuery.Projection getDefaultInstanceForType()
Type | Description |
StructuredQuery.Projection |
getFields(int index)
public StructuredQuery.FieldReference getFields(int index)
The fields to return.
If empty, all fields are returned. To only return the name
of the document, use ['name']
.
repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
Name | Description |
index | int |
Type | Description |
StructuredQuery.FieldReference |
getFieldsCount()
public int getFieldsCount()
The fields to return.
If empty, all fields are returned. To only return the name
of the document, use ['name']
.
repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
Type | Description |
int |
getFieldsList()
public List<StructuredQuery.FieldReference> getFieldsList()
The fields to return.
If empty, all fields are returned. To only return the name
of the document, use ['name']
.
repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
Type | Description |
List<FieldReference> |
getFieldsOrBuilder(int index)
public StructuredQuery.FieldReferenceOrBuilder getFieldsOrBuilder(int index)
The fields to return.
If empty, all fields are returned. To only return the name
of the document, use ['name']
.
repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
Name | Description |
index | int |
Type | Description |
StructuredQuery.FieldReferenceOrBuilder |
getFieldsOrBuilderList()
public List<? extends StructuredQuery.FieldReferenceOrBuilder> getFieldsOrBuilderList()
The fields to return.
If empty, all fields are returned. To only return the name
of the document, use ['name']
.
repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
Type | Description |
List<? extends com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> |
getParserForType()
public Parser<StructuredQuery.Projection> getParserForType()
Type | Description |
Parser<Projection> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public StructuredQuery.Projection.Builder newBuilderForType()
Type | Description |
StructuredQuery.Projection.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StructuredQuery.Projection.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
StructuredQuery.Projection.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public StructuredQuery.Projection.Builder toBuilder()
Type | Description |
StructuredQuery.Projection.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |