Class ValueTransformation (2.29.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
TypeDescription
int

ASSIGN_MAX_VALUE_FIELD_NUMBER

public static final int ASSIGN_MAX_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

ASSIGN_MIN_VALUE_FIELD_NUMBER

public static final int ASSIGN_MIN_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

ASSIGN_NULL_FIELD_NUMBER

public static final int ASSIGN_NULL_FIELD_NUMBER
Field Value
TypeDescription
int

ASSIGN_SPECIFIC_VALUE_FIELD_NUMBER

public static final int ASSIGN_SPECIFIC_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

DOUBLE_COMPARISON_FIELD_NUMBER

public static final int DOUBLE_COMPARISON_FIELD_NUMBER
Field Value
TypeDescription
int

INT_COMPARISON_FIELD_NUMBER

public static final int INT_COMPARISON_FIELD_NUMBER
Field Value
TypeDescription
int

IS_NULL_FIELD_NUMBER

public static final int IS_NULL_FIELD_NUMBER
Field Value
TypeDescription
int

ROUND_SCALE_FIELD_NUMBER

public static final int ROUND_SCALE_FIELD_NUMBER
Field Value
TypeDescription
int

VALUE_LIST_FIELD_NUMBER

public static final int VALUE_LIST_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ValueTransformation getDefaultInstance()
Returns
TypeDescription
ValueTransformation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ValueTransformation.Builder newBuilder()
Returns
TypeDescription
ValueTransformation.Builder

newBuilder(ValueTransformation prototype)

public static ValueTransformation.Builder newBuilder(ValueTransformation prototype)
Parameter
NameDescription
prototypeValueTransformation
Returns
TypeDescription
ValueTransformation.Builder

parseDelimitedFrom(InputStream input)

public static ValueTransformation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ValueTransformation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValueTransformation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValueTransformation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ValueTransformation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ValueTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ValueTransformation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValueTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ValueTransformation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ValueTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ValueTransformation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValueTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ValueTransformation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ValueTransformation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ValueTransformation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValueTransformation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ValueTransformation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ValueTransformation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValueTransformation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValueTransformation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ValueTransformation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ValueTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ValueTransformation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValueTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ValueTransformation> parser()
Returns
TypeDescription
Parser<ValueTransformation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getActionCase()

public ValueTransformation.ActionCase getActionCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
EmptyOrBuilder

getAssignNull()

public Empty getAssignNull()

Optional. Set to null

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

Returns
TypeDescription
Empty

The assignNull.

getAssignNullOrBuilder()

public EmptyOrBuilder getAssignNullOrBuilder()

Optional. Set to null

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
AssignSpecificValueOrBuilder

getDefaultInstanceForType()

public ValueTransformation getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DoubleComparisonFilterOrBuilder

getFilterCase()

public ValueTransformation.FilterCase getFilterCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
IntComparisonFilterOrBuilder

getIsNull()

public Empty getIsNull()

Optional. Value is null

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

Returns
TypeDescription
Empty

The isNull.

getIsNullOrBuilder()

public EmptyOrBuilder getIsNullOrBuilder()

Optional. Value is null

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

Returns
TypeDescription
EmptyOrBuilder

getParserForType()

public Parser<ValueTransformation> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RoundToScaleOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the valueList field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ValueTransformation.Builder newBuilderForType()
Returns
TypeDescription
ValueTransformation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ValueTransformation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ValueTransformation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ValueTransformation.Builder toBuilder()
Returns
TypeDescription
ValueTransformation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException