Package com.google.cloud.datastream.v1
Class MysqlColumn
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.datastream.v1.MysqlColumn
-
- All Implemented Interfaces:
MysqlColumnOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class MysqlColumn extends com.google.protobuf.GeneratedMessageV3 implements MysqlColumnOrBuilder
MySQL Column.
Protobuf typegoogle.cloud.datastream.v1.MysqlColumn- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMysqlColumn.BuilderMySQL Column.-
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 intCOLLATION_FIELD_NUMBERstatic intCOLUMN_FIELD_NUMBERstatic intDATA_TYPE_FIELD_NUMBERstatic intLENGTH_FIELD_NUMBERstatic intNULLABLE_FIELD_NUMBERstatic intORDINAL_POSITION_FIELD_NUMBERstatic intPRECISION_FIELD_NUMBERstatic intPRIMARY_KEY_FIELD_NUMBERstatic intSCALE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCollation()Column collation.com.google.protobuf.ByteStringgetCollationBytes()Column collation.StringgetColumn()Column name.com.google.protobuf.ByteStringgetColumnBytes()Column name.StringgetDataType()The MySQL data type.com.google.protobuf.ByteStringgetDataTypeBytes()The MySQL data type.static MysqlColumngetDefaultInstance()MysqlColumngetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()intgetLength()Column length.booleangetNullable()Whether or not the column can accept a null value.intgetOrdinalPosition()The ordinal position of the column in the table.com.google.protobuf.Parser<MysqlColumn>getParserForType()intgetPrecision()Column precision.booleangetPrimaryKey()Whether or not the column represents a primary key.intgetScale()Column scale.intgetSerializedSize()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static MysqlColumn.BuildernewBuilder()static MysqlColumn.BuildernewBuilder(MysqlColumn prototype)MysqlColumn.BuildernewBuilderForType()protected MysqlColumn.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static MysqlColumnparseDelimitedFrom(InputStream input)static MysqlColumnparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MysqlColumnparseFrom(byte[] data)static MysqlColumnparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MysqlColumnparseFrom(com.google.protobuf.ByteString data)static MysqlColumnparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MysqlColumnparseFrom(com.google.protobuf.CodedInputStream input)static MysqlColumnparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MysqlColumnparseFrom(InputStream input)static MysqlColumnparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MysqlColumnparseFrom(ByteBuffer data)static MysqlColumnparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<MysqlColumn>parser()MysqlColumn.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
-
COLUMN_FIELD_NUMBER
public static final int COLUMN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_TYPE_FIELD_NUMBER
public static final int DATA_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LENGTH_FIELD_NUMBER
public static final int LENGTH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COLLATION_FIELD_NUMBER
public static final int COLLATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIMARY_KEY_FIELD_NUMBER
public static final int PRIMARY_KEY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NULLABLE_FIELD_NUMBER
public static final int NULLABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ORDINAL_POSITION_FIELD_NUMBER
public static final int ORDINAL_POSITION_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
-
-
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
-
getColumn
public String getColumn()
Column name.
string column = 1;- Specified by:
getColumnin interfaceMysqlColumnOrBuilder- Returns:
- The column.
-
getColumnBytes
public com.google.protobuf.ByteString getColumnBytes()
Column name.
string column = 1;- Specified by:
getColumnBytesin interfaceMysqlColumnOrBuilder- Returns:
- The bytes for column.
-
getDataType
public String getDataType()
The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
string data_type = 2;- Specified by:
getDataTypein interfaceMysqlColumnOrBuilder- Returns:
- The dataType.
-
getDataTypeBytes
public com.google.protobuf.ByteString getDataTypeBytes()
The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
string data_type = 2;- Specified by:
getDataTypeBytesin interfaceMysqlColumnOrBuilder- Returns:
- The bytes for dataType.
-
getLength
public int getLength()
Column length.
int32 length = 3;- Specified by:
getLengthin interfaceMysqlColumnOrBuilder- Returns:
- The length.
-
getCollation
public String getCollation()
Column collation.
string collation = 4;- Specified by:
getCollationin interfaceMysqlColumnOrBuilder- Returns:
- The collation.
-
getCollationBytes
public com.google.protobuf.ByteString getCollationBytes()
Column collation.
string collation = 4;- Specified by:
getCollationBytesin interfaceMysqlColumnOrBuilder- Returns:
- The bytes for collation.
-
getPrimaryKey
public boolean getPrimaryKey()
Whether or not the column represents a primary key.
bool primary_key = 5;- Specified by:
getPrimaryKeyin interfaceMysqlColumnOrBuilder- Returns:
- The primaryKey.
-
getNullable
public boolean getNullable()
Whether or not the column can accept a null value.
bool nullable = 6;- Specified by:
getNullablein interfaceMysqlColumnOrBuilder- Returns:
- The nullable.
-
getOrdinalPosition
public int getOrdinalPosition()
The ordinal position of the column in the table.
int32 ordinal_position = 7;- Specified by:
getOrdinalPositionin interfaceMysqlColumnOrBuilder- Returns:
- The ordinalPosition.
-
getPrecision
public int getPrecision()
Column precision.
int32 precision = 8;- Specified by:
getPrecisionin interfaceMysqlColumnOrBuilder- Returns:
- The precision.
-
getScale
public int getScale()
Column scale.
int32 scale = 9;- Specified by:
getScalein interfaceMysqlColumnOrBuilder- Returns:
- The scale.
-
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 MysqlColumn parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlColumn parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlColumn parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlColumn parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlColumn parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlColumn parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlColumn parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MysqlColumn parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MysqlColumn parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MysqlColumn parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static MysqlColumn parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MysqlColumn parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public MysqlColumn.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static MysqlColumn.Builder newBuilder()
-
newBuilder
public static MysqlColumn.Builder newBuilder(MysqlColumn prototype)
-
toBuilder
public MysqlColumn.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MysqlColumn.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static MysqlColumn getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<MysqlColumn> parser()
-
getParserForType
public com.google.protobuf.Parser<MysqlColumn> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MysqlColumn getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-