public static final class NamedQuery.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NamedQuery.Builder> implements NamedQueryOrBuilder
A Query associated with a name, created as part of the bundle file, and can be read by client SDKs once the bundle containing them is loaded.Protobuf type
google.firestore.bundle.NamedQuery
Modifier and Type | Method and Description |
---|---|
NamedQuery.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NamedQuery |
build() |
NamedQuery |
buildPartial() |
NamedQuery.Builder |
clear() |
NamedQuery.Builder |
clearBundledQuery()
The query saved in the bundle.
|
NamedQuery.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
NamedQuery.Builder |
clearName()
Name of the query, such that client can use the name to load this query
from bundle, and resume from when the query results are materialized
into this bundle.
|
NamedQuery.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
NamedQuery.Builder |
clearReadTime()
The read time of the query, when it is used to build the bundle.
|
NamedQuery.Builder |
clone() |
BundledQuery |
getBundledQuery()
The query saved in the bundle.
|
BundledQuery.Builder |
getBundledQueryBuilder()
The query saved in the bundle.
|
BundledQueryOrBuilder |
getBundledQueryOrBuilder()
The query saved in the bundle.
|
NamedQuery |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Name of the query, such that client can use the name to load this query
from bundle, and resume from when the query results are materialized
into this bundle.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the query, such that client can use the name to load this query
from bundle, and resume from when the query results are materialized
into this bundle.
|
com.google.protobuf.Timestamp |
getReadTime()
The read time of the query, when it is used to build the bundle.
|
com.google.protobuf.Timestamp.Builder |
getReadTimeBuilder()
The read time of the query, when it is used to build the bundle.
|
com.google.protobuf.TimestampOrBuilder |
getReadTimeOrBuilder()
The read time of the query, when it is used to build the bundle.
|
boolean |
hasBundledQuery()
The query saved in the bundle.
|
boolean |
hasReadTime()
The read time of the query, when it is used to build the bundle.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
NamedQuery.Builder |
mergeBundledQuery(BundledQuery value)
The query saved in the bundle.
|
NamedQuery.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NamedQuery.Builder |
mergeFrom(com.google.protobuf.Message other) |
NamedQuery.Builder |
mergeFrom(NamedQuery other) |
NamedQuery.Builder |
mergeReadTime(com.google.protobuf.Timestamp value)
The read time of the query, when it is used to build the bundle.
|
NamedQuery.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
NamedQuery.Builder |
setBundledQuery(BundledQuery.Builder builderForValue)
The query saved in the bundle.
|
NamedQuery.Builder |
setBundledQuery(BundledQuery value)
The query saved in the bundle.
|
NamedQuery.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NamedQuery.Builder |
setName(String value)
Name of the query, such that client can use the name to load this query
from bundle, and resume from when the query results are materialized
into this bundle.
|
NamedQuery.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the query, such that client can use the name to load this query
from bundle, and resume from when the query results are materialized
into this bundle.
|
NamedQuery.Builder |
setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
The read time of the query, when it is used to build the bundle.
|
NamedQuery.Builder |
setReadTime(com.google.protobuf.Timestamp value)
The read time of the query, when it is used to build the bundle.
|
NamedQuery.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
NamedQuery.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<NamedQuery.Builder>
public NamedQuery.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<NamedQuery.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<NamedQuery.Builder>
public NamedQuery getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public NamedQuery build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public NamedQuery buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public NamedQuery.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<NamedQuery.Builder>
public NamedQuery.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<NamedQuery.Builder>
public NamedQuery.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<NamedQuery.Builder>
public NamedQuery.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<NamedQuery.Builder>
public NamedQuery.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<NamedQuery.Builder>
public NamedQuery.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<NamedQuery.Builder>
public NamedQuery.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<NamedQuery.Builder>
public NamedQuery.Builder mergeFrom(NamedQuery other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<NamedQuery.Builder>
public NamedQuery.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<NamedQuery.Builder>
IOException
public String getName()
Name of the query, such that client can use the name to load this query from bundle, and resume from when the query results are materialized into this bundle.
string name = 1;
getName
in interface NamedQueryOrBuilder
public com.google.protobuf.ByteString getNameBytes()
Name of the query, such that client can use the name to load this query from bundle, and resume from when the query results are materialized into this bundle.
string name = 1;
getNameBytes
in interface NamedQueryOrBuilder
public NamedQuery.Builder setName(String value)
Name of the query, such that client can use the name to load this query from bundle, and resume from when the query results are materialized into this bundle.
string name = 1;
value
- The name to set.public NamedQuery.Builder clearName()
Name of the query, such that client can use the name to load this query from bundle, and resume from when the query results are materialized into this bundle.
string name = 1;
public NamedQuery.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the query, such that client can use the name to load this query from bundle, and resume from when the query results are materialized into this bundle.
string name = 1;
value
- The bytes for name to set.public boolean hasBundledQuery()
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
hasBundledQuery
in interface NamedQueryOrBuilder
public BundledQuery getBundledQuery()
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
getBundledQuery
in interface NamedQueryOrBuilder
public NamedQuery.Builder setBundledQuery(BundledQuery value)
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
public NamedQuery.Builder setBundledQuery(BundledQuery.Builder builderForValue)
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
public NamedQuery.Builder mergeBundledQuery(BundledQuery value)
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
public NamedQuery.Builder clearBundledQuery()
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
public BundledQuery.Builder getBundledQueryBuilder()
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
public BundledQueryOrBuilder getBundledQueryOrBuilder()
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
getBundledQueryOrBuilder
in interface NamedQueryOrBuilder
public boolean hasReadTime()
The read time of the query, when it is used to build the bundle. This is useful to resume the query from the bundle, once it is loaded by client SDKs.
.google.protobuf.Timestamp read_time = 3;
hasReadTime
in interface NamedQueryOrBuilder
public com.google.protobuf.Timestamp getReadTime()
The read time of the query, when it is used to build the bundle. This is useful to resume the query from the bundle, once it is loaded by client SDKs.
.google.protobuf.Timestamp read_time = 3;
getReadTime
in interface NamedQueryOrBuilder
public NamedQuery.Builder setReadTime(com.google.protobuf.Timestamp value)
The read time of the query, when it is used to build the bundle. This is useful to resume the query from the bundle, once it is loaded by client SDKs.
.google.protobuf.Timestamp read_time = 3;
public NamedQuery.Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
The read time of the query, when it is used to build the bundle. This is useful to resume the query from the bundle, once it is loaded by client SDKs.
.google.protobuf.Timestamp read_time = 3;
public NamedQuery.Builder mergeReadTime(com.google.protobuf.Timestamp value)
The read time of the query, when it is used to build the bundle. This is useful to resume the query from the bundle, once it is loaded by client SDKs.
.google.protobuf.Timestamp read_time = 3;
public NamedQuery.Builder clearReadTime()
The read time of the query, when it is used to build the bundle. This is useful to resume the query from the bundle, once it is loaded by client SDKs.
.google.protobuf.Timestamp read_time = 3;
public com.google.protobuf.Timestamp.Builder getReadTimeBuilder()
The read time of the query, when it is used to build the bundle. This is useful to resume the query from the bundle, once it is loaded by client SDKs.
.google.protobuf.Timestamp read_time = 3;
public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
The read time of the query, when it is used to build the bundle. This is useful to resume the query from the bundle, once it is loaded by client SDKs.
.google.protobuf.Timestamp read_time = 3;
getReadTimeOrBuilder
in interface NamedQueryOrBuilder
public final NamedQuery.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<NamedQuery.Builder>
public final NamedQuery.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<NamedQuery.Builder>
Copyright © 2023 Google LLC. All rights reserved.