public static final class DocumentTransform.FieldTransform.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder> implements DocumentTransform.FieldTransformOrBuilder
A transformation of a field of the document.Protobuf type
google.firestore.v1.DocumentTransform.FieldTransform| Modifier and Type | Method and Description |
|---|---|
DocumentTransform.FieldTransform.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DocumentTransform.FieldTransform |
build() |
DocumentTransform.FieldTransform |
buildPartial() |
DocumentTransform.FieldTransform.Builder |
clear() |
DocumentTransform.FieldTransform.Builder |
clearAppendMissingElements()
Append the given elements in order if they are not already present in
the current field value.
|
DocumentTransform.FieldTransform.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DocumentTransform.FieldTransform.Builder |
clearFieldPath()
The path of the field.
|
DocumentTransform.FieldTransform.Builder |
clearIncrement()
Adds the given value to the field's current value.
|
DocumentTransform.FieldTransform.Builder |
clearMaximum()
Sets the field to the maximum of its current value and the given value.
|
DocumentTransform.FieldTransform.Builder |
clearMinimum()
Sets the field to the minimum of its current value and the given value.
|
DocumentTransform.FieldTransform.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DocumentTransform.FieldTransform.Builder |
clearRemoveAllFromArray()
Remove all of the given elements from the array in the field.
|
DocumentTransform.FieldTransform.Builder |
clearSetToServerValue()
Sets the field to the given server value.
|
DocumentTransform.FieldTransform.Builder |
clearTransformType() |
DocumentTransform.FieldTransform.Builder |
clone() |
ArrayValue |
getAppendMissingElements()
Append the given elements in order if they are not already present in
the current field value.
|
ArrayValue.Builder |
getAppendMissingElementsBuilder()
Append the given elements in order if they are not already present in
the current field value.
|
ArrayValueOrBuilder |
getAppendMissingElementsOrBuilder()
Append the given elements in order if they are not already present in
the current field value.
|
DocumentTransform.FieldTransform |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFieldPath()
The path of the field.
|
com.google.protobuf.ByteString |
getFieldPathBytes()
The path of the field.
|
Value |
getIncrement()
Adds the given value to the field's current value.
|
Value.Builder |
getIncrementBuilder()
Adds the given value to the field's current value.
|
ValueOrBuilder |
getIncrementOrBuilder()
Adds the given value to the field's current value.
|
Value |
getMaximum()
Sets the field to the maximum of its current value and the given value.
|
Value.Builder |
getMaximumBuilder()
Sets the field to the maximum of its current value and the given value.
|
ValueOrBuilder |
getMaximumOrBuilder()
Sets the field to the maximum of its current value and the given value.
|
Value |
getMinimum()
Sets the field to the minimum of its current value and the given value.
|
Value.Builder |
getMinimumBuilder()
Sets the field to the minimum of its current value and the given value.
|
ValueOrBuilder |
getMinimumOrBuilder()
Sets the field to the minimum of its current value and the given value.
|
ArrayValue |
getRemoveAllFromArray()
Remove all of the given elements from the array in the field.
|
ArrayValue.Builder |
getRemoveAllFromArrayBuilder()
Remove all of the given elements from the array in the field.
|
ArrayValueOrBuilder |
getRemoveAllFromArrayOrBuilder()
Remove all of the given elements from the array in the field.
|
DocumentTransform.FieldTransform.ServerValue |
getSetToServerValue()
Sets the field to the given server value.
|
int |
getSetToServerValueValue()
Sets the field to the given server value.
|
DocumentTransform.FieldTransform.TransformTypeCase |
getTransformTypeCase() |
boolean |
hasAppendMissingElements()
Append the given elements in order if they are not already present in
the current field value.
|
boolean |
hasIncrement()
Adds the given value to the field's current value.
|
boolean |
hasMaximum()
Sets the field to the maximum of its current value and the given value.
|
boolean |
hasMinimum()
Sets the field to the minimum of its current value and the given value.
|
boolean |
hasRemoveAllFromArray()
Remove all of the given elements from the array in the field.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DocumentTransform.FieldTransform.Builder |
mergeAppendMissingElements(ArrayValue value)
Append the given elements in order if they are not already present in
the current field value.
|
DocumentTransform.FieldTransform.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DocumentTransform.FieldTransform.Builder |
mergeFrom(DocumentTransform.FieldTransform other) |
DocumentTransform.FieldTransform.Builder |
mergeFrom(com.google.protobuf.Message other) |
DocumentTransform.FieldTransform.Builder |
mergeIncrement(Value value)
Adds the given value to the field's current value.
|
DocumentTransform.FieldTransform.Builder |
mergeMaximum(Value value)
Sets the field to the maximum of its current value and the given value.
|
DocumentTransform.FieldTransform.Builder |
mergeMinimum(Value value)
Sets the field to the minimum of its current value and the given value.
|
DocumentTransform.FieldTransform.Builder |
mergeRemoveAllFromArray(ArrayValue value)
Remove all of the given elements from the array in the field.
|
DocumentTransform.FieldTransform.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DocumentTransform.FieldTransform.Builder |
setAppendMissingElements(ArrayValue.Builder builderForValue)
Append the given elements in order if they are not already present in
the current field value.
|
DocumentTransform.FieldTransform.Builder |
setAppendMissingElements(ArrayValue value)
Append the given elements in order if they are not already present in
the current field value.
|
DocumentTransform.FieldTransform.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DocumentTransform.FieldTransform.Builder |
setFieldPath(String value)
The path of the field.
|
DocumentTransform.FieldTransform.Builder |
setFieldPathBytes(com.google.protobuf.ByteString value)
The path of the field.
|
DocumentTransform.FieldTransform.Builder |
setIncrement(Value.Builder builderForValue)
Adds the given value to the field's current value.
|
DocumentTransform.FieldTransform.Builder |
setIncrement(Value value)
Adds the given value to the field's current value.
|
DocumentTransform.FieldTransform.Builder |
setMaximum(Value.Builder builderForValue)
Sets the field to the maximum of its current value and the given value.
|
DocumentTransform.FieldTransform.Builder |
setMaximum(Value value)
Sets the field to the maximum of its current value and the given value.
|
DocumentTransform.FieldTransform.Builder |
setMinimum(Value.Builder builderForValue)
Sets the field to the minimum of its current value and the given value.
|
DocumentTransform.FieldTransform.Builder |
setMinimum(Value value)
Sets the field to the minimum of its current value and the given value.
|
DocumentTransform.FieldTransform.Builder |
setRemoveAllFromArray(ArrayValue.Builder builderForValue)
Remove all of the given elements from the array in the field.
|
DocumentTransform.FieldTransform.Builder |
setRemoveAllFromArray(ArrayValue value)
Remove all of the given elements from the array in the field.
|
DocumentTransform.FieldTransform.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DocumentTransform.FieldTransform.Builder |
setSetToServerValue(DocumentTransform.FieldTransform.ServerValue value)
Sets the field to the given server value.
|
DocumentTransform.FieldTransform.Builder |
setSetToServerValueValue(int value)
Sets the field to the given server value.
|
DocumentTransform.FieldTransform.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, 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, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>public DocumentTransform.FieldTransform.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>public DocumentTransform.FieldTransform getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DocumentTransform.FieldTransform build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DocumentTransform.FieldTransform buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DocumentTransform.FieldTransform.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>public DocumentTransform.FieldTransform.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>public DocumentTransform.FieldTransform.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>public DocumentTransform.FieldTransform.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>public DocumentTransform.FieldTransform.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>public DocumentTransform.FieldTransform.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>public DocumentTransform.FieldTransform.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DocumentTransform.FieldTransform.Builder>public DocumentTransform.FieldTransform.Builder mergeFrom(DocumentTransform.FieldTransform other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>public DocumentTransform.FieldTransform.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DocumentTransform.FieldTransform.Builder>IOExceptionpublic DocumentTransform.FieldTransform.TransformTypeCase getTransformTypeCase()
getTransformTypeCase in interface DocumentTransform.FieldTransformOrBuilderpublic DocumentTransform.FieldTransform.Builder clearTransformType()
public String getFieldPath()
The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax reference.
string field_path = 1;getFieldPath in interface DocumentTransform.FieldTransformOrBuilderpublic com.google.protobuf.ByteString getFieldPathBytes()
The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax reference.
string field_path = 1;getFieldPathBytes in interface DocumentTransform.FieldTransformOrBuilderpublic DocumentTransform.FieldTransform.Builder setFieldPath(String value)
The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax reference.
string field_path = 1;public DocumentTransform.FieldTransform.Builder clearFieldPath()
The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax reference.
string field_path = 1;public DocumentTransform.FieldTransform.Builder setFieldPathBytes(com.google.protobuf.ByteString value)
The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax reference.
string field_path = 1;public int getSetToServerValueValue()
Sets the field to the given server value.
.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2;
getSetToServerValueValue in interface DocumentTransform.FieldTransformOrBuilderpublic DocumentTransform.FieldTransform.Builder setSetToServerValueValue(int value)
Sets the field to the given server value.
.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2;
public DocumentTransform.FieldTransform.ServerValue getSetToServerValue()
Sets the field to the given server value.
.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2;
getSetToServerValue in interface DocumentTransform.FieldTransformOrBuilderpublic DocumentTransform.FieldTransform.Builder setSetToServerValue(DocumentTransform.FieldTransform.ServerValue value)
Sets the field to the given server value.
.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2;
public DocumentTransform.FieldTransform.Builder clearSetToServerValue()
Sets the field to the given server value.
.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2;
public boolean hasIncrement()
Adds the given value to the field's current value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the given value. If either of the given value or the current field value are doubles, both values will be interpreted as doubles. Double arithmetic and representation of double values follow IEEE 754 semantics. If there is positive/negative integer overflow, the field is resolved to the largest magnitude positive/negative integer.
.google.firestore.v1.Value increment = 3;hasIncrement in interface DocumentTransform.FieldTransformOrBuilderpublic Value getIncrement()
Adds the given value to the field's current value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the given value. If either of the given value or the current field value are doubles, both values will be interpreted as doubles. Double arithmetic and representation of double values follow IEEE 754 semantics. If there is positive/negative integer overflow, the field is resolved to the largest magnitude positive/negative integer.
.google.firestore.v1.Value increment = 3;getIncrement in interface DocumentTransform.FieldTransformOrBuilderpublic DocumentTransform.FieldTransform.Builder setIncrement(Value value)
Adds the given value to the field's current value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the given value. If either of the given value or the current field value are doubles, both values will be interpreted as doubles. Double arithmetic and representation of double values follow IEEE 754 semantics. If there is positive/negative integer overflow, the field is resolved to the largest magnitude positive/negative integer.
.google.firestore.v1.Value increment = 3;public DocumentTransform.FieldTransform.Builder setIncrement(Value.Builder builderForValue)
Adds the given value to the field's current value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the given value. If either of the given value or the current field value are doubles, both values will be interpreted as doubles. Double arithmetic and representation of double values follow IEEE 754 semantics. If there is positive/negative integer overflow, the field is resolved to the largest magnitude positive/negative integer.
.google.firestore.v1.Value increment = 3;public DocumentTransform.FieldTransform.Builder mergeIncrement(Value value)
Adds the given value to the field's current value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the given value. If either of the given value or the current field value are doubles, both values will be interpreted as doubles. Double arithmetic and representation of double values follow IEEE 754 semantics. If there is positive/negative integer overflow, the field is resolved to the largest magnitude positive/negative integer.
.google.firestore.v1.Value increment = 3;public DocumentTransform.FieldTransform.Builder clearIncrement()
Adds the given value to the field's current value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the given value. If either of the given value or the current field value are doubles, both values will be interpreted as doubles. Double arithmetic and representation of double values follow IEEE 754 semantics. If there is positive/negative integer overflow, the field is resolved to the largest magnitude positive/negative integer.
.google.firestore.v1.Value increment = 3;public Value.Builder getIncrementBuilder()
Adds the given value to the field's current value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the given value. If either of the given value or the current field value are doubles, both values will be interpreted as doubles. Double arithmetic and representation of double values follow IEEE 754 semantics. If there is positive/negative integer overflow, the field is resolved to the largest magnitude positive/negative integer.
.google.firestore.v1.Value increment = 3;public ValueOrBuilder getIncrementOrBuilder()
Adds the given value to the field's current value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the given value. If either of the given value or the current field value are doubles, both values will be interpreted as doubles. Double arithmetic and representation of double values follow IEEE 754 semantics. If there is positive/negative integer overflow, the field is resolved to the largest magnitude positive/negative integer.
.google.firestore.v1.Value increment = 3;getIncrementOrBuilder in interface DocumentTransform.FieldTransformOrBuilderpublic boolean hasMaximum()
Sets the field to the maximum of its current value and the given value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the given value. If a maximum operation is applied where the field and the input value are of mixed types (that is - one is an integer and one is a double) the field takes on the type of the larger operand. If the operands are equivalent (e.g. 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and zero input value is always the stored value. The maximum of any numeric value x and NaN is NaN.
.google.firestore.v1.Value maximum = 4;hasMaximum in interface DocumentTransform.FieldTransformOrBuilderpublic Value getMaximum()
Sets the field to the maximum of its current value and the given value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the given value. If a maximum operation is applied where the field and the input value are of mixed types (that is - one is an integer and one is a double) the field takes on the type of the larger operand. If the operands are equivalent (e.g. 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and zero input value is always the stored value. The maximum of any numeric value x and NaN is NaN.
.google.firestore.v1.Value maximum = 4;getMaximum in interface DocumentTransform.FieldTransformOrBuilderpublic DocumentTransform.FieldTransform.Builder setMaximum(Value value)
Sets the field to the maximum of its current value and the given value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the given value. If a maximum operation is applied where the field and the input value are of mixed types (that is - one is an integer and one is a double) the field takes on the type of the larger operand. If the operands are equivalent (e.g. 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and zero input value is always the stored value. The maximum of any numeric value x and NaN is NaN.
.google.firestore.v1.Value maximum = 4;public DocumentTransform.FieldTransform.Builder setMaximum(Value.Builder builderForValue)
Sets the field to the maximum of its current value and the given value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the given value. If a maximum operation is applied where the field and the input value are of mixed types (that is - one is an integer and one is a double) the field takes on the type of the larger operand. If the operands are equivalent (e.g. 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and zero input value is always the stored value. The maximum of any numeric value x and NaN is NaN.
.google.firestore.v1.Value maximum = 4;public DocumentTransform.FieldTransform.Builder mergeMaximum(Value value)
Sets the field to the maximum of its current value and the given value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the given value. If a maximum operation is applied where the field and the input value are of mixed types (that is - one is an integer and one is a double) the field takes on the type of the larger operand. If the operands are equivalent (e.g. 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and zero input value is always the stored value. The maximum of any numeric value x and NaN is NaN.
.google.firestore.v1.Value maximum = 4;public DocumentTransform.FieldTransform.Builder clearMaximum()
Sets the field to the maximum of its current value and the given value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the given value. If a maximum operation is applied where the field and the input value are of mixed types (that is - one is an integer and one is a double) the field takes on the type of the larger operand. If the operands are equivalent (e.g. 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and zero input value is always the stored value. The maximum of any numeric value x and NaN is NaN.
.google.firestore.v1.Value maximum = 4;public Value.Builder getMaximumBuilder()
Sets the field to the maximum of its current value and the given value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the given value. If a maximum operation is applied where the field and the input value are of mixed types (that is - one is an integer and one is a double) the field takes on the type of the larger operand. If the operands are equivalent (e.g. 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and zero input value is always the stored value. The maximum of any numeric value x and NaN is NaN.
.google.firestore.v1.Value maximum = 4;public ValueOrBuilder getMaximumOrBuilder()
Sets the field to the maximum of its current value and the given value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the given value. If a maximum operation is applied where the field and the input value are of mixed types (that is - one is an integer and one is a double) the field takes on the type of the larger operand. If the operands are equivalent (e.g. 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and zero input value is always the stored value. The maximum of any numeric value x and NaN is NaN.
.google.firestore.v1.Value maximum = 4;getMaximumOrBuilder in interface DocumentTransform.FieldTransformOrBuilderpublic boolean hasMinimum()
Sets the field to the minimum of its current value and the given value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the input value. If a minimum operation is applied where the field and the input value are of mixed types (that is - one is an integer and one is a double) the field takes on the type of the smaller operand. If the operands are equivalent (e.g. 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and zero input value is always the stored value. The minimum of any numeric value x and NaN is NaN.
.google.firestore.v1.Value minimum = 5;hasMinimum in interface DocumentTransform.FieldTransformOrBuilderpublic Value getMinimum()
Sets the field to the minimum of its current value and the given value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the input value. If a minimum operation is applied where the field and the input value are of mixed types (that is - one is an integer and one is a double) the field takes on the type of the smaller operand. If the operands are equivalent (e.g. 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and zero input value is always the stored value. The minimum of any numeric value x and NaN is NaN.
.google.firestore.v1.Value minimum = 5;getMinimum in interface DocumentTransform.FieldTransformOrBuilderpublic DocumentTransform.FieldTransform.Builder setMinimum(Value value)
Sets the field to the minimum of its current value and the given value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the input value. If a minimum operation is applied where the field and the input value are of mixed types (that is - one is an integer and one is a double) the field takes on the type of the smaller operand. If the operands are equivalent (e.g. 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and zero input value is always the stored value. The minimum of any numeric value x and NaN is NaN.
.google.firestore.v1.Value minimum = 5;public DocumentTransform.FieldTransform.Builder setMinimum(Value.Builder builderForValue)
Sets the field to the minimum of its current value and the given value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the input value. If a minimum operation is applied where the field and the input value are of mixed types (that is - one is an integer and one is a double) the field takes on the type of the smaller operand. If the operands are equivalent (e.g. 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and zero input value is always the stored value. The minimum of any numeric value x and NaN is NaN.
.google.firestore.v1.Value minimum = 5;public DocumentTransform.FieldTransform.Builder mergeMinimum(Value value)
Sets the field to the minimum of its current value and the given value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the input value. If a minimum operation is applied where the field and the input value are of mixed types (that is - one is an integer and one is a double) the field takes on the type of the smaller operand. If the operands are equivalent (e.g. 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and zero input value is always the stored value. The minimum of any numeric value x and NaN is NaN.
.google.firestore.v1.Value minimum = 5;public DocumentTransform.FieldTransform.Builder clearMinimum()
Sets the field to the minimum of its current value and the given value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the input value. If a minimum operation is applied where the field and the input value are of mixed types (that is - one is an integer and one is a double) the field takes on the type of the smaller operand. If the operands are equivalent (e.g. 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and zero input value is always the stored value. The minimum of any numeric value x and NaN is NaN.
.google.firestore.v1.Value minimum = 5;public Value.Builder getMinimumBuilder()
Sets the field to the minimum of its current value and the given value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the input value. If a minimum operation is applied where the field and the input value are of mixed types (that is - one is an integer and one is a double) the field takes on the type of the smaller operand. If the operands are equivalent (e.g. 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and zero input value is always the stored value. The minimum of any numeric value x and NaN is NaN.
.google.firestore.v1.Value minimum = 5;public ValueOrBuilder getMinimumOrBuilder()
Sets the field to the minimum of its current value and the given value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the input value. If a minimum operation is applied where the field and the input value are of mixed types (that is - one is an integer and one is a double) the field takes on the type of the smaller operand. If the operands are equivalent (e.g. 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and zero input value is always the stored value. The minimum of any numeric value x and NaN is NaN.
.google.firestore.v1.Value minimum = 5;getMinimumOrBuilder in interface DocumentTransform.FieldTransformOrBuilderpublic boolean hasAppendMissingElements()
Append the given elements in order if they are not already present in the current field value. If the field is not an array, or if the field does not yet exist, it is first set to the empty array. Equivalent numbers of different types (e.g. 3L and 3.0) are considered equal when checking if a value is missing. NaN is equal to NaN, and Null is equal to Null. If the input contains multiple equivalent values, only the first will be considered. The corresponding transform_result will be the null value.
.google.firestore.v1.ArrayValue append_missing_elements = 6;hasAppendMissingElements in interface DocumentTransform.FieldTransformOrBuilderpublic ArrayValue getAppendMissingElements()
Append the given elements in order if they are not already present in the current field value. If the field is not an array, or if the field does not yet exist, it is first set to the empty array. Equivalent numbers of different types (e.g. 3L and 3.0) are considered equal when checking if a value is missing. NaN is equal to NaN, and Null is equal to Null. If the input contains multiple equivalent values, only the first will be considered. The corresponding transform_result will be the null value.
.google.firestore.v1.ArrayValue append_missing_elements = 6;getAppendMissingElements in interface DocumentTransform.FieldTransformOrBuilderpublic DocumentTransform.FieldTransform.Builder setAppendMissingElements(ArrayValue value)
Append the given elements in order if they are not already present in the current field value. If the field is not an array, or if the field does not yet exist, it is first set to the empty array. Equivalent numbers of different types (e.g. 3L and 3.0) are considered equal when checking if a value is missing. NaN is equal to NaN, and Null is equal to Null. If the input contains multiple equivalent values, only the first will be considered. The corresponding transform_result will be the null value.
.google.firestore.v1.ArrayValue append_missing_elements = 6;public DocumentTransform.FieldTransform.Builder setAppendMissingElements(ArrayValue.Builder builderForValue)
Append the given elements in order if they are not already present in the current field value. If the field is not an array, or if the field does not yet exist, it is first set to the empty array. Equivalent numbers of different types (e.g. 3L and 3.0) are considered equal when checking if a value is missing. NaN is equal to NaN, and Null is equal to Null. If the input contains multiple equivalent values, only the first will be considered. The corresponding transform_result will be the null value.
.google.firestore.v1.ArrayValue append_missing_elements = 6;public DocumentTransform.FieldTransform.Builder mergeAppendMissingElements(ArrayValue value)
Append the given elements in order if they are not already present in the current field value. If the field is not an array, or if the field does not yet exist, it is first set to the empty array. Equivalent numbers of different types (e.g. 3L and 3.0) are considered equal when checking if a value is missing. NaN is equal to NaN, and Null is equal to Null. If the input contains multiple equivalent values, only the first will be considered. The corresponding transform_result will be the null value.
.google.firestore.v1.ArrayValue append_missing_elements = 6;public DocumentTransform.FieldTransform.Builder clearAppendMissingElements()
Append the given elements in order if they are not already present in the current field value. If the field is not an array, or if the field does not yet exist, it is first set to the empty array. Equivalent numbers of different types (e.g. 3L and 3.0) are considered equal when checking if a value is missing. NaN is equal to NaN, and Null is equal to Null. If the input contains multiple equivalent values, only the first will be considered. The corresponding transform_result will be the null value.
.google.firestore.v1.ArrayValue append_missing_elements = 6;public ArrayValue.Builder getAppendMissingElementsBuilder()
Append the given elements in order if they are not already present in the current field value. If the field is not an array, or if the field does not yet exist, it is first set to the empty array. Equivalent numbers of different types (e.g. 3L and 3.0) are considered equal when checking if a value is missing. NaN is equal to NaN, and Null is equal to Null. If the input contains multiple equivalent values, only the first will be considered. The corresponding transform_result will be the null value.
.google.firestore.v1.ArrayValue append_missing_elements = 6;public ArrayValueOrBuilder getAppendMissingElementsOrBuilder()
Append the given elements in order if they are not already present in the current field value. If the field is not an array, or if the field does not yet exist, it is first set to the empty array. Equivalent numbers of different types (e.g. 3L and 3.0) are considered equal when checking if a value is missing. NaN is equal to NaN, and Null is equal to Null. If the input contains multiple equivalent values, only the first will be considered. The corresponding transform_result will be the null value.
.google.firestore.v1.ArrayValue append_missing_elements = 6;getAppendMissingElementsOrBuilder in interface DocumentTransform.FieldTransformOrBuilderpublic boolean hasRemoveAllFromArray()
Remove all of the given elements from the array in the field. If the field is not an array, or if the field does not yet exist, it is set to the empty array. Equivalent numbers of the different types (e.g. 3L and 3.0) are considered equal when deciding whether an element should be removed. NaN is equal to NaN, and Null is equal to Null. This will remove all equivalent values if there are duplicates. The corresponding transform_result will be the null value.
.google.firestore.v1.ArrayValue remove_all_from_array = 7;hasRemoveAllFromArray in interface DocumentTransform.FieldTransformOrBuilderpublic ArrayValue getRemoveAllFromArray()
Remove all of the given elements from the array in the field. If the field is not an array, or if the field does not yet exist, it is set to the empty array. Equivalent numbers of the different types (e.g. 3L and 3.0) are considered equal when deciding whether an element should be removed. NaN is equal to NaN, and Null is equal to Null. This will remove all equivalent values if there are duplicates. The corresponding transform_result will be the null value.
.google.firestore.v1.ArrayValue remove_all_from_array = 7;getRemoveAllFromArray in interface DocumentTransform.FieldTransformOrBuilderpublic DocumentTransform.FieldTransform.Builder setRemoveAllFromArray(ArrayValue value)
Remove all of the given elements from the array in the field. If the field is not an array, or if the field does not yet exist, it is set to the empty array. Equivalent numbers of the different types (e.g. 3L and 3.0) are considered equal when deciding whether an element should be removed. NaN is equal to NaN, and Null is equal to Null. This will remove all equivalent values if there are duplicates. The corresponding transform_result will be the null value.
.google.firestore.v1.ArrayValue remove_all_from_array = 7;public DocumentTransform.FieldTransform.Builder setRemoveAllFromArray(ArrayValue.Builder builderForValue)
Remove all of the given elements from the array in the field. If the field is not an array, or if the field does not yet exist, it is set to the empty array. Equivalent numbers of the different types (e.g. 3L and 3.0) are considered equal when deciding whether an element should be removed. NaN is equal to NaN, and Null is equal to Null. This will remove all equivalent values if there are duplicates. The corresponding transform_result will be the null value.
.google.firestore.v1.ArrayValue remove_all_from_array = 7;public DocumentTransform.FieldTransform.Builder mergeRemoveAllFromArray(ArrayValue value)
Remove all of the given elements from the array in the field. If the field is not an array, or if the field does not yet exist, it is set to the empty array. Equivalent numbers of the different types (e.g. 3L and 3.0) are considered equal when deciding whether an element should be removed. NaN is equal to NaN, and Null is equal to Null. This will remove all equivalent values if there are duplicates. The corresponding transform_result will be the null value.
.google.firestore.v1.ArrayValue remove_all_from_array = 7;public DocumentTransform.FieldTransform.Builder clearRemoveAllFromArray()
Remove all of the given elements from the array in the field. If the field is not an array, or if the field does not yet exist, it is set to the empty array. Equivalent numbers of the different types (e.g. 3L and 3.0) are considered equal when deciding whether an element should be removed. NaN is equal to NaN, and Null is equal to Null. This will remove all equivalent values if there are duplicates. The corresponding transform_result will be the null value.
.google.firestore.v1.ArrayValue remove_all_from_array = 7;public ArrayValue.Builder getRemoveAllFromArrayBuilder()
Remove all of the given elements from the array in the field. If the field is not an array, or if the field does not yet exist, it is set to the empty array. Equivalent numbers of the different types (e.g. 3L and 3.0) are considered equal when deciding whether an element should be removed. NaN is equal to NaN, and Null is equal to Null. This will remove all equivalent values if there are duplicates. The corresponding transform_result will be the null value.
.google.firestore.v1.ArrayValue remove_all_from_array = 7;public ArrayValueOrBuilder getRemoveAllFromArrayOrBuilder()
Remove all of the given elements from the array in the field. If the field is not an array, or if the field does not yet exist, it is set to the empty array. Equivalent numbers of the different types (e.g. 3L and 3.0) are considered equal when deciding whether an element should be removed. NaN is equal to NaN, and Null is equal to Null. This will remove all equivalent values if there are duplicates. The corresponding transform_result will be the null value.
.google.firestore.v1.ArrayValue remove_all_from_array = 7;getRemoveAllFromArrayOrBuilder in interface DocumentTransform.FieldTransformOrBuilderpublic final DocumentTransform.FieldTransform.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>public final DocumentTransform.FieldTransform.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>Copyright © 2019 Google LLC. All rights reserved.