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 class
PostgresqlColumn.Builder
PostgreSQL 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 int
COLUMN_FIELD_NUMBER
static int
DATA_TYPE_FIELD_NUMBER
static int
LENGTH_FIELD_NUMBER
static int
NULLABLE_FIELD_NUMBER
static int
ORDINAL_POSITION_FIELD_NUMBER
static int
PRECISION_FIELD_NUMBER
static int
PRIMARY_KEY_FIELD_NUMBER
static int
SCALE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getColumn()
Column name.com.google.protobuf.ByteString
getColumnBytes()
Column name.String
getDataType()
The PostgreSQL data type.com.google.protobuf.ByteString
getDataTypeBytes()
The PostgreSQL data type.static PostgresqlColumn
getDefaultInstance()
PostgresqlColumn
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
int
getLength()
Column length.boolean
getNullable()
Whether or not the column can accept a null value.int
getOrdinalPosition()
The ordinal position of the column in the table.com.google.protobuf.Parser<PostgresqlColumn>
getParserForType()
int
getPrecision()
Column precision.boolean
getPrimaryKey()
Whether or not the column represents a primary key.int
getScale()
Column scale.int
getSerializedSize()
int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static PostgresqlColumn.Builder
newBuilder()
static PostgresqlColumn.Builder
newBuilder(PostgresqlColumn prototype)
PostgresqlColumn.Builder
newBuilderForType()
protected PostgresqlColumn.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static PostgresqlColumn
parseDelimitedFrom(InputStream input)
static PostgresqlColumn
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PostgresqlColumn
parseFrom(byte[] data)
static PostgresqlColumn
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PostgresqlColumn
parseFrom(com.google.protobuf.ByteString data)
static PostgresqlColumn
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PostgresqlColumn
parseFrom(com.google.protobuf.CodedInputStream input)
static PostgresqlColumn
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PostgresqlColumn
parseFrom(InputStream input)
static PostgresqlColumn
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PostgresqlColumn
parseFrom(ByteBuffer data)
static PostgresqlColumn
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<PostgresqlColumn>
parser()
PostgresqlColumn.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
-
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:
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
-
getColumn
public String getColumn()
Column name.
string column = 1;
- Specified by:
getColumn
in interfacePostgresqlColumnOrBuilder
- Returns:
- The column.
-
getColumnBytes
public com.google.protobuf.ByteString getColumnBytes()
Column name.
string column = 1;
- Specified by:
getColumnBytes
in interfacePostgresqlColumnOrBuilder
- Returns:
- The bytes for column.
-
getDataType
public String getDataType()
The PostgreSQL data type.
string data_type = 2;
- Specified by:
getDataType
in interfacePostgresqlColumnOrBuilder
- Returns:
- The dataType.
-
getDataTypeBytes
public com.google.protobuf.ByteString getDataTypeBytes()
The PostgreSQL data type.
string data_type = 2;
- Specified by:
getDataTypeBytes
in interfacePostgresqlColumnOrBuilder
- Returns:
- The bytes for dataType.
-
getLength
public int getLength()
Column length.
int32 length = 3;
- Specified by:
getLength
in interfacePostgresqlColumnOrBuilder
- Returns:
- The length.
-
getPrecision
public int getPrecision()
Column precision.
int32 precision = 4;
- Specified by:
getPrecision
in interfacePostgresqlColumnOrBuilder
- Returns:
- The precision.
-
getScale
public int getScale()
Column scale.
int32 scale = 5;
- Specified by:
getScale
in interfacePostgresqlColumnOrBuilder
- Returns:
- The scale.
-
getPrimaryKey
public boolean getPrimaryKey()
Whether or not the column represents a primary key.
bool primary_key = 7;
- Specified by:
getPrimaryKey
in interfacePostgresqlColumnOrBuilder
- Returns:
- The primaryKey.
-
getNullable
public boolean getNullable()
Whether or not the column can accept a null value.
bool nullable = 8;
- Specified by:
getNullable
in interfacePostgresqlColumnOrBuilder
- Returns:
- The nullable.
-
getOrdinalPosition
public int getOrdinalPosition()
The ordinal position of the column in the table.
int32 ordinal_position = 9;
- Specified by:
getOrdinalPosition
in interfacePostgresqlColumnOrBuilder
- Returns:
- The ordinalPosition.
-
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 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PostgresqlColumn.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PostgresqlColumn getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-