Class ColumnEntity (2.52.0)

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

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

COMMENT_FIELD_NUMBER

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()
Returns
Type Description
ColumnEntity

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ColumnEntity.Builder newBuilder()
Returns
Type Description
ColumnEntity.Builder

newBuilder(ColumnEntity prototype)

public static ColumnEntity.Builder newBuilder(ColumnEntity prototype)
Parameter
Name Description
prototype ColumnEntity
Returns
Type Description
ColumnEntity.Builder

parseDelimitedFrom(InputStream input)

public static ColumnEntity parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ColumnEntity
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ColumnEntity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnEntity
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ColumnEntity parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ColumnEntity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ColumnEntity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnEntity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ColumnEntity parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ColumnEntity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ColumnEntity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnEntity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ColumnEntity parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ColumnEntity
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ColumnEntity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnEntity
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ColumnEntity parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ColumnEntity
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ColumnEntity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnEntity
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ColumnEntity parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ColumnEntity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ColumnEntity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnEntity
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ColumnEntity> parser()
Returns
Type Description
Parser<ColumnEntity>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

getComment()

public String getComment()

Comment associated with the column.

string comment = 16;

Returns
Type Description
String

The comment.

getCommentBytes()

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;

Returns
Type Description
StructOrBuilder

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()
Returns
Type Description
ColumnEntity

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()

public long getLength()

Column length - e.g. varchar (50).

int64 length = 5;

Returns
Type Description
long

The length.

getName()

public String 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()
Returns
Type Description
Parser<ColumnEntity>
Overrides

getPrecision()

public int getPrecision()

Column precision - when relevant.

int32 precision = 6;

Returns
Type Description
int

The precision.

getScale()

public int 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;

Returns
Type Description
ProtocolStringList

A list containing the setValues.

getUdt()

public boolean 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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ColumnEntity.Builder newBuilderForType()
Returns
Type Description
ColumnEntity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ColumnEntity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ColumnEntity.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ColumnEntity.Builder toBuilder()
Returns
Type Description
ColumnEntity.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException