public static final class Target.QueryTarget extends GeneratedMessageV3 implements Target.QueryTargetOrBuilder
A target specified by a query.
Protobuf type google.firestore.v1.Target.QueryTarget
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Target.QueryTargetImplements
Target.QueryTargetOrBuilderStatic Fields
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Type | Description |
int |
STRUCTURED_QUERY_FIELD_NUMBER
public static final int STRUCTURED_QUERY_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Target.QueryTarget getDefaultInstance()
Type | Description |
Target.QueryTarget |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Target.QueryTarget.Builder newBuilder()
Type | Description |
Target.QueryTarget.Builder |
newBuilder(Target.QueryTarget prototype)
public static Target.QueryTarget.Builder newBuilder(Target.QueryTarget prototype)
Name | Description |
prototype | Target.QueryTarget |
Type | Description |
Target.QueryTarget.Builder |
parseDelimitedFrom(InputStream input)
public static Target.QueryTarget parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Target.QueryTarget |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Target.QueryTarget parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Target.QueryTarget |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Target.QueryTarget parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Target.QueryTarget |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Target.QueryTarget parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Target.QueryTarget |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Target.QueryTarget parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Target.QueryTarget |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Target.QueryTarget parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Target.QueryTarget |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Target.QueryTarget parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Target.QueryTarget |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Target.QueryTarget parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Target.QueryTarget |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Target.QueryTarget parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Target.QueryTarget |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Target.QueryTarget parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Target.QueryTarget |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Target.QueryTarget parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Target.QueryTarget |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Target.QueryTarget parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Target.QueryTarget |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Target.QueryTarget> parser()
Type | Description |
Parser<QueryTarget> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public Target.QueryTarget getDefaultInstanceForType()
Type | Description |
Target.QueryTarget |
getParent()
public String getParent()
The parent resource name. In the format:
projects/{project_id}/databases/{database_id}/documents
or
projects/{project_id}/databases/{database_id}/documents/{document_path}
.
For example:
projects/my-project/databases/my-database/documents
or
projects/my-project/databases/my-database/documents/chatrooms/my-chatroom
string parent = 1;
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
The parent resource name. In the format:
projects/{project_id}/databases/{database_id}/documents
or
projects/{project_id}/databases/{database_id}/documents/{document_path}
.
For example:
projects/my-project/databases/my-database/documents
or
projects/my-project/databases/my-database/documents/chatrooms/my-chatroom
string parent = 1;
Type | Description |
ByteString | The bytes for parent. |
getParserForType()
public Parser<Target.QueryTarget> getParserForType()
Type | Description |
Parser<QueryTarget> |
getQueryTypeCase()
public Target.QueryTarget.QueryTypeCase getQueryTypeCase()
Type | Description |
Target.QueryTarget.QueryTypeCase |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getStructuredQuery()
public StructuredQuery getStructuredQuery()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Type | Description |
StructuredQuery | The structuredQuery. |
getStructuredQueryOrBuilder()
public StructuredQueryOrBuilder getStructuredQueryOrBuilder()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Type | Description |
StructuredQueryOrBuilder |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasStructuredQuery()
public boolean hasStructuredQuery()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Type | Description |
boolean | Whether the structuredQuery field is set. |
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 Target.QueryTarget.Builder newBuilderForType()
Type | Description |
Target.QueryTarget.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Target.QueryTarget.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Target.QueryTarget.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Target.QueryTarget.Builder toBuilder()
Type | Description |
Target.QueryTarget.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |