Class DocumentTransform.FieldTransform.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>
com.google.firestore.v1.DocumentTransform.FieldTransform.Builder
All Implemented Interfaces:
DocumentTransform.FieldTransformOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DocumentTransform.FieldTransform

public static final class DocumentTransform.FieldTransform.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder> implements DocumentTransform.FieldTransformOrBuilder
 A transformation of a field of the document.
 
Protobuf type google.firestore.v1.DocumentTransform.FieldTransform
  • 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<DocumentTransform.FieldTransform.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<DocumentTransform.FieldTransform.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<DocumentTransform.FieldTransform.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DocumentTransform.FieldTransform buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<DocumentTransform.FieldTransform.Builder>
    • setField

      public DocumentTransform.FieldTransform.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<DocumentTransform.FieldTransform.Builder>
    • clearField

      public DocumentTransform.FieldTransform.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<DocumentTransform.FieldTransform.Builder>
    • clearOneof

      public DocumentTransform.FieldTransform.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<DocumentTransform.FieldTransform.Builder>
    • setRepeatedField

      public DocumentTransform.FieldTransform.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<DocumentTransform.FieldTransform.Builder>
    • addRepeatedField

      public DocumentTransform.FieldTransform.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<DocumentTransform.FieldTransform.Builder>
    • mergeFrom

      public DocumentTransform.FieldTransform.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<DocumentTransform.FieldTransform.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentTransform.FieldTransform.Builder>
    • mergeFrom

      public DocumentTransform.FieldTransform.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<DocumentTransform.FieldTransform.Builder>
      Throws:
      IOException
    • getTransformTypeCase

      Specified by:
      getTransformTypeCase in interface DocumentTransform.FieldTransformOrBuilder
    • clearTransformType

      public DocumentTransform.FieldTransform.Builder clearTransformType()
    • getFieldPath

      public String getFieldPath()
       The path of the field. See
       [Document.fields][google.firestore.v1.Document.fields] for the field path
       syntax reference.
       
      string field_path = 1;
      Specified by:
      getFieldPath in interface DocumentTransform.FieldTransformOrBuilder
      Returns:
      The fieldPath.
    • getFieldPathBytes

      public 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;
      Specified by:
      getFieldPathBytes in interface DocumentTransform.FieldTransformOrBuilder
      Returns:
      The bytes for fieldPath.
    • setFieldPath

      public DocumentTransform.FieldTransform.Builder setFieldPath(String value)
       The path of the field. See
       [Document.fields][google.firestore.v1.Document.fields] for the field path
       syntax reference.
       
      string field_path = 1;
      Parameters:
      value - The fieldPath to set.
      Returns:
      This builder for chaining.
    • clearFieldPath

       The path of the field. See
       [Document.fields][google.firestore.v1.Document.fields] for the field path
       syntax reference.
       
      string field_path = 1;
      Returns:
      This builder for chaining.
    • setFieldPathBytes

      public DocumentTransform.FieldTransform.Builder setFieldPathBytes(com.google.protobuf.ByteString value)
       The path of the field. See
       [Document.fields][google.firestore.v1.Document.fields] for the field path
       syntax reference.
       
      string field_path = 1;
      Parameters:
      value - The bytes for fieldPath to set.
      Returns:
      This builder for chaining.
    • hasSetToServerValue

      public boolean hasSetToServerValue()
       Sets the field to the given server value.
       
      .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2;
      Specified by:
      hasSetToServerValue in interface DocumentTransform.FieldTransformOrBuilder
      Returns:
      Whether the setToServerValue field is set.
    • getSetToServerValueValue

      public int getSetToServerValueValue()
       Sets the field to the given server value.
       
      .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2;
      Specified by:
      getSetToServerValueValue in interface DocumentTransform.FieldTransformOrBuilder
      Returns:
      The enum numeric value on the wire for setToServerValue.
    • setSetToServerValueValue

      public DocumentTransform.FieldTransform.Builder setSetToServerValueValue(int value)
       Sets the field to the given server value.
       
      .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2;
      Parameters:
      value - The enum numeric value on the wire for setToServerValue to set.
      Returns:
      This builder for chaining.
    • getSetToServerValue

      public DocumentTransform.FieldTransform.ServerValue getSetToServerValue()
       Sets the field to the given server value.
       
      .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2;
      Specified by:
      getSetToServerValue in interface DocumentTransform.FieldTransformOrBuilder
      Returns:
      The setToServerValue.
    • setSetToServerValue

       Sets the field to the given server value.
       
      .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2;
      Parameters:
      value - The setToServerValue to set.
      Returns:
      This builder for chaining.
    • clearSetToServerValue

      public DocumentTransform.FieldTransform.Builder clearSetToServerValue()
       Sets the field to the given server value.
       
      .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2;
      Returns:
      This builder for chaining.
    • hasIncrement

      public boolean hasIncrement()
       Adds the given value to the field's current value.
      
       This must be an integer or a double value.
       If the field is not an integer or double, or if the field does not yet
       exist, the transformation will set the field to the given value.
       If either of the given value or the current field value are doubles,
       both values will be interpreted as doubles. Double arithmetic and
       representation of double values follow IEEE 754 semantics.
       If there is positive/negative integer overflow, the field is resolved
       to the largest magnitude positive/negative integer.
       
      .google.firestore.v1.Value increment = 3;
      Specified by:
      hasIncrement in interface DocumentTransform.FieldTransformOrBuilder
      Returns:
      Whether the increment field is set.
    • getIncrement

      public 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;
      Specified by:
      getIncrement in interface DocumentTransform.FieldTransformOrBuilder
      Returns:
      The increment.
    • setIncrement

      public DocumentTransform.FieldTransform.Builder setIncrement(Value value)
       Adds the given value to the field's current value.
      
       This must be an integer or a double value.
       If the field is not an integer or double, or if the field does not yet
       exist, the transformation will set the field to the given value.
       If either of the given value or the current field value are doubles,
       both values will be interpreted as doubles. Double arithmetic and
       representation of double values follow IEEE 754 semantics.
       If there is positive/negative integer overflow, the field is resolved
       to the largest magnitude positive/negative integer.
       
      .google.firestore.v1.Value increment = 3;
    • setIncrement

      public DocumentTransform.FieldTransform.Builder setIncrement(Value.Builder builderForValue)
       Adds the given value to the field's current value.
      
       This must be an integer or a double value.
       If the field is not an integer or double, or if the field does not yet
       exist, the transformation will set the field to the given value.
       If either of the given value or the current field value are doubles,
       both values will be interpreted as doubles. Double arithmetic and
       representation of double values follow IEEE 754 semantics.
       If there is positive/negative integer overflow, the field is resolved
       to the largest magnitude positive/negative integer.
       
      .google.firestore.v1.Value increment = 3;
    • mergeIncrement

      public DocumentTransform.FieldTransform.Builder mergeIncrement(Value value)
       Adds the given value to the field's current value.
      
       This must be an integer or a double value.
       If the field is not an integer or double, or if the field does not yet
       exist, the transformation will set the field to the given value.
       If either of the given value or the current field value are doubles,
       both values will be interpreted as doubles. Double arithmetic and
       representation of double values follow IEEE 754 semantics.
       If there is positive/negative integer overflow, the field is resolved
       to the largest magnitude positive/negative integer.
       
      .google.firestore.v1.Value increment = 3;
    • clearIncrement

       Adds the given value to the field's current value.
      
       This must be an integer or a double value.
       If the field is not an integer or double, or if the field does not yet
       exist, the transformation will set the field to the given value.
       If either of the given value or the current field value are doubles,
       both values will be interpreted as doubles. Double arithmetic and
       representation of double values follow IEEE 754 semantics.
       If there is positive/negative integer overflow, the field is resolved
       to the largest magnitude positive/negative integer.
       
      .google.firestore.v1.Value increment = 3;
    • getIncrementBuilder

      public Value.Builder getIncrementBuilder()
       Adds the given value to the field's current value.
      
       This must be an integer or a double value.
       If the field is not an integer or double, or if the field does not yet
       exist, the transformation will set the field to the given value.
       If either of the given value or the current field value are doubles,
       both values will be interpreted as doubles. Double arithmetic and
       representation of double values follow IEEE 754 semantics.
       If there is positive/negative integer overflow, the field is resolved
       to the largest magnitude positive/negative integer.
       
      .google.firestore.v1.Value increment = 3;
    • getIncrementOrBuilder

      public ValueOrBuilder getIncrementOrBuilder()
       Adds the given value to the field's current value.
      
       This must be an integer or a double value.
       If the field is not an integer or double, or if the field does not yet
       exist, the transformation will set the field to the given value.
       If either of the given value or the current field value are doubles,
       both values will be interpreted as doubles. Double arithmetic and
       representation of double values follow IEEE 754 semantics.
       If there is positive/negative integer overflow, the field is resolved
       to the largest magnitude positive/negative integer.
       
      .google.firestore.v1.Value increment = 3;
      Specified by:
      getIncrementOrBuilder in interface DocumentTransform.FieldTransformOrBuilder
    • hasMaximum

      public 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;
      Specified by:
      hasMaximum in interface DocumentTransform.FieldTransformOrBuilder
      Returns:
      Whether the maximum field is set.
    • getMaximum

      public 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;
      Specified by:
      getMaximum in interface DocumentTransform.FieldTransformOrBuilder
      Returns:
      The maximum.
    • setMaximum

       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;
    • setMaximum

      public DocumentTransform.FieldTransform.Builder setMaximum(Value.Builder builderForValue)
       Sets the field to the maximum of its current value and the given value.
      
       This must be an integer or a double value.
       If the field is not an integer or double, or if the field does not yet
       exist, the transformation will set the field to the given value.
       If a maximum operation is applied where the field and the input value
       are of mixed types (that is - one is an integer and one is a double)
       the field takes on the type of the larger operand. If the operands are
       equivalent (e.g. 3 and 3.0), the field does not change.
       0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
       zero input value is always the stored value.
       The maximum of any numeric value x and NaN is NaN.
       
      .google.firestore.v1.Value maximum = 4;
    • mergeMaximum

      public DocumentTransform.FieldTransform.Builder mergeMaximum(Value value)
       Sets the field to the maximum of its current value and the given value.
      
       This must be an integer or a double value.
       If the field is not an integer or double, or if the field does not yet
       exist, the transformation will set the field to the given value.
       If a maximum operation is applied where the field and the input value
       are of mixed types (that is - one is an integer and one is a double)
       the field takes on the type of the larger operand. If the operands are
       equivalent (e.g. 3 and 3.0), the field does not change.
       0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
       zero input value is always the stored value.
       The maximum of any numeric value x and NaN is NaN.
       
      .google.firestore.v1.Value maximum = 4;
    • clearMaximum

       Sets the field to the maximum of its current value and the given value.
      
       This must be an integer or a double value.
       If the field is not an integer or double, or if the field does not yet
       exist, the transformation will set the field to the given value.
       If a maximum operation is applied where the field and the input value
       are of mixed types (that is - one is an integer and one is a double)
       the field takes on the type of the larger operand. If the operands are
       equivalent (e.g. 3 and 3.0), the field does not change.
       0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
       zero input value is always the stored value.
       The maximum of any numeric value x and NaN is NaN.
       
      .google.firestore.v1.Value maximum = 4;
    • getMaximumBuilder

      public Value.Builder getMaximumBuilder()
       Sets the field to the maximum of its current value and the given value.
      
       This must be an integer or a double value.
       If the field is not an integer or double, or if the field does not yet
       exist, the transformation will set the field to the given value.
       If a maximum operation is applied where the field and the input value
       are of mixed types (that is - one is an integer and one is a double)
       the field takes on the type of the larger operand. If the operands are
       equivalent (e.g. 3 and 3.0), the field does not change.
       0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
       zero input value is always the stored value.
       The maximum of any numeric value x and NaN is NaN.
       
      .google.firestore.v1.Value maximum = 4;
    • getMaximumOrBuilder

      public ValueOrBuilder getMaximumOrBuilder()
       Sets the field to the maximum of its current value and the given value.
      
       This must be an integer or a double value.
       If the field is not an integer or double, or if the field does not yet
       exist, the transformation will set the field to the given value.
       If a maximum operation is applied where the field and the input value
       are of mixed types (that is - one is an integer and one is a double)
       the field takes on the type of the larger operand. If the operands are
       equivalent (e.g. 3 and 3.0), the field does not change.
       0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
       zero input value is always the stored value.
       The maximum of any numeric value x and NaN is NaN.
       
      .google.firestore.v1.Value maximum = 4;
      Specified by:
      getMaximumOrBuilder in interface DocumentTransform.FieldTransformOrBuilder
    • hasMinimum

      public 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;
      Specified by:
      hasMinimum in interface DocumentTransform.FieldTransformOrBuilder
      Returns:
      Whether the minimum field is set.
    • getMinimum

      public 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;
      Specified by:
      getMinimum in interface DocumentTransform.FieldTransformOrBuilder
      Returns:
      The minimum.
    • setMinimum

       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;
    • setMinimum

      public DocumentTransform.FieldTransform.Builder setMinimum(Value.Builder builderForValue)
       Sets the field to the minimum of its current value and the given value.
      
       This must be an integer or a double value.
       If the field is not an integer or double, or if the field does not yet
       exist, the transformation will set the field to the input value.
       If a minimum operation is applied where the field and the input value
       are of mixed types (that is - one is an integer and one is a double)
       the field takes on the type of the smaller operand. If the operands are
       equivalent (e.g. 3 and 3.0), the field does not change.
       0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
       zero input value is always the stored value.
       The minimum of any numeric value x and NaN is NaN.
       
      .google.firestore.v1.Value minimum = 5;
    • mergeMinimum

      public DocumentTransform.FieldTransform.Builder mergeMinimum(Value value)
       Sets the field to the minimum of its current value and the given value.
      
       This must be an integer or a double value.
       If the field is not an integer or double, or if the field does not yet
       exist, the transformation will set the field to the input value.
       If a minimum operation is applied where the field and the input value
       are of mixed types (that is - one is an integer and one is a double)
       the field takes on the type of the smaller operand. If the operands are
       equivalent (e.g. 3 and 3.0), the field does not change.
       0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
       zero input value is always the stored value.
       The minimum of any numeric value x and NaN is NaN.
       
      .google.firestore.v1.Value minimum = 5;
    • clearMinimum

       Sets the field to the minimum of its current value and the given value.
      
       This must be an integer or a double value.
       If the field is not an integer or double, or if the field does not yet
       exist, the transformation will set the field to the input value.
       If a minimum operation is applied where the field and the input value
       are of mixed types (that is - one is an integer and one is a double)
       the field takes on the type of the smaller operand. If the operands are
       equivalent (e.g. 3 and 3.0), the field does not change.
       0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
       zero input value is always the stored value.
       The minimum of any numeric value x and NaN is NaN.
       
      .google.firestore.v1.Value minimum = 5;
    • getMinimumBuilder

      public Value.Builder getMinimumBuilder()
       Sets the field to the minimum of its current value and the given value.
      
       This must be an integer or a double value.
       If the field is not an integer or double, or if the field does not yet
       exist, the transformation will set the field to the input value.
       If a minimum operation is applied where the field and the input value
       are of mixed types (that is - one is an integer and one is a double)
       the field takes on the type of the smaller operand. If the operands are
       equivalent (e.g. 3 and 3.0), the field does not change.
       0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
       zero input value is always the stored value.
       The minimum of any numeric value x and NaN is NaN.
       
      .google.firestore.v1.Value minimum = 5;
    • getMinimumOrBuilder

      public ValueOrBuilder getMinimumOrBuilder()
       Sets the field to the minimum of its current value and the given value.
      
       This must be an integer or a double value.
       If the field is not an integer or double, or if the field does not yet
       exist, the transformation will set the field to the input value.
       If a minimum operation is applied where the field and the input value
       are of mixed types (that is - one is an integer and one is a double)
       the field takes on the type of the smaller operand. If the operands are
       equivalent (e.g. 3 and 3.0), the field does not change.
       0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
       zero input value is always the stored value.
       The minimum of any numeric value x and NaN is NaN.
       
      .google.firestore.v1.Value minimum = 5;
      Specified by:
      getMinimumOrBuilder in interface DocumentTransform.FieldTransformOrBuilder
    • hasAppendMissingElements

      public 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;
      Specified by:
      hasAppendMissingElements in interface DocumentTransform.FieldTransformOrBuilder
      Returns:
      Whether the appendMissingElements field is set.
    • getAppendMissingElements

      public 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;
      Specified by:
      getAppendMissingElements in interface DocumentTransform.FieldTransformOrBuilder
      Returns:
      The appendMissingElements.
    • setAppendMissingElements

      public DocumentTransform.FieldTransform.Builder setAppendMissingElements(ArrayValue value)
       Append the given elements in order if they are not already present in
       the current field value.
       If the field is not an array, or if the field does not yet exist, it is
       first set to the empty array.
      
       Equivalent numbers of different types (e.g. 3L and 3.0) are
       considered equal when checking if a value is missing.
       NaN is equal to NaN, and Null is equal to Null.
       If the input contains multiple equivalent values, only the first will
       be considered.
      
       The corresponding transform_result will be the null value.
       
      .google.firestore.v1.ArrayValue append_missing_elements = 6;
    • setAppendMissingElements

      public DocumentTransform.FieldTransform.Builder setAppendMissingElements(ArrayValue.Builder builderForValue)
       Append the given elements in order if they are not already present in
       the current field value.
       If the field is not an array, or if the field does not yet exist, it is
       first set to the empty array.
      
       Equivalent numbers of different types (e.g. 3L and 3.0) are
       considered equal when checking if a value is missing.
       NaN is equal to NaN, and Null is equal to Null.
       If the input contains multiple equivalent values, only the first will
       be considered.
      
       The corresponding transform_result will be the null value.
       
      .google.firestore.v1.ArrayValue append_missing_elements = 6;
    • mergeAppendMissingElements

      public DocumentTransform.FieldTransform.Builder mergeAppendMissingElements(ArrayValue value)
       Append the given elements in order if they are not already present in
       the current field value.
       If the field is not an array, or if the field does not yet exist, it is
       first set to the empty array.
      
       Equivalent numbers of different types (e.g. 3L and 3.0) are
       considered equal when checking if a value is missing.
       NaN is equal to NaN, and Null is equal to Null.
       If the input contains multiple equivalent values, only the first will
       be considered.
      
       The corresponding transform_result will be the null value.
       
      .google.firestore.v1.ArrayValue append_missing_elements = 6;
    • clearAppendMissingElements

      public DocumentTransform.FieldTransform.Builder clearAppendMissingElements()
       Append the given elements in order if they are not already present in
       the current field value.
       If the field is not an array, or if the field does not yet exist, it is
       first set to the empty array.
      
       Equivalent numbers of different types (e.g. 3L and 3.0) are
       considered equal when checking if a value is missing.
       NaN is equal to NaN, and Null is equal to Null.
       If the input contains multiple equivalent values, only the first will
       be considered.
      
       The corresponding transform_result will be the null value.
       
      .google.firestore.v1.ArrayValue append_missing_elements = 6;
    • getAppendMissingElementsBuilder

      public ArrayValue.Builder getAppendMissingElementsBuilder()
       Append the given elements in order if they are not already present in
       the current field value.
       If the field is not an array, or if the field does not yet exist, it is
       first set to the empty array.
      
       Equivalent numbers of different types (e.g. 3L and 3.0) are
       considered equal when checking if a value is missing.
       NaN is equal to NaN, and Null is equal to Null.
       If the input contains multiple equivalent values, only the first will
       be considered.
      
       The corresponding transform_result will be the null value.
       
      .google.firestore.v1.ArrayValue append_missing_elements = 6;
    • getAppendMissingElementsOrBuilder

      public ArrayValueOrBuilder getAppendMissingElementsOrBuilder()
       Append the given elements in order if they are not already present in
       the current field value.
       If the field is not an array, or if the field does not yet exist, it is
       first set to the empty array.
      
       Equivalent numbers of different types (e.g. 3L and 3.0) are
       considered equal when checking if a value is missing.
       NaN is equal to NaN, and Null is equal to Null.
       If the input contains multiple equivalent values, only the first will
       be considered.
      
       The corresponding transform_result will be the null value.
       
      .google.firestore.v1.ArrayValue append_missing_elements = 6;
      Specified by:
      getAppendMissingElementsOrBuilder in interface DocumentTransform.FieldTransformOrBuilder
    • hasRemoveAllFromArray

      public 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;
      Specified by:
      hasRemoveAllFromArray in interface DocumentTransform.FieldTransformOrBuilder
      Returns:
      Whether the removeAllFromArray field is set.
    • getRemoveAllFromArray

      public 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;
      Specified by:
      getRemoveAllFromArray in interface DocumentTransform.FieldTransformOrBuilder
      Returns:
      The removeAllFromArray.
    • setRemoveAllFromArray

      public DocumentTransform.FieldTransform.Builder setRemoveAllFromArray(ArrayValue value)
       Remove all of the given elements from the array in the field.
       If the field is not an array, or if the field does not yet exist, it is
       set to the empty array.
      
       Equivalent numbers of the different types (e.g. 3L and 3.0) are
       considered equal when deciding whether an element should be removed.
       NaN is equal to NaN, and Null is equal to Null.
       This will remove all equivalent values if there are duplicates.
      
       The corresponding transform_result will be the null value.
       
      .google.firestore.v1.ArrayValue remove_all_from_array = 7;
    • setRemoveAllFromArray

      public DocumentTransform.FieldTransform.Builder setRemoveAllFromArray(ArrayValue.Builder builderForValue)
       Remove all of the given elements from the array in the field.
       If the field is not an array, or if the field does not yet exist, it is
       set to the empty array.
      
       Equivalent numbers of the different types (e.g. 3L and 3.0) are
       considered equal when deciding whether an element should be removed.
       NaN is equal to NaN, and Null is equal to Null.
       This will remove all equivalent values if there are duplicates.
      
       The corresponding transform_result will be the null value.
       
      .google.firestore.v1.ArrayValue remove_all_from_array = 7;
    • mergeRemoveAllFromArray

      public DocumentTransform.FieldTransform.Builder mergeRemoveAllFromArray(ArrayValue value)
       Remove all of the given elements from the array in the field.
       If the field is not an array, or if the field does not yet exist, it is
       set to the empty array.
      
       Equivalent numbers of the different types (e.g. 3L and 3.0) are
       considered equal when deciding whether an element should be removed.
       NaN is equal to NaN, and Null is equal to Null.
       This will remove all equivalent values if there are duplicates.
      
       The corresponding transform_result will be the null value.
       
      .google.firestore.v1.ArrayValue remove_all_from_array = 7;
    • clearRemoveAllFromArray

      public DocumentTransform.FieldTransform.Builder clearRemoveAllFromArray()
       Remove all of the given elements from the array in the field.
       If the field is not an array, or if the field does not yet exist, it is
       set to the empty array.
      
       Equivalent numbers of the different types (e.g. 3L and 3.0) are
       considered equal when deciding whether an element should be removed.
       NaN is equal to NaN, and Null is equal to Null.
       This will remove all equivalent values if there are duplicates.
      
       The corresponding transform_result will be the null value.
       
      .google.firestore.v1.ArrayValue remove_all_from_array = 7;
    • getRemoveAllFromArrayBuilder

      public ArrayValue.Builder getRemoveAllFromArrayBuilder()
       Remove all of the given elements from the array in the field.
       If the field is not an array, or if the field does not yet exist, it is
       set to the empty array.
      
       Equivalent numbers of the different types (e.g. 3L and 3.0) are
       considered equal when deciding whether an element should be removed.
       NaN is equal to NaN, and Null is equal to Null.
       This will remove all equivalent values if there are duplicates.
      
       The corresponding transform_result will be the null value.
       
      .google.firestore.v1.ArrayValue remove_all_from_array = 7;
    • getRemoveAllFromArrayOrBuilder

      public ArrayValueOrBuilder getRemoveAllFromArrayOrBuilder()
       Remove all of the given elements from the array in the field.
       If the field is not an array, or if the field does not yet exist, it is
       set to the empty array.
      
       Equivalent numbers of the different types (e.g. 3L and 3.0) are
       considered equal when deciding whether an element should be removed.
       NaN is equal to NaN, and Null is equal to Null.
       This will remove all equivalent values if there are duplicates.
      
       The corresponding transform_result will be the null value.
       
      .google.firestore.v1.ArrayValue remove_all_from_array = 7;
      Specified by:
      getRemoveAllFromArrayOrBuilder in interface DocumentTransform.FieldTransformOrBuilder
    • setUnknownFields

      public final DocumentTransform.FieldTransform.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<DocumentTransform.FieldTransform.Builder>
    • mergeUnknownFields

      public final DocumentTransform.FieldTransform.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<DocumentTransform.FieldTransform.Builder>