Package com.google.cloud.datastream.v1
Class PostgresqlColumn
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.datastream.v1.PostgresqlColumn
-
- All Implemented Interfaces:
PostgresqlColumnOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class PostgresqlColumn extends com.google.protobuf.GeneratedMessageV3 implements PostgresqlColumnOrBuilder
PostgreSQL Column.
Protobuf typegoogle.cloud.datastream.v1.PostgresqlColumn- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPostgresqlColumn.BuilderPostgreSQL 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 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)StringgetColumn()Column name.com.google.protobuf.ByteStringgetColumnBytes()Column name.StringgetDataType()The PostgreSQL data type.com.google.protobuf.ByteStringgetDataTypeBytes()The PostgreSQL data type.static PostgresqlColumngetDefaultInstance()PostgresqlColumngetDefaultInstanceForType()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<PostgresqlColumn>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 PostgresqlColumn.BuildernewBuilder()static PostgresqlColumn.BuildernewBuilder(PostgresqlColumn prototype)PostgresqlColumn.BuildernewBuilderForType()protected PostgresqlColumn.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static PostgresqlColumnparseDelimitedFrom(InputStream input)static PostgresqlColumnparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PostgresqlColumnparseFrom(byte[] data)static PostgresqlColumnparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PostgresqlColumnparseFrom(com.google.protobuf.ByteString data)static PostgresqlColumnparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PostgresqlColumnparseFrom(com.google.protobuf.CodedInputStream input)static PostgresqlColumnparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PostgresqlColumnparseFrom(InputStream input)static PostgresqlColumnparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PostgresqlColumnparseFrom(ByteBuffer data)static PostgresqlColumnparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<PostgresqlColumn>parser()PostgresqlColumn.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
-
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
-
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
-
-
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 interfacePostgresqlColumnOrBuilder- Returns:
- The column.
-
getColumnBytes
public com.google.protobuf.ByteString getColumnBytes()
Column name.
string column = 1;- Specified by:
getColumnBytesin interfacePostgresqlColumnOrBuilder- Returns:
- The bytes for column.
-
getDataType
public String getDataType()
The PostgreSQL data type.
string data_type = 2;- Specified by:
getDataTypein interfacePostgresqlColumnOrBuilder- Returns:
- The dataType.
-
getDataTypeBytes
public com.google.protobuf.ByteString getDataTypeBytes()
The PostgreSQL data type.
string data_type = 2;- Specified by:
getDataTypeBytesin interfacePostgresqlColumnOrBuilder- Returns:
- The bytes for dataType.
-
getLength
public int getLength()
Column length.
int32 length = 3;- Specified by:
getLengthin interfacePostgresqlColumnOrBuilder- Returns:
- The length.
-
getPrecision
public int getPrecision()
Column precision.
int32 precision = 4;- Specified by:
getPrecisionin interfacePostgresqlColumnOrBuilder- Returns:
- The precision.
-
getScale
public int getScale()
Column scale.
int32 scale = 5;- Specified by:
getScalein interfacePostgresqlColumnOrBuilder- Returns:
- The scale.
-
getPrimaryKey
public boolean getPrimaryKey()
Whether or not the column represents a primary key.
bool primary_key = 7;- Specified by:
getPrimaryKeyin interfacePostgresqlColumnOrBuilder- Returns:
- The primaryKey.
-
getNullable
public boolean getNullable()
Whether or not the column can accept a null value.
bool nullable = 8;- Specified by:
getNullablein interfacePostgresqlColumnOrBuilder- Returns:
- The nullable.
-
getOrdinalPosition
public int getOrdinalPosition()
The ordinal position of the column in the table.
int32 ordinal_position = 9;- Specified by:
getOrdinalPositionin interfacePostgresqlColumnOrBuilder- Returns:
- The ordinalPosition.
-
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 PostgresqlColumn parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PostgresqlColumn parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PostgresqlColumn parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PostgresqlColumn parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PostgresqlColumn parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PostgresqlColumn parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PostgresqlColumn parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PostgresqlColumn parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PostgresqlColumn parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PostgresqlColumn parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static PostgresqlColumn parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PostgresqlColumn parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public PostgresqlColumn.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static PostgresqlColumn.Builder newBuilder()
-
newBuilder
public static PostgresqlColumn.Builder newBuilder(PostgresqlColumn prototype)
-
toBuilder
public PostgresqlColumn.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PostgresqlColumn.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static PostgresqlColumn getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PostgresqlColumn> parser()
-
getParserForType
public com.google.protobuf.Parser<PostgresqlColumn> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PostgresqlColumn getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-