public static final class StructuredQuery.FieldReference.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StructuredQuery.FieldReference.Builder> implements StructuredQuery.FieldReferenceOrBuilder
A reference to a field in a document, ex: `stats.operations`.Protobuf type
google.firestore.v1.StructuredQuery.FieldReference
Modifier and Type | Method and Description |
---|---|
StructuredQuery.FieldReference.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StructuredQuery.FieldReference |
build() |
StructuredQuery.FieldReference |
buildPartial() |
StructuredQuery.FieldReference.Builder |
clear() |
StructuredQuery.FieldReference.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StructuredQuery.FieldReference.Builder |
clearFieldPath()
The relative path of the document being referenced.
|
StructuredQuery.FieldReference.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StructuredQuery.FieldReference.Builder |
clone() |
StructuredQuery.FieldReference |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFieldPath()
The relative path of the document being referenced.
|
com.google.protobuf.ByteString |
getFieldPathBytes()
The relative path of the document being referenced.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
StructuredQuery.FieldReference.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StructuredQuery.FieldReference.Builder |
mergeFrom(com.google.protobuf.Message other) |
StructuredQuery.FieldReference.Builder |
mergeFrom(StructuredQuery.FieldReference other) |
StructuredQuery.FieldReference.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StructuredQuery.FieldReference.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StructuredQuery.FieldReference.Builder |
setFieldPath(String value)
The relative path of the document being referenced.
|
StructuredQuery.FieldReference.Builder |
setFieldPathBytes(com.google.protobuf.ByteString value)
The relative path of the document being referenced.
|
StructuredQuery.FieldReference.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StructuredQuery.FieldReference.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<StructuredQuery.FieldReference.Builder>
public StructuredQuery.FieldReference.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<StructuredQuery.FieldReference.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<StructuredQuery.FieldReference.Builder>
public StructuredQuery.FieldReference getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public StructuredQuery.FieldReference build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public StructuredQuery.FieldReference buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public StructuredQuery.FieldReference.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<StructuredQuery.FieldReference.Builder>
public StructuredQuery.FieldReference.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<StructuredQuery.FieldReference.Builder>
public StructuredQuery.FieldReference.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<StructuredQuery.FieldReference.Builder>
public StructuredQuery.FieldReference.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<StructuredQuery.FieldReference.Builder>
public StructuredQuery.FieldReference.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<StructuredQuery.FieldReference.Builder>
public StructuredQuery.FieldReference.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<StructuredQuery.FieldReference.Builder>
public StructuredQuery.FieldReference.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StructuredQuery.FieldReference.Builder>
public StructuredQuery.FieldReference.Builder mergeFrom(StructuredQuery.FieldReference other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<StructuredQuery.FieldReference.Builder>
public StructuredQuery.FieldReference.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<StructuredQuery.FieldReference.Builder>
IOException
public String getFieldPath()
The relative path of the document being referenced. Requires: * Conform to [document field name][google.firestore.v1.Document.fields] limitations.
string field_path = 2;
getFieldPath
in interface StructuredQuery.FieldReferenceOrBuilder
public com.google.protobuf.ByteString getFieldPathBytes()
The relative path of the document being referenced. Requires: * Conform to [document field name][google.firestore.v1.Document.fields] limitations.
string field_path = 2;
getFieldPathBytes
in interface StructuredQuery.FieldReferenceOrBuilder
public StructuredQuery.FieldReference.Builder setFieldPath(String value)
The relative path of the document being referenced. Requires: * Conform to [document field name][google.firestore.v1.Document.fields] limitations.
string field_path = 2;
value
- The fieldPath to set.public StructuredQuery.FieldReference.Builder clearFieldPath()
The relative path of the document being referenced. Requires: * Conform to [document field name][google.firestore.v1.Document.fields] limitations.
string field_path = 2;
public StructuredQuery.FieldReference.Builder setFieldPathBytes(com.google.protobuf.ByteString value)
The relative path of the document being referenced. Requires: * Conform to [document field name][google.firestore.v1.Document.fields] limitations.
string field_path = 2;
value
- The bytes for fieldPath to set.public final StructuredQuery.FieldReference.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StructuredQuery.FieldReference.Builder>
public final StructuredQuery.FieldReference.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StructuredQuery.FieldReference.Builder>
Copyright © 2023 Google LLC. All rights reserved.