Package com.google.datastore.v1
Class PropertyTransform.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
com.google.datastore.v1.PropertyTransform.Builder
- All Implemented Interfaces:
PropertyTransformOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PropertyTransform
public static final class PropertyTransform.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
implements PropertyTransformOrBuilder
A transformation of an entity property.Protobuf type
google.datastore.v1.PropertyTransform-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Appends the given elements in order if they are not already present in the current property value.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Adds the given value to the property's current value.Sets the property to the maximum of its current value and the given value.Sets the property to the minimum of its current value and the given value.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Optional.Removes all of the given elements from the array in the property.Sets the property to the given server value.clone()Appends the given elements in order if they are not already present in the current property value.Appends the given elements in order if they are not already present in the current property value.Appends the given elements in order if they are not already present in the current property value.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorAdds the given value to the property's current value.Adds the given value to the property's current value.Adds the given value to the property's current value.Sets the property to the maximum of its current value and the given value.Sets the property to the maximum of its current value and the given value.Sets the property to the maximum of its current value and the given value.Sets the property to the minimum of its current value and the given value.Sets the property to the minimum of its current value and the given value.Sets the property to the minimum of its current value and the given value.Optional.com.google.protobuf.ByteStringOptional.Removes all of the given elements from the array in the property.Removes all of the given elements from the array in the property.Removes all of the given elements from the array in the property.Sets the property to the given server value.intSets the property to the given server value.booleanAppends the given elements in order if they are not already present in the current property value.booleanAdds the given value to the property's current value.booleanSets the property to the maximum of its current value and the given value.booleanSets the property to the minimum of its current value and the given value.booleanRemoves all of the given elements from the array in the property.booleanSets the property to the given server value.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanAppends the given elements in order if they are not already present in the current property value.mergeFrom(PropertyTransform other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeIncrement(Value value) Adds the given value to the property's current value.mergeMaximum(Value value) Sets the property to the maximum of its current value and the given value.mergeMinimum(Value value) Sets the property to the minimum of its current value and the given value.Removes all of the given elements from the array in the property.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Appends the given elements in order if they are not already present in the current property value.setAppendMissingElements(ArrayValue.Builder builderForValue) Appends the given elements in order if they are not already present in the current property value.setIncrement(Value value) Adds the given value to the property's current value.setIncrement(Value.Builder builderForValue) Adds the given value to the property's current value.setMaximum(Value value) Sets the property to the maximum of its current value and the given value.setMaximum(Value.Builder builderForValue) Sets the property to the maximum of its current value and the given value.setMinimum(Value value) Sets the property to the minimum of its current value and the given value.setMinimum(Value.Builder builderForValue) Sets the property to the minimum of its current value and the given value.setProperty(String value) Optional.setPropertyBytes(com.google.protobuf.ByteString value) Optional.setRemoveAllFromArray(ArrayValue value) Removes all of the given elements from the array in the property.setRemoveAllFromArray(ArrayValue.Builder builderForValue) Removes all of the given elements from the array in the property.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Sets the property to the given server value.setSetToServerValueValue(int value) Sets the property to the given server value.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
-
setField
public PropertyTransform.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
-
setRepeatedField
public PropertyTransform.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
-
addRepeatedField
public PropertyTransform.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PropertyTransform.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
-
mergeFrom
public PropertyTransform.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PropertyTransform.Builder>- Throws:
IOException
-
getTransformTypeCase
- Specified by:
getTransformTypeCasein interfacePropertyTransformOrBuilder
-
clearTransformType
-
getProperty
Optional. The name of the property. Property paths (a list of property names separated by dots (`.`)) may be used to refer to properties inside entity values. For example `foo.bar` means the property `bar` inside the entity property `foo`. If a property name contains a dot `.` or a backlslash `\`, then that name must be escaped.
string property = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPropertyin interfacePropertyTransformOrBuilder- Returns:
- The property.
-
getPropertyBytes
public com.google.protobuf.ByteString getPropertyBytes()Optional. The name of the property. Property paths (a list of property names separated by dots (`.`)) may be used to refer to properties inside entity values. For example `foo.bar` means the property `bar` inside the entity property `foo`. If a property name contains a dot `.` or a backlslash `\`, then that name must be escaped.
string property = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPropertyBytesin interfacePropertyTransformOrBuilder- Returns:
- The bytes for property.
-
setProperty
Optional. The name of the property. Property paths (a list of property names separated by dots (`.`)) may be used to refer to properties inside entity values. For example `foo.bar` means the property `bar` inside the entity property `foo`. If a property name contains a dot `.` or a backlslash `\`, then that name must be escaped.
string property = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The property to set.- Returns:
- This builder for chaining.
-
clearProperty
Optional. The name of the property. Property paths (a list of property names separated by dots (`.`)) may be used to refer to properties inside entity values. For example `foo.bar` means the property `bar` inside the entity property `foo`. If a property name contains a dot `.` or a backlslash `\`, then that name must be escaped.
string property = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setPropertyBytes
Optional. The name of the property. Property paths (a list of property names separated by dots (`.`)) may be used to refer to properties inside entity values. For example `foo.bar` means the property `bar` inside the entity property `foo`. If a property name contains a dot `.` or a backlslash `\`, then that name must be escaped.
string property = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for property to set.- Returns:
- This builder for chaining.
-
hasSetToServerValue
public boolean hasSetToServerValue()Sets the property to the given server value.
.google.datastore.v1.PropertyTransform.ServerValue set_to_server_value = 2;- Specified by:
hasSetToServerValuein interfacePropertyTransformOrBuilder- Returns:
- Whether the setToServerValue field is set.
-
getSetToServerValueValue
public int getSetToServerValueValue()Sets the property to the given server value.
.google.datastore.v1.PropertyTransform.ServerValue set_to_server_value = 2;- Specified by:
getSetToServerValueValuein interfacePropertyTransformOrBuilder- Returns:
- The enum numeric value on the wire for setToServerValue.
-
setSetToServerValueValue
Sets the property to the given server value.
.google.datastore.v1.PropertyTransform.ServerValue set_to_server_value = 2;- Parameters:
value- The enum numeric value on the wire for setToServerValue to set.- Returns:
- This builder for chaining.
-
getSetToServerValue
Sets the property to the given server value.
.google.datastore.v1.PropertyTransform.ServerValue set_to_server_value = 2;- Specified by:
getSetToServerValuein interfacePropertyTransformOrBuilder- Returns:
- The setToServerValue.
-
setSetToServerValue
Sets the property to the given server value.
.google.datastore.v1.PropertyTransform.ServerValue set_to_server_value = 2;- Parameters:
value- The setToServerValue to set.- Returns:
- This builder for chaining.
-
clearSetToServerValue
Sets the property to the given server value.
.google.datastore.v1.PropertyTransform.ServerValue set_to_server_value = 2;- Returns:
- This builder for chaining.
-
hasIncrement
public boolean hasIncrement()Adds the given value to the property's current value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the given value. If either of the given value or the current property value are doubles, both values will be interpreted as doubles. Double arithmetic and representation of double values follows IEEE 754 semantics. If there is positive/negative integer overflow, the property is resolved to the largest magnitude positive/negative integer.
.google.datastore.v1.Value increment = 3;- Specified by:
hasIncrementin interfacePropertyTransformOrBuilder- Returns:
- Whether the increment field is set.
-
getIncrement
Adds the given value to the property's current value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the given value. If either of the given value or the current property value are doubles, both values will be interpreted as doubles. Double arithmetic and representation of double values follows IEEE 754 semantics. If there is positive/negative integer overflow, the property is resolved to the largest magnitude positive/negative integer.
.google.datastore.v1.Value increment = 3;- Specified by:
getIncrementin interfacePropertyTransformOrBuilder- Returns:
- The increment.
-
setIncrement
Adds the given value to the property's current value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the given value. If either of the given value or the current property value are doubles, both values will be interpreted as doubles. Double arithmetic and representation of double values follows IEEE 754 semantics. If there is positive/negative integer overflow, the property is resolved to the largest magnitude positive/negative integer.
.google.datastore.v1.Value increment = 3; -
setIncrement
Adds the given value to the property's current value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the given value. If either of the given value or the current property value are doubles, both values will be interpreted as doubles. Double arithmetic and representation of double values follows IEEE 754 semantics. If there is positive/negative integer overflow, the property is resolved to the largest magnitude positive/negative integer.
.google.datastore.v1.Value increment = 3; -
mergeIncrement
Adds the given value to the property's current value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the given value. If either of the given value or the current property value are doubles, both values will be interpreted as doubles. Double arithmetic and representation of double values follows IEEE 754 semantics. If there is positive/negative integer overflow, the property is resolved to the largest magnitude positive/negative integer.
.google.datastore.v1.Value increment = 3; -
clearIncrement
Adds the given value to the property's current value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the given value. If either of the given value or the current property value are doubles, both values will be interpreted as doubles. Double arithmetic and representation of double values follows IEEE 754 semantics. If there is positive/negative integer overflow, the property is resolved to the largest magnitude positive/negative integer.
.google.datastore.v1.Value increment = 3; -
getIncrementBuilder
Adds the given value to the property's current value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the given value. If either of the given value or the current property value are doubles, both values will be interpreted as doubles. Double arithmetic and representation of double values follows IEEE 754 semantics. If there is positive/negative integer overflow, the property is resolved to the largest magnitude positive/negative integer.
.google.datastore.v1.Value increment = 3; -
getIncrementOrBuilder
Adds the given value to the property's current value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the given value. If either of the given value or the current property value are doubles, both values will be interpreted as doubles. Double arithmetic and representation of double values follows IEEE 754 semantics. If there is positive/negative integer overflow, the property is resolved to the largest magnitude positive/negative integer.
.google.datastore.v1.Value increment = 3;- Specified by:
getIncrementOrBuilderin interfacePropertyTransformOrBuilder
-
hasMaximum
public boolean hasMaximum()Sets the property to the maximum of its current value and the given value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the given value. If a maximum operation is applied where the property and the input value are of mixed types (that is - one is an integer and one is a double) the property takes on the type of the larger operand. If the operands are equivalent (e.g. 3 and 3.0), the property 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.datastore.v1.Value maximum = 4;- Specified by:
hasMaximumin interfacePropertyTransformOrBuilder- Returns:
- Whether the maximum field is set.
-
getMaximum
Sets the property to the maximum of its current value and the given value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the given value. If a maximum operation is applied where the property and the input value are of mixed types (that is - one is an integer and one is a double) the property takes on the type of the larger operand. If the operands are equivalent (e.g. 3 and 3.0), the property 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.datastore.v1.Value maximum = 4;- Specified by:
getMaximumin interfacePropertyTransformOrBuilder- Returns:
- The maximum.
-
setMaximum
Sets the property to the maximum of its current value and the given value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the given value. If a maximum operation is applied where the property and the input value are of mixed types (that is - one is an integer and one is a double) the property takes on the type of the larger operand. If the operands are equivalent (e.g. 3 and 3.0), the property 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.datastore.v1.Value maximum = 4; -
setMaximum
Sets the property to the maximum of its current value and the given value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the given value. If a maximum operation is applied where the property and the input value are of mixed types (that is - one is an integer and one is a double) the property takes on the type of the larger operand. If the operands are equivalent (e.g. 3 and 3.0), the property 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.datastore.v1.Value maximum = 4; -
mergeMaximum
Sets the property to the maximum of its current value and the given value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the given value. If a maximum operation is applied where the property and the input value are of mixed types (that is - one is an integer and one is a double) the property takes on the type of the larger operand. If the operands are equivalent (e.g. 3 and 3.0), the property 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.datastore.v1.Value maximum = 4; -
clearMaximum
Sets the property to the maximum of its current value and the given value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the given value. If a maximum operation is applied where the property and the input value are of mixed types (that is - one is an integer and one is a double) the property takes on the type of the larger operand. If the operands are equivalent (e.g. 3 and 3.0), the property 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.datastore.v1.Value maximum = 4; -
getMaximumBuilder
Sets the property to the maximum of its current value and the given value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the given value. If a maximum operation is applied where the property and the input value are of mixed types (that is - one is an integer and one is a double) the property takes on the type of the larger operand. If the operands are equivalent (e.g. 3 and 3.0), the property 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.datastore.v1.Value maximum = 4; -
getMaximumOrBuilder
Sets the property to the maximum of its current value and the given value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the given value. If a maximum operation is applied where the property and the input value are of mixed types (that is - one is an integer and one is a double) the property takes on the type of the larger operand. If the operands are equivalent (e.g. 3 and 3.0), the property 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.datastore.v1.Value maximum = 4;- Specified by:
getMaximumOrBuilderin interfacePropertyTransformOrBuilder
-
hasMinimum
public boolean hasMinimum()Sets the property to the minimum of its current value and the given value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the input value. If a minimum operation is applied where the property and the input value are of mixed types (that is - one is an integer and one is a double) the property takes on the type of the smaller operand. If the operands are equivalent (e.g. 3 and 3.0), the property 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.datastore.v1.Value minimum = 5;- Specified by:
hasMinimumin interfacePropertyTransformOrBuilder- Returns:
- Whether the minimum field is set.
-
getMinimum
Sets the property to the minimum of its current value and the given value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the input value. If a minimum operation is applied where the property and the input value are of mixed types (that is - one is an integer and one is a double) the property takes on the type of the smaller operand. If the operands are equivalent (e.g. 3 and 3.0), the property 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.datastore.v1.Value minimum = 5;- Specified by:
getMinimumin interfacePropertyTransformOrBuilder- Returns:
- The minimum.
-
setMinimum
Sets the property to the minimum of its current value and the given value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the input value. If a minimum operation is applied where the property and the input value are of mixed types (that is - one is an integer and one is a double) the property takes on the type of the smaller operand. If the operands are equivalent (e.g. 3 and 3.0), the property 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.datastore.v1.Value minimum = 5; -
setMinimum
Sets the property to the minimum of its current value and the given value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the input value. If a minimum operation is applied where the property and the input value are of mixed types (that is - one is an integer and one is a double) the property takes on the type of the smaller operand. If the operands are equivalent (e.g. 3 and 3.0), the property 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.datastore.v1.Value minimum = 5; -
mergeMinimum
Sets the property to the minimum of its current value and the given value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the input value. If a minimum operation is applied where the property and the input value are of mixed types (that is - one is an integer and one is a double) the property takes on the type of the smaller operand. If the operands are equivalent (e.g. 3 and 3.0), the property 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.datastore.v1.Value minimum = 5; -
clearMinimum
Sets the property to the minimum of its current value and the given value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the input value. If a minimum operation is applied where the property and the input value are of mixed types (that is - one is an integer and one is a double) the property takes on the type of the smaller operand. If the operands are equivalent (e.g. 3 and 3.0), the property 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.datastore.v1.Value minimum = 5; -
getMinimumBuilder
Sets the property to the minimum of its current value and the given value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the input value. If a minimum operation is applied where the property and the input value are of mixed types (that is - one is an integer and one is a double) the property takes on the type of the smaller operand. If the operands are equivalent (e.g. 3 and 3.0), the property 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.datastore.v1.Value minimum = 5; -
getMinimumOrBuilder
Sets the property to the minimum of its current value and the given value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the input value. If a minimum operation is applied where the property and the input value are of mixed types (that is - one is an integer and one is a double) the property takes on the type of the smaller operand. If the operands are equivalent (e.g. 3 and 3.0), the property 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.datastore.v1.Value minimum = 5;- Specified by:
getMinimumOrBuilderin interfacePropertyTransformOrBuilder
-
hasAppendMissingElements
public boolean hasAppendMissingElements()Appends the given elements in order if they are not already present in the current property value. If the property is not an array, or if the property 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 the null value is equal to the null value. If the input contains multiple equivalent values, only the first will be considered. The corresponding transform result will be the null value.
.google.datastore.v1.ArrayValue append_missing_elements = 6;- Specified by:
hasAppendMissingElementsin interfacePropertyTransformOrBuilder- Returns:
- Whether the appendMissingElements field is set.
-
getAppendMissingElements
Appends the given elements in order if they are not already present in the current property value. If the property is not an array, or if the property 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 the null value is equal to the null value. If the input contains multiple equivalent values, only the first will be considered. The corresponding transform result will be the null value.
.google.datastore.v1.ArrayValue append_missing_elements = 6;- Specified by:
getAppendMissingElementsin interfacePropertyTransformOrBuilder- Returns:
- The appendMissingElements.
-
setAppendMissingElements
Appends the given elements in order if they are not already present in the current property value. If the property is not an array, or if the property 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 the null value is equal to the null value. If the input contains multiple equivalent values, only the first will be considered. The corresponding transform result will be the null value.
.google.datastore.v1.ArrayValue append_missing_elements = 6; -
setAppendMissingElements
Appends the given elements in order if they are not already present in the current property value. If the property is not an array, or if the property 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 the null value is equal to the null value. If the input contains multiple equivalent values, only the first will be considered. The corresponding transform result will be the null value.
.google.datastore.v1.ArrayValue append_missing_elements = 6; -
mergeAppendMissingElements
Appends the given elements in order if they are not already present in the current property value. If the property is not an array, or if the property 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 the null value is equal to the null value. If the input contains multiple equivalent values, only the first will be considered. The corresponding transform result will be the null value.
.google.datastore.v1.ArrayValue append_missing_elements = 6; -
clearAppendMissingElements
Appends the given elements in order if they are not already present in the current property value. If the property is not an array, or if the property 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 the null value is equal to the null value. If the input contains multiple equivalent values, only the first will be considered. The corresponding transform result will be the null value.
.google.datastore.v1.ArrayValue append_missing_elements = 6; -
getAppendMissingElementsBuilder
Appends the given elements in order if they are not already present in the current property value. If the property is not an array, or if the property 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 the null value is equal to the null value. If the input contains multiple equivalent values, only the first will be considered. The corresponding transform result will be the null value.
.google.datastore.v1.ArrayValue append_missing_elements = 6; -
getAppendMissingElementsOrBuilder
Appends the given elements in order if they are not already present in the current property value. If the property is not an array, or if the property 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 the null value is equal to the null value. If the input contains multiple equivalent values, only the first will be considered. The corresponding transform result will be the null value.
.google.datastore.v1.ArrayValue append_missing_elements = 6;- Specified by:
getAppendMissingElementsOrBuilderin interfacePropertyTransformOrBuilder
-
hasRemoveAllFromArray
public boolean hasRemoveAllFromArray()Removes all of the given elements from the array in the property. If the property is not an array, or if the property does not yet exist, it is set to the empty array. Equivalent numbers of 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 the null value is equal to the null value. This will remove all equivalent values if there are duplicates. The corresponding transform result will be the null value.
.google.datastore.v1.ArrayValue remove_all_from_array = 7;- Specified by:
hasRemoveAllFromArrayin interfacePropertyTransformOrBuilder- Returns:
- Whether the removeAllFromArray field is set.
-
getRemoveAllFromArray
Removes all of the given elements from the array in the property. If the property is not an array, or if the property does not yet exist, it is set to the empty array. Equivalent numbers of 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 the null value is equal to the null value. This will remove all equivalent values if there are duplicates. The corresponding transform result will be the null value.
.google.datastore.v1.ArrayValue remove_all_from_array = 7;- Specified by:
getRemoveAllFromArrayin interfacePropertyTransformOrBuilder- Returns:
- The removeAllFromArray.
-
setRemoveAllFromArray
Removes all of the given elements from the array in the property. If the property is not an array, or if the property does not yet exist, it is set to the empty array. Equivalent numbers of 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 the null value is equal to the null value. This will remove all equivalent values if there are duplicates. The corresponding transform result will be the null value.
.google.datastore.v1.ArrayValue remove_all_from_array = 7; -
setRemoveAllFromArray
Removes all of the given elements from the array in the property. If the property is not an array, or if the property does not yet exist, it is set to the empty array. Equivalent numbers of 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 the null value is equal to the null value. This will remove all equivalent values if there are duplicates. The corresponding transform result will be the null value.
.google.datastore.v1.ArrayValue remove_all_from_array = 7; -
mergeRemoveAllFromArray
Removes all of the given elements from the array in the property. If the property is not an array, or if the property does not yet exist, it is set to the empty array. Equivalent numbers of 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 the null value is equal to the null value. This will remove all equivalent values if there are duplicates. The corresponding transform result will be the null value.
.google.datastore.v1.ArrayValue remove_all_from_array = 7; -
clearRemoveAllFromArray
Removes all of the given elements from the array in the property. If the property is not an array, or if the property does not yet exist, it is set to the empty array. Equivalent numbers of 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 the null value is equal to the null value. This will remove all equivalent values if there are duplicates. The corresponding transform result will be the null value.
.google.datastore.v1.ArrayValue remove_all_from_array = 7; -
getRemoveAllFromArrayBuilder
Removes all of the given elements from the array in the property. If the property is not an array, or if the property does not yet exist, it is set to the empty array. Equivalent numbers of 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 the null value is equal to the null value. This will remove all equivalent values if there are duplicates. The corresponding transform result will be the null value.
.google.datastore.v1.ArrayValue remove_all_from_array = 7; -
getRemoveAllFromArrayOrBuilder
Removes all of the given elements from the array in the property. If the property is not an array, or if the property does not yet exist, it is set to the empty array. Equivalent numbers of 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 the null value is equal to the null value. This will remove all equivalent values if there are duplicates. The corresponding transform result will be the null value.
.google.datastore.v1.ArrayValue remove_all_from_array = 7;- Specified by:
getRemoveAllFromArrayOrBuilderin interfacePropertyTransformOrBuilder
-
setUnknownFields
public final PropertyTransform.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
-
mergeUnknownFields
public final PropertyTransform.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
-