Class ValueTransformation (2.45.0)

public final class ValueTransformation extends GeneratedMessageV3 implements ValueTransformationOrBuilder

Description of data transformation during migration as part of the ConditionalColumnSetValue.

Protobuf type google.cloud.clouddms.v1.ValueTransformation

Static Fields

APPLY_HASH_FIELD_NUMBER

public static final int APPLY_HASH_FIELD_NUMBER
Field Value
Type Description
int

ASSIGN_MAX_VALUE_FIELD_NUMBER

public static final int ASSIGN_MAX_VALUE_FIELD_NUMBER
Field Value
Type Description
int

ASSIGN_MIN_VALUE_FIELD_NUMBER

public static final int ASSIGN_MIN_VALUE_FIELD_NUMBER
Field Value
Type Description
int

ASSIGN_NULL_FIELD_NUMBER

public static final int ASSIGN_NULL_FIELD_NUMBER
Field Value
Type Description
int

ASSIGN_SPECIFIC_VALUE_FIELD_NUMBER

public static final int ASSIGN_SPECIFIC_VALUE_FIELD_NUMBER
Field Value
Type Description
int

DOUBLE_COMPARISON_FIELD_NUMBER

public static final int DOUBLE_COMPARISON_FIELD_NUMBER
Field Value
Type Description
int

INT_COMPARISON_FIELD_NUMBER

public static final int INT_COMPARISON_FIELD_NUMBER
Field Value
Type Description
int

IS_NULL_FIELD_NUMBER

public static final int IS_NULL_FIELD_NUMBER
Field Value
Type Description
int

ROUND_SCALE_FIELD_NUMBER

public static final int ROUND_SCALE_FIELD_NUMBER
Field Value
Type Description
int

VALUE_LIST_FIELD_NUMBER

public static final int VALUE_LIST_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ValueTransformation getDefaultInstance()
Returns
Type Description
ValueTransformation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ValueTransformation.Builder newBuilder()
Returns
Type Description
ValueTransformation.Builder

newBuilder(ValueTransformation prototype)

public static ValueTransformation.Builder newBuilder(ValueTransformation prototype)
Parameter
Name Description
prototype ValueTransformation
Returns
Type Description
ValueTransformation.Builder

parseDelimitedFrom(InputStream input)

public static ValueTransformation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ValueTransformation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValueTransformation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValueTransformation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ValueTransformation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ValueTransformation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ValueTransformation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValueTransformation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ValueTransformation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ValueTransformation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ValueTransformation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValueTransformation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ValueTransformation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ValueTransformation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ValueTransformation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValueTransformation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ValueTransformation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ValueTransformation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValueTransformation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValueTransformation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ValueTransformation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ValueTransformation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ValueTransformation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValueTransformation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ValueTransformation> parser()
Returns
Type Description
Parser<ValueTransformation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getActionCase()

public ValueTransformation.ActionCase getActionCase()
Returns
Type Description
ValueTransformation.ActionCase

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];

Returns
Type Description
ApplyHash

The applyHash.

getApplyHashOrBuilder()

public ApplyHashOrBuilder getApplyHashOrBuilder()

Optional. Applies a hash function on the data

.google.cloud.clouddms.v1.ApplyHash apply_hash = 205 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ApplyHashOrBuilder

getAssignMaxValue()

public 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];

Returns
Type Description
Empty

The assignMaxValue.

getAssignMaxValueOrBuilder()

public 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];

Returns
Type Description
EmptyOrBuilder

getAssignMinValue()

public 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];

Returns
Type Description
Empty

The assignMinValue.

getAssignMinValueOrBuilder()

public 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];

Returns
Type Description
EmptyOrBuilder

getAssignNull()

public Empty getAssignNull()

Optional. Set to null

.google.protobuf.Empty assign_null = 200 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Empty

The assignNull.

getAssignNullOrBuilder()

public EmptyOrBuilder getAssignNullOrBuilder()

Optional. Set to null

.google.protobuf.Empty assign_null = 200 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EmptyOrBuilder

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];

Returns
Type Description
AssignSpecificValue

The assignSpecificValue.

getAssignSpecificValueOrBuilder()

public AssignSpecificValueOrBuilder getAssignSpecificValueOrBuilder()

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];

Returns
Type Description
AssignSpecificValueOrBuilder

getDefaultInstanceForType()

public ValueTransformation getDefaultInstanceForType()
Returns
Type Description
ValueTransformation

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];

Returns
Type Description
DoubleComparisonFilter

The doubleComparison.

getDoubleComparisonOrBuilder()

public DoubleComparisonFilterOrBuilder getDoubleComparisonOrBuilder()

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];

Returns
Type Description
DoubleComparisonFilterOrBuilder

getFilterCase()

public ValueTransformation.FilterCase getFilterCase()
Returns
Type Description
ValueTransformation.FilterCase

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];

Returns
Type Description
IntComparisonFilter

The intComparison.

getIntComparisonOrBuilder()

public IntComparisonFilterOrBuilder getIntComparisonOrBuilder()

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];

Returns
Type Description
IntComparisonFilterOrBuilder

getIsNull()

public Empty getIsNull()

Optional. Value is null

.google.protobuf.Empty is_null = 100 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Empty

The isNull.

getIsNullOrBuilder()

public EmptyOrBuilder getIsNullOrBuilder()

Optional. Value is null

.google.protobuf.Empty is_null = 100 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EmptyOrBuilder

getParserForType()

public Parser<ValueTransformation> getParserForType()
Returns
Type Description
Parser<ValueTransformation>
Overrides

getRoundScale()

public RoundToScale getRoundScale()

Optional. Allows the data to change scale

.google.cloud.clouddms.v1.RoundToScale round_scale = 204 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RoundToScale

The roundScale.

getRoundScaleOrBuilder()

public RoundToScaleOrBuilder getRoundScaleOrBuilder()

Optional. Allows the data to change scale

.google.cloud.clouddms.v1.RoundToScale round_scale = 204 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RoundToScaleOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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];

Returns
Type Description
ValueListFilter

The valueList.

getValueListOrBuilder()

public ValueListFilterOrBuilder getValueListOrBuilder()

Optional. Value is found in the specified list.

.google.cloud.clouddms.v1.ValueListFilter value_list = 101 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ValueListFilterOrBuilder

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];

Returns
Type Description
boolean

Whether the applyHash field is set.

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];

Returns
Type Description
boolean

Whether the assignMaxValue field is set.

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];

Returns
Type Description
boolean

Whether the assignMinValue field is set.

hasAssignNull()

public boolean hasAssignNull()

Optional. Set to null

.google.protobuf.Empty assign_null = 200 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the assignNull field is set.

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];

Returns
Type Description
boolean

Whether the assignSpecificValue field is set.

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];

Returns
Type Description
boolean

Whether the doubleComparison field is set.

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];

Returns
Type Description
boolean

Whether the intComparison field is set.

hasIsNull()

public boolean hasIsNull()

Optional. Value is null

.google.protobuf.Empty is_null = 100 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the isNull field is set.

hasRoundScale()

public boolean hasRoundScale()

Optional. Allows the data to change scale

.google.cloud.clouddms.v1.RoundToScale round_scale = 204 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the roundScale field is set.

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];

Returns
Type Description
boolean

Whether the valueList field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ValueTransformation.Builder newBuilderForType()
Returns
Type Description
ValueTransformation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ValueTransformation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ValueTransformation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ValueTransformation.Builder toBuilder()
Returns
Type Description
ValueTransformation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException