public static interface DocumentTransform.FieldTransformOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
ArrayValue |
getAppendMissingElements()
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
boolean |
hasSetToServerValue()
Sets the field to the given server value.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
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;
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;
boolean hasSetToServerValue()
Sets the field to the given server value.
.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2;
int getSetToServerValueValue()
Sets the field to the given server value.
.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2;
DocumentTransform.FieldTransform.ServerValue getSetToServerValue()
Sets the field to the given server value.
.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
DocumentTransform.FieldTransform.TransformTypeCase getTransformTypeCase()
Copyright © 2023 Google LLC. All rights reserved.