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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
    • clear

      public PropertyTransform.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
    • getDefaultInstanceForType

      public PropertyTransform getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public PropertyTransform build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public PropertyTransform buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public PropertyTransform.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
    • setField

      public PropertyTransform.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
    • clearField

      public PropertyTransform.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
    • clearOneof

      public PropertyTransform.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
    • setRepeatedField

      public PropertyTransform.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
    • addRepeatedField

      public PropertyTransform.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
    • mergeFrom

      public PropertyTransform.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PropertyTransform.Builder>
    • mergeFrom

      public PropertyTransform.Builder mergeFrom(PropertyTransform other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PropertyTransform.Builder>
      Throws:
      IOException
    • getTransformTypeCase

      public PropertyTransform.TransformTypeCase getTransformTypeCase()
      Specified by:
      getTransformTypeCase in interface PropertyTransformOrBuilder
    • clearTransformType

      public PropertyTransform.Builder clearTransformType()
    • getProperty

      public String 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:
      getProperty in interface PropertyTransformOrBuilder
      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:
      getPropertyBytes in interface PropertyTransformOrBuilder
      Returns:
      The bytes for property.
    • setProperty

      public PropertyTransform.Builder setProperty(String value)
       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

      public PropertyTransform.Builder 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

      public PropertyTransform.Builder setPropertyBytes(com.google.protobuf.ByteString value)
       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:
      hasSetToServerValue in interface PropertyTransformOrBuilder
      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:
      getSetToServerValueValue in interface PropertyTransformOrBuilder
      Returns:
      The enum numeric value on the wire for setToServerValue.
    • setSetToServerValueValue

      public PropertyTransform.Builder setSetToServerValueValue(int value)
       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

      public PropertyTransform.ServerValue getSetToServerValue()
       Sets the property to the given server value.
       
      .google.datastore.v1.PropertyTransform.ServerValue set_to_server_value = 2;
      Specified by:
      getSetToServerValue in interface PropertyTransformOrBuilder
      Returns:
      The setToServerValue.
    • setSetToServerValue

      public PropertyTransform.Builder setSetToServerValue(PropertyTransform.ServerValue value)
       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

      public PropertyTransform.Builder 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:
      hasIncrement in interface PropertyTransformOrBuilder
      Returns:
      Whether the increment field is set.
    • getIncrement

      public Value 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:
      getIncrement in interface PropertyTransformOrBuilder
      Returns:
      The increment.
    • setIncrement

      public PropertyTransform.Builder setIncrement(Value value)
       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

      public PropertyTransform.Builder setIncrement(Value.Builder builderForValue)
       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

      public PropertyTransform.Builder mergeIncrement(Value value)
       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

      public PropertyTransform.Builder 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

      public Value.Builder 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

      public ValueOrBuilder 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:
      getIncrementOrBuilder in interface PropertyTransformOrBuilder
    • 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:
      hasMaximum in interface PropertyTransformOrBuilder
      Returns:
      Whether the maximum field is set.
    • getMaximum

      public Value 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:
      getMaximum in interface PropertyTransformOrBuilder
      Returns:
      The maximum.
    • setMaximum

      public PropertyTransform.Builder setMaximum(Value value)
       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

      public PropertyTransform.Builder setMaximum(Value.Builder builderForValue)
       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

      public PropertyTransform.Builder mergeMaximum(Value value)
       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

      public PropertyTransform.Builder 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

      public Value.Builder 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

      public ValueOrBuilder 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:
      getMaximumOrBuilder in interface PropertyTransformOrBuilder
    • 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:
      hasMinimum in interface PropertyTransformOrBuilder
      Returns:
      Whether the minimum field is set.
    • getMinimum

      public Value 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:
      getMinimum in interface PropertyTransformOrBuilder
      Returns:
      The minimum.
    • setMinimum

      public PropertyTransform.Builder setMinimum(Value value)
       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

      public PropertyTransform.Builder setMinimum(Value.Builder builderForValue)
       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

      public PropertyTransform.Builder mergeMinimum(Value value)
       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

      public PropertyTransform.Builder 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

      public Value.Builder 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

      public ValueOrBuilder 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:
      getMinimumOrBuilder in interface PropertyTransformOrBuilder
    • 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:
      hasAppendMissingElements in interface PropertyTransformOrBuilder
      Returns:
      Whether the appendMissingElements field is set.
    • getAppendMissingElements

      public ArrayValue 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:
      getAppendMissingElements in interface PropertyTransformOrBuilder
      Returns:
      The appendMissingElements.
    • setAppendMissingElements

      public PropertyTransform.Builder setAppendMissingElements(ArrayValue value)
       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

      public PropertyTransform.Builder setAppendMissingElements(ArrayValue.Builder builderForValue)
       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

      public PropertyTransform.Builder mergeAppendMissingElements(ArrayValue value)
       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

      public PropertyTransform.Builder 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

      public ArrayValue.Builder 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

      public ArrayValueOrBuilder 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:
      getAppendMissingElementsOrBuilder in interface PropertyTransformOrBuilder
    • 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:
      hasRemoveAllFromArray in interface PropertyTransformOrBuilder
      Returns:
      Whether the removeAllFromArray field is set.
    • getRemoveAllFromArray

      public ArrayValue 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:
      getRemoveAllFromArray in interface PropertyTransformOrBuilder
      Returns:
      The removeAllFromArray.
    • setRemoveAllFromArray

      public PropertyTransform.Builder setRemoveAllFromArray(ArrayValue value)
       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

      public PropertyTransform.Builder setRemoveAllFromArray(ArrayValue.Builder builderForValue)
       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

      public PropertyTransform.Builder mergeRemoveAllFromArray(ArrayValue value)
       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

      public PropertyTransform.Builder 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

      public ArrayValue.Builder 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

      public ArrayValueOrBuilder 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:
      getRemoveAllFromArrayOrBuilder in interface PropertyTransformOrBuilder
    • setUnknownFields

      public final PropertyTransform.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>
    • mergeUnknownFields

      public final PropertyTransform.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyTransform.Builder>