public static final class Value.Builder extends GeneratedMessageV3.Builder<Value.Builder> implements ValueOrBuilder
A message that can hold any of the supported value types.Protobuf type
google.firestore.v1beta1.ValuegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<Value.Builder>public Value.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<Value.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<Value.Builder>public Value getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic Value build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic Value buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic Value.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<Value.Builder>public Value.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<Value.Builder>public Value.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<Value.Builder>public Value.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<Value.Builder>public Value.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<Value.Builder>public Value.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<Value.Builder>public Value.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<Value.Builder>public Value.Builder mergeFrom(Value other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<Value.Builder>public Value.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<Value.Builder>java.io.IOExceptionpublic Value.ValueTypeCase getValueTypeCase()
getValueTypeCase in interface ValueOrBuilderpublic Value.Builder clearValueType()
public int getNullValueValue()
A null value.
.google.protobuf.NullValue null_value = 11;getNullValueValue in interface ValueOrBuilderpublic Value.Builder setNullValueValue(int value)
A null value.
.google.protobuf.NullValue null_value = 11;public NullValue getNullValue()
A null value.
.google.protobuf.NullValue null_value = 11;getNullValue in interface ValueOrBuilderpublic Value.Builder setNullValue(NullValue value)
A null value.
.google.protobuf.NullValue null_value = 11;public Value.Builder clearNullValue()
A null value.
.google.protobuf.NullValue null_value = 11;public boolean getBooleanValue()
A boolean value.
bool boolean_value = 1;getBooleanValue in interface ValueOrBuilderpublic Value.Builder setBooleanValue(boolean value)
A boolean value.
bool boolean_value = 1;public Value.Builder clearBooleanValue()
A boolean value.
bool boolean_value = 1;public long getIntegerValue()
An integer value.
int64 integer_value = 2;getIntegerValue in interface ValueOrBuilderpublic Value.Builder setIntegerValue(long value)
An integer value.
int64 integer_value = 2;public Value.Builder clearIntegerValue()
An integer value.
int64 integer_value = 2;public double getDoubleValue()
A double value.
double double_value = 3;getDoubleValue in interface ValueOrBuilderpublic Value.Builder setDoubleValue(double value)
A double value.
double double_value = 3;public Value.Builder clearDoubleValue()
A double value.
double double_value = 3;public boolean hasTimestampValue()
A timestamp value. Precise only to microseconds. When stored, any additional precision is rounded down.
.google.protobuf.Timestamp timestamp_value = 10;hasTimestampValue in interface ValueOrBuilderpublic Timestamp getTimestampValue()
A timestamp value. Precise only to microseconds. When stored, any additional precision is rounded down.
.google.protobuf.Timestamp timestamp_value = 10;getTimestampValue in interface ValueOrBuilderpublic Value.Builder setTimestampValue(Timestamp value)
A timestamp value. Precise only to microseconds. When stored, any additional precision is rounded down.
.google.protobuf.Timestamp timestamp_value = 10;public Value.Builder setTimestampValue(Timestamp.Builder builderForValue)
A timestamp value. Precise only to microseconds. When stored, any additional precision is rounded down.
.google.protobuf.Timestamp timestamp_value = 10;public Value.Builder mergeTimestampValue(Timestamp value)
A timestamp value. Precise only to microseconds. When stored, any additional precision is rounded down.
.google.protobuf.Timestamp timestamp_value = 10;public Value.Builder clearTimestampValue()
A timestamp value. Precise only to microseconds. When stored, any additional precision is rounded down.
.google.protobuf.Timestamp timestamp_value = 10;public Timestamp.Builder getTimestampValueBuilder()
A timestamp value. Precise only to microseconds. When stored, any additional precision is rounded down.
.google.protobuf.Timestamp timestamp_value = 10;public TimestampOrBuilder getTimestampValueOrBuilder()
A timestamp value. Precise only to microseconds. When stored, any additional precision is rounded down.
.google.protobuf.Timestamp timestamp_value = 10;getTimestampValueOrBuilder in interface ValueOrBuilderpublic java.lang.String getStringValue()
A string value. The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes of the UTF-8 representation are considered by queries.
string string_value = 17;getStringValue in interface ValueOrBuilderpublic ByteString getStringValueBytes()
A string value. The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes of the UTF-8 representation are considered by queries.
string string_value = 17;getStringValueBytes in interface ValueOrBuilderpublic Value.Builder setStringValue(java.lang.String value)
A string value. The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes of the UTF-8 representation are considered by queries.
string string_value = 17;public Value.Builder clearStringValue()
A string value. The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes of the UTF-8 representation are considered by queries.
string string_value = 17;public Value.Builder setStringValueBytes(ByteString value)
A string value. The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes of the UTF-8 representation are considered by queries.
string string_value = 17;public ByteString getBytesValue()
A bytes value. Must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes are considered by queries.
bytes bytes_value = 18;getBytesValue in interface ValueOrBuilderpublic Value.Builder setBytesValue(ByteString value)
A bytes value. Must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes are considered by queries.
bytes bytes_value = 18;public Value.Builder clearBytesValue()
A bytes value. Must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes are considered by queries.
bytes bytes_value = 18;public java.lang.String getReferenceValue()
A reference to a document. For example:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
string reference_value = 5;getReferenceValue in interface ValueOrBuilderpublic ByteString getReferenceValueBytes()
A reference to a document. For example:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
string reference_value = 5;getReferenceValueBytes in interface ValueOrBuilderpublic Value.Builder setReferenceValue(java.lang.String value)
A reference to a document. For example:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
string reference_value = 5;public Value.Builder clearReferenceValue()
A reference to a document. For example:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
string reference_value = 5;public Value.Builder setReferenceValueBytes(ByteString value)
A reference to a document. For example:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
string reference_value = 5;public boolean hasGeoPointValue()
A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;hasGeoPointValue in interface ValueOrBuilderpublic LatLng getGeoPointValue()
A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;getGeoPointValue in interface ValueOrBuilderpublic Value.Builder setGeoPointValue(LatLng value)
A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;public Value.Builder setGeoPointValue(LatLng.Builder builderForValue)
A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;public Value.Builder mergeGeoPointValue(LatLng value)
A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;public Value.Builder clearGeoPointValue()
A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;public LatLng.Builder getGeoPointValueBuilder()
A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;public LatLngOrBuilder getGeoPointValueOrBuilder()
A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;getGeoPointValueOrBuilder in interface ValueOrBuilderpublic boolean hasArrayValue()
An array value. Cannot contain another array value.
.google.firestore.v1beta1.ArrayValue array_value = 9;hasArrayValue in interface ValueOrBuilderpublic ArrayValue getArrayValue()
An array value. Cannot contain another array value.
.google.firestore.v1beta1.ArrayValue array_value = 9;getArrayValue in interface ValueOrBuilderpublic Value.Builder setArrayValue(ArrayValue value)
An array value. Cannot contain another array value.
.google.firestore.v1beta1.ArrayValue array_value = 9;public Value.Builder setArrayValue(ArrayValue.Builder builderForValue)
An array value. Cannot contain another array value.
.google.firestore.v1beta1.ArrayValue array_value = 9;public Value.Builder mergeArrayValue(ArrayValue value)
An array value. Cannot contain another array value.
.google.firestore.v1beta1.ArrayValue array_value = 9;public Value.Builder clearArrayValue()
An array value. Cannot contain another array value.
.google.firestore.v1beta1.ArrayValue array_value = 9;public ArrayValue.Builder getArrayValueBuilder()
An array value. Cannot contain another array value.
.google.firestore.v1beta1.ArrayValue array_value = 9;public ArrayValueOrBuilder getArrayValueOrBuilder()
An array value. Cannot contain another array value.
.google.firestore.v1beta1.ArrayValue array_value = 9;getArrayValueOrBuilder in interface ValueOrBuilderpublic boolean hasMapValue()
A map value.
.google.firestore.v1beta1.MapValue map_value = 6;hasMapValue in interface ValueOrBuilderpublic MapValue getMapValue()
A map value.
.google.firestore.v1beta1.MapValue map_value = 6;getMapValue in interface ValueOrBuilderpublic Value.Builder setMapValue(MapValue value)
A map value.
.google.firestore.v1beta1.MapValue map_value = 6;public Value.Builder setMapValue(MapValue.Builder builderForValue)
A map value.
.google.firestore.v1beta1.MapValue map_value = 6;public Value.Builder mergeMapValue(MapValue value)
A map value.
.google.firestore.v1beta1.MapValue map_value = 6;public Value.Builder clearMapValue()
A map value.
.google.firestore.v1beta1.MapValue map_value = 6;public MapValue.Builder getMapValueBuilder()
A map value.
.google.firestore.v1beta1.MapValue map_value = 6;public MapValueOrBuilder getMapValueOrBuilder()
A map value.
.google.firestore.v1beta1.MapValue map_value = 6;getMapValueOrBuilder in interface ValueOrBuilderpublic final Value.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<Value.Builder>public final Value.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<Value.Builder>