public static final class Target.QueryTarget.Builder extends GeneratedMessageV3.Builder<Target.QueryTarget.Builder> implements Target.QueryTargetOrBuilder
A target specified by a query.
Protobuf type google.firestore.v1.Target.QueryTarget
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Target.QueryTarget.BuilderImplements
Target.QueryTargetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Target.QueryTarget.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Target.QueryTarget.Builder |
build()
public Target.QueryTarget build()
Type | Description |
Target.QueryTarget |
buildPartial()
public Target.QueryTarget buildPartial()
Type | Description |
Target.QueryTarget |
clear()
public Target.QueryTarget.Builder clear()
Type | Description |
Target.QueryTarget.Builder |
clearField(Descriptors.FieldDescriptor field)
public Target.QueryTarget.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Target.QueryTarget.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Target.QueryTarget.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Target.QueryTarget.Builder |
clearParent()
public Target.QueryTarget.Builder clearParent()
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 |
Target.QueryTarget.Builder | This builder for chaining. |
clearQueryType()
public Target.QueryTarget.Builder clearQueryType()
Type | Description |
Target.QueryTarget.Builder |
clearStructuredQuery()
public Target.QueryTarget.Builder clearStructuredQuery()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Type | Description |
Target.QueryTarget.Builder |
clone()
public Target.QueryTarget.Builder clone()
Type | Description |
Target.QueryTarget.Builder |
getDefaultInstanceForType()
public Target.QueryTarget getDefaultInstanceForType()
Type | Description |
Target.QueryTarget |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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. |
getQueryTypeCase()
public Target.QueryTarget.QueryTypeCase getQueryTypeCase()
Type | Description |
Target.QueryTarget.QueryTypeCase |
getStructuredQuery()
public StructuredQuery getStructuredQuery()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Type | Description |
StructuredQuery | The structuredQuery. |
getStructuredQueryBuilder()
public StructuredQuery.Builder getStructuredQueryBuilder()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Type | Description |
StructuredQuery.Builder |
getStructuredQueryOrBuilder()
public StructuredQueryOrBuilder getStructuredQueryOrBuilder()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Type | Description |
StructuredQueryOrBuilder |
hasStructuredQuery()
public boolean hasStructuredQuery()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Type | Description |
boolean | Whether the structuredQuery field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Target.QueryTarget other)
public Target.QueryTarget.Builder mergeFrom(Target.QueryTarget other)
Name | Description |
other | Target.QueryTarget |
Type | Description |
Target.QueryTarget.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Target.QueryTarget.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Target.QueryTarget.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Target.QueryTarget.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Target.QueryTarget.Builder |
mergeStructuredQuery(StructuredQuery value)
public Target.QueryTarget.Builder mergeStructuredQuery(StructuredQuery value)
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Name | Description |
value | StructuredQuery |
Type | Description |
Target.QueryTarget.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Target.QueryTarget.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Target.QueryTarget.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Target.QueryTarget.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Target.QueryTarget.Builder |
setParent(String value)
public Target.QueryTarget.Builder setParent(String value)
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;
Name | Description |
value | String The parent to set. |
Type | Description |
Target.QueryTarget.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public Target.QueryTarget.Builder setParentBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
Target.QueryTarget.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Target.QueryTarget.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Target.QueryTarget.Builder |
setStructuredQuery(StructuredQuery value)
public Target.QueryTarget.Builder setStructuredQuery(StructuredQuery value)
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Name | Description |
value | StructuredQuery |
Type | Description |
Target.QueryTarget.Builder |
setStructuredQuery(StructuredQuery.Builder builderForValue)
public Target.QueryTarget.Builder setStructuredQuery(StructuredQuery.Builder builderForValue)
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Name | Description |
builderForValue | StructuredQuery.Builder |
Type | Description |
Target.QueryTarget.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Target.QueryTarget.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Target.QueryTarget.Builder |