Class PostgresqlSchema (1.16.0)

public final class PostgresqlSchema extends GeneratedMessageV3 implements PostgresqlSchemaOrBuilder

PostgreSQL schema.

Protobuf type google.cloud.datastream.v1.PostgresqlSchema

Static Fields

POSTGRESQL_TABLES_FIELD_NUMBER

public static final int POSTGRESQL_TABLES_FIELD_NUMBER
Field Value
TypeDescription
int

SCHEMA_FIELD_NUMBER

public static final int SCHEMA_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PostgresqlSchema getDefaultInstance()
Returns
TypeDescription
PostgresqlSchema

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PostgresqlSchema.Builder newBuilder()
Returns
TypeDescription
PostgresqlSchema.Builder

newBuilder(PostgresqlSchema prototype)

public static PostgresqlSchema.Builder newBuilder(PostgresqlSchema prototype)
Parameter
NameDescription
prototypePostgresqlSchema
Returns
TypeDescription
PostgresqlSchema.Builder

parseDelimitedFrom(InputStream input)

public static PostgresqlSchema parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PostgresqlSchema
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PostgresqlSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PostgresqlSchema
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PostgresqlSchema parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PostgresqlSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PostgresqlSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PostgresqlSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PostgresqlSchema parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PostgresqlSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PostgresqlSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PostgresqlSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PostgresqlSchema parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PostgresqlSchema
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PostgresqlSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PostgresqlSchema
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PostgresqlSchema parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PostgresqlSchema
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PostgresqlSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PostgresqlSchema
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PostgresqlSchema parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PostgresqlSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PostgresqlSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PostgresqlSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PostgresqlSchema> parser()
Returns
TypeDescription
Parser<PostgresqlSchema>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PostgresqlSchema getDefaultInstanceForType()
Returns
TypeDescription
PostgresqlSchema

getParserForType()

public Parser<PostgresqlSchema> getParserForType()
Returns
TypeDescription
Parser<PostgresqlSchema>
Overrides

getPostgresqlTables(int index)

public PostgresqlTable getPostgresqlTables(int index)

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
PostgresqlTable

getPostgresqlTablesCount()

public int getPostgresqlTablesCount()

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

Returns
TypeDescription
int

getPostgresqlTablesList()

public List<PostgresqlTable> getPostgresqlTablesList()

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

Returns
TypeDescription
List<PostgresqlTable>

getPostgresqlTablesOrBuilder(int index)

public PostgresqlTableOrBuilder getPostgresqlTablesOrBuilder(int index)

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
PostgresqlTableOrBuilder

getPostgresqlTablesOrBuilderList()

public List<? extends PostgresqlTableOrBuilder> getPostgresqlTablesOrBuilderList()

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

Returns
TypeDescription
List<? extends com.google.cloud.datastream.v1.PostgresqlTableOrBuilder>

getSchema()

public String getSchema()

Schema name.

string schema = 1;

Returns
TypeDescription
String

The schema.

getSchemaBytes()

public ByteString getSchemaBytes()

Schema name.

string schema = 1;

Returns
TypeDescription
ByteString

The bytes for schema.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PostgresqlSchema.Builder newBuilderForType()
Returns
TypeDescription
PostgresqlSchema.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PostgresqlSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PostgresqlSchema.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PostgresqlSchema.Builder toBuilder()
Returns
TypeDescription
PostgresqlSchema.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException