Package com.google.cloud.clouddms.v1
Interface SingleColumnChangeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SingleColumnChange
,SingleColumnChange.Builder
public interface SingleColumnChangeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getArray()
Optional.int
getArrayLength()
Optional.boolean
getAutoGenerated()
Optional.String
getCharset()
Optional.com.google.protobuf.ByteString
getCharsetBytes()
Optional.String
getCollation()
Optional.com.google.protobuf.ByteString
getCollationBytes()
Optional.String
getComment()
Optional.com.google.protobuf.ByteString
getCommentBytes()
Optional.com.google.protobuf.Struct
getCustomFeatures()
Optional.com.google.protobuf.StructOrBuilder
getCustomFeaturesOrBuilder()
Optional.String
getDataType()
Optional.com.google.protobuf.ByteString
getDataTypeBytes()
Optional.int
getFractionalSecondsPrecision()
Optional.long
getLength()
Optional.boolean
getNullable()
Optional.int
getPrecision()
Optional.int
getScale()
Optional.String
getSetValues(int index)
Optional.com.google.protobuf.ByteString
getSetValuesBytes(int index)
Optional.int
getSetValuesCount()
Optional.List<String>
getSetValuesList()
Optional.boolean
getUdt()
Optional.boolean
hasCustomFeatures()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDataType
String getDataType()
Optional. Column data type name.
string data_type = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The dataType.
-
getDataTypeBytes
com.google.protobuf.ByteString getDataTypeBytes()
Optional. Column data type name.
string data_type = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for dataType.
-
getCharset
String getCharset()
Optional. Charset override - instead of table level charset.
string charset = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The charset.
-
getCharsetBytes
com.google.protobuf.ByteString getCharsetBytes()
Optional. Charset override - instead of table level charset.
string charset = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for charset.
-
getCollation
String getCollation()
Optional. Collation override - instead of table level collation.
string collation = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The collation.
-
getCollationBytes
com.google.protobuf.ByteString getCollationBytes()
Optional. Collation override - instead of table level collation.
string collation = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for collation.
-
getLength
long getLength()
Optional. Column length - e.g. 50 as in varchar (50) - when relevant.
int64 length = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The length.
-
getPrecision
int getPrecision()
Optional. Column precision - e.g. 8 as in double (8,2) - when relevant.
int32 precision = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The precision.
-
getScale
int getScale()
Optional. Column scale - e.g. 2 as in double (8,2) - when relevant.
int32 scale = 6 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The scale.
-
getFractionalSecondsPrecision
int getFractionalSecondsPrecision()
Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2) - when relevant.
int32 fractional_seconds_precision = 7 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The fractionalSecondsPrecision.
-
getArray
boolean getArray()
Optional. Is the column of array type.
bool array = 8 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The array.
-
getArrayLength
int getArrayLength()
Optional. The length of the array, only relevant if the column type is an array.
int32 array_length = 9 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The arrayLength.
-
getNullable
boolean getNullable()
Optional. Is the column nullable.
bool nullable = 10 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The nullable.
-
getAutoGenerated
boolean getAutoGenerated()
Optional. Is the column auto-generated/identity.
bool auto_generated = 11 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The autoGenerated.
-
getUdt
boolean getUdt()
Optional. Is the column a UDT (User-defined Type).
bool udt = 12 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The udt.
-
hasCustomFeatures
boolean hasCustomFeatures()
Optional. Custom engine specific features.
.google.protobuf.Struct custom_features = 13 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the customFeatures field is set.
-
getCustomFeatures
com.google.protobuf.Struct getCustomFeatures()
Optional. Custom engine specific features.
.google.protobuf.Struct custom_features = 13 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The customFeatures.
-
getCustomFeaturesOrBuilder
com.google.protobuf.StructOrBuilder getCustomFeaturesOrBuilder()
Optional. Custom engine specific features.
.google.protobuf.Struct custom_features = 13 [(.google.api.field_behavior) = OPTIONAL];
-
getSetValuesList
List<String> getSetValuesList()
Optional. Specifies the list of values allowed in the column.
repeated string set_values = 14 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- A list containing the setValues.
-
getSetValuesCount
int getSetValuesCount()
Optional. Specifies the list of values allowed in the column.
repeated string set_values = 14 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The count of setValues.
-
getSetValues
String getSetValues(int index)
Optional. Specifies the list of values allowed in the column.
repeated string set_values = 14 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index of the element to return.- Returns:
- The setValues at the given index.
-
getSetValuesBytes
com.google.protobuf.ByteString getSetValuesBytes(int index)
Optional. Specifies the list of values allowed in the column.
repeated string set_values = 14 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the setValues at the given index.
-
getComment
String getComment()
Optional. Comment associated with the column.
string comment = 15 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The comment.
-
getCommentBytes
com.google.protobuf.ByteString getCommentBytes()
Optional. Comment associated with the column.
string comment = 15 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for comment.
-
-