Package com.google.cloud.clouddms.v1
Class ColumnEntity
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.clouddms.v1.ColumnEntity
-
- All Implemented Interfaces:
ColumnEntityOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class ColumnEntity extends com.google.protobuf.GeneratedMessageV3 implements ColumnEntityOrBuilder
Column is not used as an independent entity, it is retrieved as part of a Table entity.
Protobuf typegoogle.cloud.clouddms.v1.ColumnEntity
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ColumnEntity.Builder
Column is not used as an independent entity, it is retrieved as part of a Table entity.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ARRAY_FIELD_NUMBER
static int
ARRAY_LENGTH_FIELD_NUMBER
static int
AUTO_GENERATED_FIELD_NUMBER
static int
CHARSET_FIELD_NUMBER
static int
COLLATION_FIELD_NUMBER
static int
COMMENT_FIELD_NUMBER
static int
CUSTOM_FEATURES_FIELD_NUMBER
static int
DATA_TYPE_FIELD_NUMBER
static int
DEFAULT_VALUE_FIELD_NUMBER
static int
FRACTIONAL_SECONDS_PRECISION_FIELD_NUMBER
static int
LENGTH_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
NULLABLE_FIELD_NUMBER
static int
ORDINAL_POSITION_FIELD_NUMBER
static int
PRECISION_FIELD_NUMBER
static int
SCALE_FIELD_NUMBER
static int
SET_VALUES_FIELD_NUMBER
static int
UDT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
boolean
getArray()
Is the column of array type.int
getArrayLength()
If the column is array, of which length.boolean
getAutoGenerated()
Is the column auto-generated/identity.String
getCharset()
Charset override - instead of table level charset.com.google.protobuf.ByteString
getCharsetBytes()
Charset override - instead of table level charset.String
getCollation()
Collation override - instead of table level collation.com.google.protobuf.ByteString
getCollationBytes()
Collation override - instead of table level collation.String
getComment()
Comment associated with the column.com.google.protobuf.ByteString
getCommentBytes()
Comment associated with the column.com.google.protobuf.Struct
getCustomFeatures()
Custom engine specific features.com.google.protobuf.StructOrBuilder
getCustomFeaturesOrBuilder()
Custom engine specific features.String
getDataType()
Column data type.com.google.protobuf.ByteString
getDataTypeBytes()
Column data type.static ColumnEntity
getDefaultInstance()
ColumnEntity
getDefaultInstanceForType()
String
getDefaultValue()
Default value of the column.com.google.protobuf.ByteString
getDefaultValueBytes()
Default value of the column.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
int
getFractionalSecondsPrecision()
Column fractional second precision - used for timestamp based datatypes.long
getLength()
Column length - e.g.String
getName()
Column name.com.google.protobuf.ByteString
getNameBytes()
Column name.boolean
getNullable()
Is the column nullable.int
getOrdinalPosition()
Column order in the table.com.google.protobuf.Parser<ColumnEntity>
getParserForType()
int
getPrecision()
Column precision - when relevant.int
getScale()
Column scale - when relevant.int
getSerializedSize()
String
getSetValues(int index)
Specifies the list of values allowed in the column.com.google.protobuf.ByteString
getSetValuesBytes(int index)
Specifies the list of values allowed in the column.int
getSetValuesCount()
Specifies the list of values allowed in the column.com.google.protobuf.ProtocolStringList
getSetValuesList()
Specifies the list of values allowed in the column.boolean
getUdt()
Is the column a UDT.boolean
hasCustomFeatures()
Custom engine specific features.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ColumnEntity.Builder
newBuilder()
static ColumnEntity.Builder
newBuilder(ColumnEntity prototype)
ColumnEntity.Builder
newBuilderForType()
protected ColumnEntity.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ColumnEntity
parseDelimitedFrom(InputStream input)
static ColumnEntity
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ColumnEntity
parseFrom(byte[] data)
static ColumnEntity
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ColumnEntity
parseFrom(com.google.protobuf.ByteString data)
static ColumnEntity
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ColumnEntity
parseFrom(com.google.protobuf.CodedInputStream input)
static ColumnEntity
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ColumnEntity
parseFrom(InputStream input)
static ColumnEntity
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ColumnEntity
parseFrom(ByteBuffer data)
static ColumnEntity
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ColumnEntity>
parser()
ColumnEntity.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_TYPE_FIELD_NUMBER
public static final int DATA_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CHARSET_FIELD_NUMBER
public static final int CHARSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COLLATION_FIELD_NUMBER
public static final int COLLATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LENGTH_FIELD_NUMBER
public static final int LENGTH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRECISION_FIELD_NUMBER
public static final int PRECISION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCALE_FIELD_NUMBER
public static final int SCALE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FRACTIONAL_SECONDS_PRECISION_FIELD_NUMBER
public static final int FRACTIONAL_SECONDS_PRECISION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARRAY_FIELD_NUMBER
public static final int ARRAY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARRAY_LENGTH_FIELD_NUMBER
public static final int ARRAY_LENGTH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NULLABLE_FIELD_NUMBER
public static final int NULLABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTO_GENERATED_FIELD_NUMBER
public static final int AUTO_GENERATED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UDT_FIELD_NUMBER
public static final int UDT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUSTOM_FEATURES_FIELD_NUMBER
public static final int CUSTOM_FEATURES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SET_VALUES_FIELD_NUMBER
public static final int SET_VALUES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMMENT_FIELD_NUMBER
public static final int COMMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ORDINAL_POSITION_FIELD_NUMBER
public static final int ORDINAL_POSITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEFAULT_VALUE_FIELD_NUMBER
public static final int DEFAULT_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.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 classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Column name.
string name = 1;
- Specified by:
getName
in interfaceColumnEntityOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Column name.
string name = 1;
- Specified by:
getNameBytes
in interfaceColumnEntityOrBuilder
- Returns:
- The bytes for name.
-
getDataType
public String getDataType()
Column data type.
string data_type = 2;
- Specified by:
getDataType
in interfaceColumnEntityOrBuilder
- Returns:
- The dataType.
-
getDataTypeBytes
public com.google.protobuf.ByteString getDataTypeBytes()
Column data type.
string data_type = 2;
- Specified by:
getDataTypeBytes
in interfaceColumnEntityOrBuilder
- Returns:
- The bytes for dataType.
-
getCharset
public String getCharset()
Charset override - instead of table level charset.
string charset = 3;
- Specified by:
getCharset
in interfaceColumnEntityOrBuilder
- Returns:
- The charset.
-
getCharsetBytes
public com.google.protobuf.ByteString getCharsetBytes()
Charset override - instead of table level charset.
string charset = 3;
- Specified by:
getCharsetBytes
in interfaceColumnEntityOrBuilder
- Returns:
- The bytes for charset.
-
getCollation
public String getCollation()
Collation override - instead of table level collation.
string collation = 4;
- Specified by:
getCollation
in interfaceColumnEntityOrBuilder
- Returns:
- The collation.
-
getCollationBytes
public com.google.protobuf.ByteString getCollationBytes()
Collation override - instead of table level collation.
string collation = 4;
- Specified by:
getCollationBytes
in interfaceColumnEntityOrBuilder
- Returns:
- The bytes for collation.
-
getLength
public long getLength()
Column length - e.g. varchar (50).
int64 length = 5;
- Specified by:
getLength
in interfaceColumnEntityOrBuilder
- Returns:
- The length.
-
getPrecision
public int getPrecision()
Column precision - when relevant.
int32 precision = 6;
- Specified by:
getPrecision
in interfaceColumnEntityOrBuilder
- Returns:
- The precision.
-
getScale
public int getScale()
Column scale - when relevant.
int32 scale = 7;
- Specified by:
getScale
in interfaceColumnEntityOrBuilder
- Returns:
- The scale.
-
getFractionalSecondsPrecision
public int getFractionalSecondsPrecision()
Column fractional second precision - used for timestamp based datatypes.
int32 fractional_seconds_precision = 8;
- Specified by:
getFractionalSecondsPrecision
in interfaceColumnEntityOrBuilder
- Returns:
- The fractionalSecondsPrecision.
-
getArray
public boolean getArray()
Is the column of array type.
bool array = 9;
- Specified by:
getArray
in interfaceColumnEntityOrBuilder
- Returns:
- The array.
-
getArrayLength
public int getArrayLength()
If the column is array, of which length.
int32 array_length = 10;
- Specified by:
getArrayLength
in interfaceColumnEntityOrBuilder
- Returns:
- The arrayLength.
-
getNullable
public boolean getNullable()
Is the column nullable.
bool nullable = 11;
- Specified by:
getNullable
in interfaceColumnEntityOrBuilder
- Returns:
- The nullable.
-
getAutoGenerated
public boolean getAutoGenerated()
Is the column auto-generated/identity.
bool auto_generated = 12;
- Specified by:
getAutoGenerated
in interfaceColumnEntityOrBuilder
- Returns:
- The autoGenerated.
-
getUdt
public boolean getUdt()
Is the column a UDT.
bool udt = 13;
- Specified by:
getUdt
in interfaceColumnEntityOrBuilder
- Returns:
- The udt.
-
hasCustomFeatures
public boolean hasCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 14;
- Specified by:
hasCustomFeatures
in interfaceColumnEntityOrBuilder
- Returns:
- Whether the customFeatures field is set.
-
getCustomFeatures
public com.google.protobuf.Struct getCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 14;
- Specified by:
getCustomFeatures
in interfaceColumnEntityOrBuilder
- Returns:
- The customFeatures.
-
getCustomFeaturesOrBuilder
public com.google.protobuf.StructOrBuilder getCustomFeaturesOrBuilder()
Custom engine specific features.
.google.protobuf.Struct custom_features = 14;
- Specified by:
getCustomFeaturesOrBuilder
in interfaceColumnEntityOrBuilder
-
getSetValuesList
public com.google.protobuf.ProtocolStringList getSetValuesList()
Specifies the list of values allowed in the column. Only used for set data type.
repeated string set_values = 15;
- Specified by:
getSetValuesList
in interfaceColumnEntityOrBuilder
- Returns:
- A list containing the setValues.
-
getSetValuesCount
public int getSetValuesCount()
Specifies the list of values allowed in the column. Only used for set data type.
repeated string set_values = 15;
- Specified by:
getSetValuesCount
in interfaceColumnEntityOrBuilder
- Returns:
- The count of setValues.
-
getSetValues
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;
- Specified by:
getSetValues
in interfaceColumnEntityOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The setValues at the given index.
-
getSetValuesBytes
public 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;
- Specified by:
getSetValuesBytes
in interfaceColumnEntityOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the setValues at the given index.
-
getComment
public String getComment()
Comment associated with the column.
string comment = 16;
- Specified by:
getComment
in interfaceColumnEntityOrBuilder
- Returns:
- The comment.
-
getCommentBytes
public com.google.protobuf.ByteString getCommentBytes()
Comment associated with the column.
string comment = 16;
- Specified by:
getCommentBytes
in interfaceColumnEntityOrBuilder
- Returns:
- The bytes for comment.
-
getOrdinalPosition
public int getOrdinalPosition()
Column order in the table.
int32 ordinal_position = 17;
- Specified by:
getOrdinalPosition
in interfaceColumnEntityOrBuilder
- Returns:
- The ordinalPosition.
-
getDefaultValue
public String getDefaultValue()
Default value of the column.
string default_value = 18;
- Specified by:
getDefaultValue
in interfaceColumnEntityOrBuilder
- Returns:
- The defaultValue.
-
getDefaultValueBytes
public com.google.protobuf.ByteString getDefaultValueBytes()
Default value of the column.
string default_value = 18;
- Specified by:
getDefaultValueBytes
in interfaceColumnEntityOrBuilder
- Returns:
- The bytes for defaultValue.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ColumnEntity parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ColumnEntity parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ColumnEntity parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ColumnEntity parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ColumnEntity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ColumnEntity parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ColumnEntity parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ColumnEntity parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ColumnEntity parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ColumnEntity parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ColumnEntity parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ColumnEntity parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ColumnEntity.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ColumnEntity.Builder newBuilder()
-
newBuilder
public static ColumnEntity.Builder newBuilder(ColumnEntity prototype)
-
toBuilder
public ColumnEntity.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ColumnEntity.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ColumnEntity getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ColumnEntity> parser()
-
getParserForType
public com.google.protobuf.Parser<ColumnEntity> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ColumnEntity getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-