Class ValueTransformation

  • All Implemented Interfaces:
    ValueTransformationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class ValueTransformation
    extends com.google.protobuf.GeneratedMessageV3
    implements ValueTransformationOrBuilder
     Description of data transformation during migration as part of the
     ConditionalColumnSetValue.
     
    Protobuf type google.cloud.clouddms.v1.ValueTransformation
    See Also:
    Serialized Form
    • Field Detail

      • VALUE_LIST_FIELD_NUMBER

        public static final int VALUE_LIST_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INT_COMPARISON_FIELD_NUMBER

        public static final int INT_COMPARISON_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DOUBLE_COMPARISON_FIELD_NUMBER

        public static final int DOUBLE_COMPARISON_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ASSIGN_NULL_FIELD_NUMBER

        public static final int ASSIGN_NULL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ASSIGN_SPECIFIC_VALUE_FIELD_NUMBER

        public static final int ASSIGN_SPECIFIC_VALUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ASSIGN_MIN_VALUE_FIELD_NUMBER

        public static final int ASSIGN_MIN_VALUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ASSIGN_MAX_VALUE_FIELD_NUMBER

        public static final int ASSIGN_MAX_VALUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ROUND_SCALE_FIELD_NUMBER

        public static final int ROUND_SCALE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • APPLY_HASH_FIELD_NUMBER

        public static final int APPLY_HASH_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • hasIsNull

        public boolean hasIsNull()
         Optional. Value is null
         
        .google.protobuf.Empty is_null = 100 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasIsNull in interface ValueTransformationOrBuilder
        Returns:
        Whether the isNull field is set.
      • getIsNull

        public com.google.protobuf.Empty getIsNull()
         Optional. Value is null
         
        .google.protobuf.Empty is_null = 100 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getIsNull in interface ValueTransformationOrBuilder
        Returns:
        The isNull.
      • getIsNullOrBuilder

        public com.google.protobuf.EmptyOrBuilder getIsNullOrBuilder()
         Optional. Value is null
         
        .google.protobuf.Empty is_null = 100 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getIsNullOrBuilder in interface ValueTransformationOrBuilder
      • hasValueList

        public boolean hasValueList()
         Optional. Value is found in the specified list.
         
        .google.cloud.clouddms.v1.ValueListFilter value_list = 101 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasValueList in interface ValueTransformationOrBuilder
        Returns:
        Whether the valueList field is set.
      • getValueList

        public ValueListFilter getValueList()
         Optional. Value is found in the specified list.
         
        .google.cloud.clouddms.v1.ValueListFilter value_list = 101 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getValueList in interface ValueTransformationOrBuilder
        Returns:
        The valueList.
      • hasIntComparison

        public boolean hasIntComparison()
         Optional. Filter on relation between source value and compare value of
         type integer.
         
        .google.cloud.clouddms.v1.IntComparisonFilter int_comparison = 102 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasIntComparison in interface ValueTransformationOrBuilder
        Returns:
        Whether the intComparison field is set.
      • getIntComparison

        public IntComparisonFilter getIntComparison()
         Optional. Filter on relation between source value and compare value of
         type integer.
         
        .google.cloud.clouddms.v1.IntComparisonFilter int_comparison = 102 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getIntComparison in interface ValueTransformationOrBuilder
        Returns:
        The intComparison.
      • hasDoubleComparison

        public boolean hasDoubleComparison()
         Optional. Filter on relation between source value and compare value of
         type double.
         
        .google.cloud.clouddms.v1.DoubleComparisonFilter double_comparison = 103 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasDoubleComparison in interface ValueTransformationOrBuilder
        Returns:
        Whether the doubleComparison field is set.
      • getDoubleComparison

        public DoubleComparisonFilter getDoubleComparison()
         Optional. Filter on relation between source value and compare value of
         type double.
         
        .google.cloud.clouddms.v1.DoubleComparisonFilter double_comparison = 103 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDoubleComparison in interface ValueTransformationOrBuilder
        Returns:
        The doubleComparison.
      • hasAssignNull

        public boolean hasAssignNull()
         Optional. Set to null
         
        .google.protobuf.Empty assign_null = 200 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasAssignNull in interface ValueTransformationOrBuilder
        Returns:
        Whether the assignNull field is set.
      • getAssignNull

        public com.google.protobuf.Empty getAssignNull()
         Optional. Set to null
         
        .google.protobuf.Empty assign_null = 200 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAssignNull in interface ValueTransformationOrBuilder
        Returns:
        The assignNull.
      • getAssignNullOrBuilder

        public com.google.protobuf.EmptyOrBuilder getAssignNullOrBuilder()
         Optional. Set to null
         
        .google.protobuf.Empty assign_null = 200 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAssignNullOrBuilder in interface ValueTransformationOrBuilder
      • hasAssignSpecificValue

        public boolean hasAssignSpecificValue()
         Optional. Set to a specific value (value is converted to fit the target
         data type)
         
        .google.cloud.clouddms.v1.AssignSpecificValue assign_specific_value = 201 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasAssignSpecificValue in interface ValueTransformationOrBuilder
        Returns:
        Whether the assignSpecificValue field is set.
      • getAssignSpecificValue

        public AssignSpecificValue getAssignSpecificValue()
         Optional. Set to a specific value (value is converted to fit the target
         data type)
         
        .google.cloud.clouddms.v1.AssignSpecificValue assign_specific_value = 201 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAssignSpecificValue in interface ValueTransformationOrBuilder
        Returns:
        The assignSpecificValue.
      • hasAssignMinValue

        public boolean hasAssignMinValue()
         Optional. Set to min_value - if integer or numeric, will use
         int.minvalue, etc
         
        .google.protobuf.Empty assign_min_value = 202 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasAssignMinValue in interface ValueTransformationOrBuilder
        Returns:
        Whether the assignMinValue field is set.
      • getAssignMinValue

        public com.google.protobuf.Empty getAssignMinValue()
         Optional. Set to min_value - if integer or numeric, will use
         int.minvalue, etc
         
        .google.protobuf.Empty assign_min_value = 202 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAssignMinValue in interface ValueTransformationOrBuilder
        Returns:
        The assignMinValue.
      • getAssignMinValueOrBuilder

        public com.google.protobuf.EmptyOrBuilder getAssignMinValueOrBuilder()
         Optional. Set to min_value - if integer or numeric, will use
         int.minvalue, etc
         
        .google.protobuf.Empty assign_min_value = 202 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAssignMinValueOrBuilder in interface ValueTransformationOrBuilder
      • hasAssignMaxValue

        public boolean hasAssignMaxValue()
         Optional. Set to max_value - if integer or numeric, will use
         int.maxvalue, etc
         
        .google.protobuf.Empty assign_max_value = 203 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasAssignMaxValue in interface ValueTransformationOrBuilder
        Returns:
        Whether the assignMaxValue field is set.
      • getAssignMaxValue

        public com.google.protobuf.Empty getAssignMaxValue()
         Optional. Set to max_value - if integer or numeric, will use
         int.maxvalue, etc
         
        .google.protobuf.Empty assign_max_value = 203 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAssignMaxValue in interface ValueTransformationOrBuilder
        Returns:
        The assignMaxValue.
      • getAssignMaxValueOrBuilder

        public com.google.protobuf.EmptyOrBuilder getAssignMaxValueOrBuilder()
         Optional. Set to max_value - if integer or numeric, will use
         int.maxvalue, etc
         
        .google.protobuf.Empty assign_max_value = 203 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAssignMaxValueOrBuilder in interface ValueTransformationOrBuilder
      • hasRoundScale

        public boolean hasRoundScale()
         Optional. Allows the data to change scale
         
        .google.cloud.clouddms.v1.RoundToScale round_scale = 204 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasRoundScale in interface ValueTransformationOrBuilder
        Returns:
        Whether the roundScale field is set.
      • getRoundScale

        public RoundToScale getRoundScale()
         Optional. Allows the data to change scale
         
        .google.cloud.clouddms.v1.RoundToScale round_scale = 204 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getRoundScale in interface ValueTransformationOrBuilder
        Returns:
        The roundScale.
      • hasApplyHash

        public boolean hasApplyHash()
         Optional. Applies a hash function on the data
         
        .google.cloud.clouddms.v1.ApplyHash apply_hash = 205 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasApplyHash in interface ValueTransformationOrBuilder
        Returns:
        Whether the applyHash field is set.
      • getApplyHash

        public ApplyHash getApplyHash()
         Optional. Applies a hash function on the data
         
        .google.cloud.clouddms.v1.ApplyHash apply_hash = 205 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getApplyHash in interface ValueTransformationOrBuilder
        Returns:
        The applyHash.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static ValueTransformation parseFrom​(ByteBuffer data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ValueTransformation parseFrom​(ByteBuffer data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ValueTransformation parseFrom​(com.google.protobuf.ByteString data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ValueTransformation parseFrom​(com.google.protobuf.ByteString data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ValueTransformation parseFrom​(byte[] data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ValueTransformation parseFrom​(byte[] data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ValueTransformation parseFrom​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws IOException
        Throws:
        IOException
      • newBuilderForType

        public ValueTransformation.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public ValueTransformation.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected ValueTransformation.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<ValueTransformation> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public ValueTransformation getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder