public static final class BundledQuery.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BundledQuery.Builder> implements BundledQueryOrBuilder
Encodes a query saved in the bundle.Protobuf type
google.firestore.bundle.BundledQuery
Modifier and Type | Method and Description |
---|---|
BundledQuery.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BundledQuery |
build() |
BundledQuery |
buildPartial() |
BundledQuery.Builder |
clear() |
BundledQuery.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BundledQuery.Builder |
clearLimitType()
.google.firestore.bundle.BundledQuery.LimitType limit_type = 3; |
BundledQuery.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BundledQuery.Builder |
clearParent()
The parent resource name.
|
BundledQuery.Builder |
clearQueryType() |
BundledQuery.Builder |
clearStructuredQuery()
A structured query.
|
BundledQuery.Builder |
clone() |
BundledQuery |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
BundledQuery.LimitType |
getLimitType()
.google.firestore.bundle.BundledQuery.LimitType limit_type = 3; |
int |
getLimitTypeValue()
.google.firestore.bundle.BundledQuery.LimitType limit_type = 3; |
String |
getParent()
The parent resource name.
|
com.google.protobuf.ByteString |
getParentBytes()
The parent resource name.
|
BundledQuery.QueryTypeCase |
getQueryTypeCase() |
StructuredQuery |
getStructuredQuery()
A structured query.
|
StructuredQuery.Builder |
getStructuredQueryBuilder()
A structured query.
|
StructuredQueryOrBuilder |
getStructuredQueryOrBuilder()
A structured query.
|
boolean |
hasStructuredQuery()
A structured query.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BundledQuery.Builder |
mergeFrom(BundledQuery other) |
BundledQuery.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BundledQuery.Builder |
mergeFrom(com.google.protobuf.Message other) |
BundledQuery.Builder |
mergeStructuredQuery(StructuredQuery value)
A structured query.
|
BundledQuery.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BundledQuery.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BundledQuery.Builder |
setLimitType(BundledQuery.LimitType value)
.google.firestore.bundle.BundledQuery.LimitType limit_type = 3; |
BundledQuery.Builder |
setLimitTypeValue(int value)
.google.firestore.bundle.BundledQuery.LimitType limit_type = 3; |
BundledQuery.Builder |
setParent(String value)
The parent resource name.
|
BundledQuery.Builder |
setParentBytes(com.google.protobuf.ByteString value)
The parent resource name.
|
BundledQuery.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BundledQuery.Builder |
setStructuredQuery(StructuredQuery.Builder builderForValue)
A structured query.
|
BundledQuery.Builder |
setStructuredQuery(StructuredQuery value)
A structured query.
|
BundledQuery.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<BundledQuery.Builder>
public BundledQuery.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<BundledQuery.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<BundledQuery.Builder>
public BundledQuery getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public BundledQuery build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public BundledQuery buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public BundledQuery.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<BundledQuery.Builder>
public BundledQuery.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<BundledQuery.Builder>
public BundledQuery.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<BundledQuery.Builder>
public BundledQuery.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<BundledQuery.Builder>
public BundledQuery.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<BundledQuery.Builder>
public BundledQuery.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<BundledQuery.Builder>
public BundledQuery.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<BundledQuery.Builder>
public BundledQuery.Builder mergeFrom(BundledQuery other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<BundledQuery.Builder>
public BundledQuery.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<BundledQuery.Builder>
IOException
public BundledQuery.QueryTypeCase getQueryTypeCase()
getQueryTypeCase
in interface BundledQueryOrBuilder
public BundledQuery.Builder clearQueryType()
public String getParent()
The parent resource name.
string parent = 1;
getParent
in interface BundledQueryOrBuilder
public com.google.protobuf.ByteString getParentBytes()
The parent resource name.
string parent = 1;
getParentBytes
in interface BundledQueryOrBuilder
public BundledQuery.Builder setParent(String value)
The parent resource name.
string parent = 1;
value
- The parent to set.public BundledQuery.Builder clearParent()
The parent resource name.
string parent = 1;
public BundledQuery.Builder setParentBytes(com.google.protobuf.ByteString value)
The parent resource name.
string parent = 1;
value
- The bytes for parent to set.public boolean hasStructuredQuery()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
hasStructuredQuery
in interface BundledQueryOrBuilder
public StructuredQuery getStructuredQuery()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
getStructuredQuery
in interface BundledQueryOrBuilder
public BundledQuery.Builder setStructuredQuery(StructuredQuery value)
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
public BundledQuery.Builder setStructuredQuery(StructuredQuery.Builder builderForValue)
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
public BundledQuery.Builder mergeStructuredQuery(StructuredQuery value)
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
public BundledQuery.Builder clearStructuredQuery()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
public StructuredQuery.Builder getStructuredQueryBuilder()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
public StructuredQueryOrBuilder getStructuredQueryOrBuilder()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
getStructuredQueryOrBuilder
in interface BundledQueryOrBuilder
public int getLimitTypeValue()
.google.firestore.bundle.BundledQuery.LimitType limit_type = 3;
getLimitTypeValue
in interface BundledQueryOrBuilder
public BundledQuery.Builder setLimitTypeValue(int value)
.google.firestore.bundle.BundledQuery.LimitType limit_type = 3;
value
- The enum numeric value on the wire for limitType to set.public BundledQuery.LimitType getLimitType()
.google.firestore.bundle.BundledQuery.LimitType limit_type = 3;
getLimitType
in interface BundledQueryOrBuilder
public BundledQuery.Builder setLimitType(BundledQuery.LimitType value)
.google.firestore.bundle.BundledQuery.LimitType limit_type = 3;
value
- The limitType to set.public BundledQuery.Builder clearLimitType()
.google.firestore.bundle.BundledQuery.LimitType limit_type = 3;
public final BundledQuery.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BundledQuery.Builder>
public final BundledQuery.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BundledQuery.Builder>
Copyright © 2023 Google LLC. All rights reserved.