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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int APPLY_HASH_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int ASSIGN_MAX_VALUE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int ASSIGN_MIN_VALUE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int ASSIGN_NULL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int ASSIGN_SPECIFIC_VALUE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int DOUBLE_COMPARISON_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int INT_COMPARISON_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int IS_NULL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int ROUND_SCALE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int VALUE_LIST_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static ValueTransformation getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ValueTransformation.Builder newBuilder()
public static ValueTransformation.Builder newBuilder(ValueTransformation prototype)
public static ValueTransformation parseDelimitedFrom(InputStream input)
public static ValueTransformation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ValueTransformation parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static ValueTransformation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ValueTransformation parseFrom(ByteString data)
public static ValueTransformation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ValueTransformation parseFrom(CodedInputStream input)
public static ValueTransformation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ValueTransformation parseFrom(InputStream input)
public static ValueTransformation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ValueTransformation parseFrom(ByteBuffer data)
public static ValueTransformation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ValueTransformation> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public ValueTransformation.ActionCase getActionCase()
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.
|
public ApplyHashOrBuilder getApplyHashOrBuilder()
Optional. Applies a hash function on the data
.google.cloud.clouddms.v1.ApplyHash apply_hash = 205 [(.google.api.field_behavior) = OPTIONAL];
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.
|
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];
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.
|
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];
public Empty getAssignNull()
Optional. Set to null
.google.protobuf.Empty assign_null = 200 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
Empty | The assignNull.
|
public EmptyOrBuilder getAssignNullOrBuilder()
Optional. Set to null
.google.protobuf.Empty assign_null = 200 [(.google.api.field_behavior) = OPTIONAL];
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];
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];
public ValueTransformation getDefaultInstanceForType()
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];
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];
public ValueTransformation.FilterCase getFilterCase()
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];
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];
Optional. Value is null
.google.protobuf.Empty is_null = 100 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
Empty | The isNull.
|
public EmptyOrBuilder getIsNullOrBuilder()
Optional. Value is null
.google.protobuf.Empty is_null = 100 [(.google.api.field_behavior) = OPTIONAL];
public Parser<ValueTransformation> getParserForType()
Overrides
public RoundToScale getRoundScale()
Optional. Allows the data to change scale
.google.cloud.clouddms.v1.RoundToScale round_scale = 204 [(.google.api.field_behavior) = OPTIONAL];
public RoundToScaleOrBuilder getRoundScaleOrBuilder()
Optional. Allows the data to change scale
.google.cloud.clouddms.v1.RoundToScale round_scale = 204 [(.google.api.field_behavior) = OPTIONAL];
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public ValueListFilter getValueList()
Optional. Value is found in the specified list.
.google.cloud.clouddms.v1.ValueListFilter value_list = 101 [(.google.api.field_behavior) = OPTIONAL];
public ValueListFilterOrBuilder getValueListOrBuilder()
Optional. Value is found in the specified list.
.google.cloud.clouddms.v1.ValueListFilter value_list = 101 [(.google.api.field_behavior) = OPTIONAL];
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ValueTransformation.Builder newBuilderForType()
protected ValueTransformation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public ValueTransformation.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides