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 classColumnEntity.BuilderColumn 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 intARRAY_FIELD_NUMBERstatic intARRAY_LENGTH_FIELD_NUMBERstatic intAUTO_GENERATED_FIELD_NUMBERstatic intCHARSET_FIELD_NUMBERstatic intCOLLATION_FIELD_NUMBERstatic intCOMMENT_FIELD_NUMBERstatic intCUSTOM_FEATURES_FIELD_NUMBERstatic intDATA_TYPE_FIELD_NUMBERstatic intDEFAULT_VALUE_FIELD_NUMBERstatic intFRACTIONAL_SECONDS_PRECISION_FIELD_NUMBERstatic intLENGTH_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNULLABLE_FIELD_NUMBERstatic intORDINAL_POSITION_FIELD_NUMBERstatic intPRECISION_FIELD_NUMBERstatic intSCALE_FIELD_NUMBERstatic intSET_VALUES_FIELD_NUMBERstatic intUDT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)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.static ColumnEntitygetDefaultInstance()ColumnEntitygetDefaultInstanceForType()StringgetDefaultValue()Default value of the column.com.google.protobuf.ByteStringgetDefaultValueBytes()Default value of the column.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.com.google.protobuf.Parser<ColumnEntity>getParserForType()intgetPrecision()Column precision - when relevant.intgetScale()Column scale - when relevant.intgetSerializedSize()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.com.google.protobuf.ProtocolStringListgetSetValuesList()Specifies the list of values allowed in the column.booleangetUdt()Is the column a UDT.booleanhasCustomFeatures()Custom engine specific features.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ColumnEntity.BuildernewBuilder()static ColumnEntity.BuildernewBuilder(ColumnEntity prototype)ColumnEntity.BuildernewBuilderForType()protected ColumnEntity.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ColumnEntityparseDelimitedFrom(InputStream input)static ColumnEntityparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ColumnEntityparseFrom(byte[] data)static ColumnEntityparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ColumnEntityparseFrom(com.google.protobuf.ByteString data)static ColumnEntityparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ColumnEntityparseFrom(com.google.protobuf.CodedInputStream input)static ColumnEntityparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ColumnEntityparseFrom(InputStream input)static ColumnEntityparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ColumnEntityparseFrom(ByteBuffer data)static ColumnEntityparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ColumnEntity>parser()ColumnEntity.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Column name.
string name = 1;- Specified by:
getNamein interfaceColumnEntityOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Column name.
string name = 1;- Specified by:
getNameBytesin interfaceColumnEntityOrBuilder- Returns:
- The bytes for name.
-
getDataType
public String getDataType()
Column data type.
string data_type = 2;- Specified by:
getDataTypein interfaceColumnEntityOrBuilder- Returns:
- The dataType.
-
getDataTypeBytes
public com.google.protobuf.ByteString getDataTypeBytes()
Column data type.
string data_type = 2;- Specified by:
getDataTypeBytesin interfaceColumnEntityOrBuilder- Returns:
- The bytes for dataType.
-
getCharset
public String getCharset()
Charset override - instead of table level charset.
string charset = 3;- Specified by:
getCharsetin interfaceColumnEntityOrBuilder- Returns:
- The charset.
-
getCharsetBytes
public com.google.protobuf.ByteString getCharsetBytes()
Charset override - instead of table level charset.
string charset = 3;- Specified by:
getCharsetBytesin interfaceColumnEntityOrBuilder- Returns:
- The bytes for charset.
-
getCollation
public String getCollation()
Collation override - instead of table level collation.
string collation = 4;- Specified by:
getCollationin interfaceColumnEntityOrBuilder- Returns:
- The collation.
-
getCollationBytes
public com.google.protobuf.ByteString getCollationBytes()
Collation override - instead of table level collation.
string collation = 4;- Specified by:
getCollationBytesin interfaceColumnEntityOrBuilder- Returns:
- The bytes for collation.
-
getLength
public long getLength()
Column length - e.g. varchar (50).
int64 length = 5;- Specified by:
getLengthin interfaceColumnEntityOrBuilder- Returns:
- The length.
-
getPrecision
public int getPrecision()
Column precision - when relevant.
int32 precision = 6;- Specified by:
getPrecisionin interfaceColumnEntityOrBuilder- Returns:
- The precision.
-
getScale
public int getScale()
Column scale - when relevant.
int32 scale = 7;- Specified by:
getScalein interfaceColumnEntityOrBuilder- Returns:
- The scale.
-
getFractionalSecondsPrecision
public int getFractionalSecondsPrecision()
Column fractional second precision - used for timestamp based datatypes.
int32 fractional_seconds_precision = 8;- Specified by:
getFractionalSecondsPrecisionin interfaceColumnEntityOrBuilder- Returns:
- The fractionalSecondsPrecision.
-
getArray
public boolean getArray()
Is the column of array type.
bool array = 9;- Specified by:
getArrayin interfaceColumnEntityOrBuilder- Returns:
- The array.
-
getArrayLength
public int getArrayLength()
If the column is array, of which length.
int32 array_length = 10;- Specified by:
getArrayLengthin interfaceColumnEntityOrBuilder- Returns:
- The arrayLength.
-
getNullable
public boolean getNullable()
Is the column nullable.
bool nullable = 11;- Specified by:
getNullablein interfaceColumnEntityOrBuilder- Returns:
- The nullable.
-
getAutoGenerated
public boolean getAutoGenerated()
Is the column auto-generated/identity.
bool auto_generated = 12;- Specified by:
getAutoGeneratedin interfaceColumnEntityOrBuilder- Returns:
- The autoGenerated.
-
getUdt
public boolean getUdt()
Is the column a UDT.
bool udt = 13;- Specified by:
getUdtin interfaceColumnEntityOrBuilder- Returns:
- The udt.
-
hasCustomFeatures
public boolean hasCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 14;- Specified by:
hasCustomFeaturesin 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:
getCustomFeaturesin interfaceColumnEntityOrBuilder- Returns:
- The customFeatures.
-
getCustomFeaturesOrBuilder
public com.google.protobuf.StructOrBuilder getCustomFeaturesOrBuilder()
Custom engine specific features.
.google.protobuf.Struct custom_features = 14;- Specified by:
getCustomFeaturesOrBuilderin 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:
getSetValuesListin 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:
getSetValuesCountin 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:
getSetValuesin 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:
getSetValuesBytesin 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:
getCommentin interfaceColumnEntityOrBuilder- Returns:
- The comment.
-
getCommentBytes
public com.google.protobuf.ByteString getCommentBytes()
Comment associated with the column.
string comment = 16;- Specified by:
getCommentBytesin interfaceColumnEntityOrBuilder- Returns:
- The bytes for comment.
-
getOrdinalPosition
public int getOrdinalPosition()
Column order in the table.
int32 ordinal_position = 17;- Specified by:
getOrdinalPositionin interfaceColumnEntityOrBuilder- Returns:
- The ordinalPosition.
-
getDefaultValue
public String getDefaultValue()
Default value of the column.
string default_value = 18;- Specified by:
getDefaultValuein interfaceColumnEntityOrBuilder- Returns:
- The defaultValue.
-
getDefaultValueBytes
public com.google.protobuf.ByteString getDefaultValueBytes()
Default value of the column.
string default_value = 18;- Specified by:
getDefaultValueBytesin interfaceColumnEntityOrBuilder- Returns:
- The bytes for defaultValue.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ColumnEntity.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ColumnEntity getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-