public final class ColumnEntity extends GeneratedMessageV3 implements ColumnEntityOrBuilder
Column is not used as an independent entity, it is retrieved as part of a
Table entity.
Protobuf type google.cloud.clouddms.v1.ColumnEntity
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ARRAY_FIELD_NUMBER
public static final int ARRAY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ARRAY_LENGTH_FIELD_NUMBER
public static final int ARRAY_LENGTH_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
AUTO_GENERATED_FIELD_NUMBER
public static final int AUTO_GENERATED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CHARSET_FIELD_NUMBER
public static final int CHARSET_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
COLLATION_FIELD_NUMBER
public static final int COLLATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int COMMENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CUSTOM_FEATURES_FIELD_NUMBER
public static final int CUSTOM_FEATURES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DATA_TYPE_FIELD_NUMBER
public static final int DATA_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DEFAULT_VALUE_FIELD_NUMBER
public static final int DEFAULT_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FRACTIONAL_SECONDS_PRECISION_FIELD_NUMBER
public static final int FRACTIONAL_SECONDS_PRECISION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LENGTH_FIELD_NUMBER
public static final int LENGTH_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NULLABLE_FIELD_NUMBER
public static final int NULLABLE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ORDINAL_POSITION_FIELD_NUMBER
public static final int ORDINAL_POSITION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PRECISION_FIELD_NUMBER
public static final int PRECISION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SCALE_FIELD_NUMBER
public static final int SCALE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SET_VALUES_FIELD_NUMBER
public static final int SET_VALUES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UDT_FIELD_NUMBER
public static final int UDT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ColumnEntity getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ColumnEntity.Builder newBuilder()
newBuilder(ColumnEntity prototype)
public static ColumnEntity.Builder newBuilder(ColumnEntity prototype)
public static ColumnEntity parseDelimitedFrom(InputStream input)
public static ColumnEntity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ColumnEntity parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ColumnEntity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ColumnEntity parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ColumnEntity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ColumnEntity parseFrom(CodedInputStream input)
public static ColumnEntity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ColumnEntity parseFrom(InputStream input)
public static ColumnEntity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ColumnEntity parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ColumnEntity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ColumnEntity> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getArray()
public boolean getArray()
Is the column of array type.
bool array = 9;
Returns |
Type |
Description |
boolean |
The array.
|
getArrayLength()
public int getArrayLength()
If the column is array, of which length.
int32 array_length = 10;
Returns |
Type |
Description |
int |
The arrayLength.
|
getAutoGenerated()
public boolean getAutoGenerated()
Is the column auto-generated/identity.
bool auto_generated = 12;
Returns |
Type |
Description |
boolean |
The autoGenerated.
|
getCharset()
public String getCharset()
Charset override - instead of table level charset.
string charset = 3;
Returns |
Type |
Description |
String |
The charset.
|
getCharsetBytes()
public ByteString getCharsetBytes()
Charset override - instead of table level charset.
string charset = 3;
Returns |
Type |
Description |
ByteString |
The bytes for charset.
|
getCollation()
public String getCollation()
Collation override - instead of table level collation.
string collation = 4;
Returns |
Type |
Description |
String |
The collation.
|
getCollationBytes()
public ByteString getCollationBytes()
Collation override - instead of table level collation.
string collation = 4;
Returns |
Type |
Description |
ByteString |
The bytes for collation.
|
public String getComment()
Comment associated with the column.
string comment = 16;
Returns |
Type |
Description |
String |
The comment.
|
public ByteString getCommentBytes()
Comment associated with the column.
string comment = 16;
Returns |
Type |
Description |
ByteString |
The bytes for comment.
|
getCustomFeatures()
public Struct getCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 14;
Returns |
Type |
Description |
Struct |
The customFeatures.
|
getCustomFeaturesOrBuilder()
public StructOrBuilder getCustomFeaturesOrBuilder()
Custom engine specific features.
.google.protobuf.Struct custom_features = 14;
getDataType()
public String getDataType()
Column data type.
string data_type = 2;
Returns |
Type |
Description |
String |
The dataType.
|
getDataTypeBytes()
public ByteString getDataTypeBytes()
Column data type.
string data_type = 2;
Returns |
Type |
Description |
ByteString |
The bytes for dataType.
|
getDefaultInstanceForType()
public ColumnEntity getDefaultInstanceForType()
getDefaultValue()
public String getDefaultValue()
Default value of the column.
string default_value = 18;
Returns |
Type |
Description |
String |
The defaultValue.
|
getDefaultValueBytes()
public ByteString getDefaultValueBytes()
Default value of the column.
string default_value = 18;
Returns |
Type |
Description |
ByteString |
The bytes for defaultValue.
|
getFractionalSecondsPrecision()
public int getFractionalSecondsPrecision()
Column fractional second precision - used for timestamp based datatypes.
int32 fractional_seconds_precision = 8;
Returns |
Type |
Description |
int |
The fractionalSecondsPrecision.
|
getLength()
Column length - e.g. varchar (50).
int64 length = 5;
Returns |
Type |
Description |
long |
The length.
|
getName()
Column name.
string name = 1;
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Column name.
string name = 1;
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getNullable()
public boolean getNullable()
Is the column nullable.
bool nullable = 11;
Returns |
Type |
Description |
boolean |
The nullable.
|
getOrdinalPosition()
public int getOrdinalPosition()
Column order in the table.
int32 ordinal_position = 17;
Returns |
Type |
Description |
int |
The ordinalPosition.
|
getParserForType()
public Parser<ColumnEntity> getParserForType()
Overrides
getPrecision()
public int getPrecision()
Column precision - when relevant.
int32 precision = 6;
Returns |
Type |
Description |
int |
The precision.
|
getScale()
Column scale - when relevant.
int32 scale = 7;
Returns |
Type |
Description |
int |
The scale.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSetValues(int index)
public String getSetValues(int index)
Specifies the list of values allowed in the column.
Only used for set data type.
repeated string set_values = 15;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The setValues at the given index.
|
getSetValuesBytes(int index)
public ByteString getSetValuesBytes(int index)
Specifies the list of values allowed in the column.
Only used for set data type.
repeated string set_values = 15;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the setValues at the given index.
|
getSetValuesCount()
public int getSetValuesCount()
Specifies the list of values allowed in the column.
Only used for set data type.
repeated string set_values = 15;
Returns |
Type |
Description |
int |
The count of setValues.
|
getSetValuesList()
public ProtocolStringList getSetValuesList()
Specifies the list of values allowed in the column.
Only used for set data type.
repeated string set_values = 15;
getUdt()
Is the column a UDT.
bool udt = 13;
Returns |
Type |
Description |
boolean |
The udt.
|
hasCustomFeatures()
public boolean hasCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 14;
Returns |
Type |
Description |
boolean |
Whether the customFeatures field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ColumnEntity.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ColumnEntity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ColumnEntity.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides