Class ConditionalColumnSetValue

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

    public final class ConditionalColumnSetValue
    extends com.google.protobuf.GeneratedMessageV3
    implements ConditionalColumnSetValueOrBuilder
     Options to configure rule type ConditionalColumnSetValue.
     The rule is used to transform the data which is being replicated/migrated.
    
     The rule filter field can refer to one or more entities.
    
     The rule scope can be one of: Column.
     
    Protobuf type google.cloud.clouddms.v1.ConditionalColumnSetValue
    See Also:
    Serialized Form
    • Field Detail

      • SOURCE_TEXT_FILTER_FIELD_NUMBER

        public static final int SOURCE_TEXT_FILTER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SOURCE_NUMERIC_FILTER_FIELD_NUMBER

        public static final int SOURCE_NUMERIC_FILTER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • VALUE_TRANSFORMATION_FIELD_NUMBER

        public static final int VALUE_TRANSFORMATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CUSTOM_FEATURES_FIELD_NUMBER

        public static final int CUSTOM_FEATURES_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
      • hasSourceTextFilter

        public boolean hasSourceTextFilter()
         Optional. Optional filter on source column length. Used for text based
         data types like varchar.
         
        .google.cloud.clouddms.v1.SourceTextFilter source_text_filter = 100 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasSourceTextFilter in interface ConditionalColumnSetValueOrBuilder
        Returns:
        Whether the sourceTextFilter field is set.
      • getSourceTextFilter

        public SourceTextFilter getSourceTextFilter()
         Optional. Optional filter on source column length. Used for text based
         data types like varchar.
         
        .google.cloud.clouddms.v1.SourceTextFilter source_text_filter = 100 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getSourceTextFilter in interface ConditionalColumnSetValueOrBuilder
        Returns:
        The sourceTextFilter.
      • hasSourceNumericFilter

        public boolean hasSourceNumericFilter()
         Optional. Optional filter on source column precision and scale. Used for
         fixed point numbers such as NUMERIC/NUMBER data types.
         
        .google.cloud.clouddms.v1.SourceNumericFilter source_numeric_filter = 101 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasSourceNumericFilter in interface ConditionalColumnSetValueOrBuilder
        Returns:
        Whether the sourceNumericFilter field is set.
      • getSourceNumericFilter

        public SourceNumericFilter getSourceNumericFilter()
         Optional. Optional filter on source column precision and scale. Used for
         fixed point numbers such as NUMERIC/NUMBER data types.
         
        .google.cloud.clouddms.v1.SourceNumericFilter source_numeric_filter = 101 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getSourceNumericFilter in interface ConditionalColumnSetValueOrBuilder
        Returns:
        The sourceNumericFilter.
      • hasValueTransformation

        public boolean hasValueTransformation()
         Required. Description of data transformation during migration.
         
        .google.cloud.clouddms.v1.ValueTransformation value_transformation = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasValueTransformation in interface ConditionalColumnSetValueOrBuilder
        Returns:
        Whether the valueTransformation field is set.
      • getValueTransformation

        public ValueTransformation getValueTransformation()
         Required. Description of data transformation during migration.
         
        .google.cloud.clouddms.v1.ValueTransformation value_transformation = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getValueTransformation in interface ConditionalColumnSetValueOrBuilder
        Returns:
        The valueTransformation.
      • hasCustomFeatures

        public boolean hasCustomFeatures()
         Optional. Custom engine specific features.
         
        .google.protobuf.Struct custom_features = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasCustomFeatures in interface ConditionalColumnSetValueOrBuilder
        Returns:
        Whether the customFeatures field is set.
      • getCustomFeatures

        public com.google.protobuf.Struct getCustomFeatures()
         Optional. Custom engine specific features.
         
        .google.protobuf.Struct custom_features = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getCustomFeatures in interface ConditionalColumnSetValueOrBuilder
        Returns:
        The customFeatures.
      • getCustomFeaturesOrBuilder

        public com.google.protobuf.StructOrBuilder getCustomFeaturesOrBuilder()
         Optional. Custom engine specific features.
         
        .google.protobuf.Struct custom_features = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getCustomFeaturesOrBuilder in interface ConditionalColumnSetValueOrBuilder
      • 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 ConditionalColumnSetValue parseFrom​(ByteBuffer data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

        public com.google.protobuf.Parser<ConditionalColumnSetValue> 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 ConditionalColumnSetValue getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder