Package com.google.cloud.clouddms.v1
Interface ColumnEntityOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ColumnEntity,ColumnEntity.Builder
public interface ColumnEntityOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetArray()Is the column of array type.intgetArrayLength()If the column is array, of which length.booleangetAutoGenerated()Is the column auto-generated/identity.StringgetCharset()Charset override - instead of table level charset.com.google.protobuf.ByteStringgetCharsetBytes()Charset override - instead of table level charset.StringgetCollation()Collation override - instead of table level collation.com.google.protobuf.ByteStringgetCollationBytes()Collation override - instead of table level collation.StringgetComment()Comment associated with the column.com.google.protobuf.ByteStringgetCommentBytes()Comment associated with the column.com.google.protobuf.StructgetCustomFeatures()Custom engine specific features.com.google.protobuf.StructOrBuildergetCustomFeaturesOrBuilder()Custom engine specific features.StringgetDataType()Column data type.com.google.protobuf.ByteStringgetDataTypeBytes()Column data type.StringgetDefaultValue()Default value of the column.com.google.protobuf.ByteStringgetDefaultValueBytes()Default value of the column.intgetFractionalSecondsPrecision()Column fractional second precision - used for timestamp based datatypes.longgetLength()Column length - e.g.StringgetName()Column name.com.google.protobuf.ByteStringgetNameBytes()Column name.booleangetNullable()Is the column nullable.intgetOrdinalPosition()Column order in the table.intgetPrecision()Column precision - when relevant.intgetScale()Column scale - when relevant.StringgetSetValues(int index)Specifies the list of values allowed in the column.com.google.protobuf.ByteStringgetSetValuesBytes(int index)Specifies the list of values allowed in the column.intgetSetValuesCount()Specifies the list of values allowed in the column.List<String>getSetValuesList()Specifies the list of values allowed in the column.booleangetUdt()Is the column a UDT.booleanhasCustomFeatures()Custom engine specific features.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Column name.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Column name.
string name = 1;- Returns:
- The bytes for name.
-
getDataType
String getDataType()
Column data type.
string data_type = 2;- Returns:
- The dataType.
-
getDataTypeBytes
com.google.protobuf.ByteString getDataTypeBytes()
Column data type.
string data_type = 2;- Returns:
- The bytes for dataType.
-
getCharset
String getCharset()
Charset override - instead of table level charset.
string charset = 3;- Returns:
- The charset.
-
getCharsetBytes
com.google.protobuf.ByteString getCharsetBytes()
Charset override - instead of table level charset.
string charset = 3;- Returns:
- The bytes for charset.
-
getCollation
String getCollation()
Collation override - instead of table level collation.
string collation = 4;- Returns:
- The collation.
-
getCollationBytes
com.google.protobuf.ByteString getCollationBytes()
Collation override - instead of table level collation.
string collation = 4;- Returns:
- The bytes for collation.
-
getLength
long getLength()
Column length - e.g. varchar (50).
int64 length = 5;- Returns:
- The length.
-
getPrecision
int getPrecision()
Column precision - when relevant.
int32 precision = 6;- Returns:
- The precision.
-
getScale
int getScale()
Column scale - when relevant.
int32 scale = 7;- Returns:
- The scale.
-
getFractionalSecondsPrecision
int getFractionalSecondsPrecision()
Column fractional second precision - used for timestamp based datatypes.
int32 fractional_seconds_precision = 8;- Returns:
- The fractionalSecondsPrecision.
-
getArray
boolean getArray()
Is the column of array type.
bool array = 9;- Returns:
- The array.
-
getArrayLength
int getArrayLength()
If the column is array, of which length.
int32 array_length = 10;- Returns:
- The arrayLength.
-
getNullable
boolean getNullable()
Is the column nullable.
bool nullable = 11;- Returns:
- The nullable.
-
getAutoGenerated
boolean getAutoGenerated()
Is the column auto-generated/identity.
bool auto_generated = 12;- Returns:
- The autoGenerated.
-
getUdt
boolean getUdt()
Is the column a UDT.
bool udt = 13;- Returns:
- The udt.
-
hasCustomFeatures
boolean hasCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 14;- Returns:
- Whether the customFeatures field is set.
-
getCustomFeatures
com.google.protobuf.Struct getCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 14;- Returns:
- The customFeatures.
-
getCustomFeaturesOrBuilder
com.google.protobuf.StructOrBuilder getCustomFeaturesOrBuilder()
Custom engine specific features.
.google.protobuf.Struct custom_features = 14;
-
getSetValuesList
List<String> getSetValuesList()
Specifies the list of values allowed in the column. Only used for set data type.
repeated string set_values = 15;- Returns:
- A list containing the setValues.
-
getSetValuesCount
int getSetValuesCount()
Specifies the list of values allowed in the column. Only used for set data type.
repeated string set_values = 15;- Returns:
- The count of setValues.
-
getSetValues
String getSetValues(int index)
Specifies the list of values allowed in the column. Only used for set data type.
repeated string set_values = 15;- Parameters:
index- The index of the element to return.- Returns:
- The setValues at the given index.
-
getSetValuesBytes
com.google.protobuf.ByteString getSetValuesBytes(int index)
Specifies the list of values allowed in the column. Only used for set data type.
repeated string set_values = 15;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the setValues at the given index.
-
getComment
String getComment()
Comment associated with the column.
string comment = 16;- Returns:
- The comment.
-
getCommentBytes
com.google.protobuf.ByteString getCommentBytes()
Comment associated with the column.
string comment = 16;- Returns:
- The bytes for comment.
-
getOrdinalPosition
int getOrdinalPosition()
Column order in the table.
int32 ordinal_position = 17;- Returns:
- The ordinalPosition.
-
getDefaultValue
String getDefaultValue()
Default value of the column.
string default_value = 18;- Returns:
- The defaultValue.
-
getDefaultValueBytes
com.google.protobuf.ByteString getDefaultValueBytes()
Default value of the column.
string default_value = 18;- Returns:
- The bytes for defaultValue.
-
-