public final class SpannerDatabase extends GeneratedMessage implements SpannerDatabaseOrBuilderSpanner database structure.
Protobuf type google.cloud.datastream.v1.SpannerDatabase
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SpannerDatabaseImplements
SpannerDatabaseOrBuilderStatic Fields
SCHEMAS_FIELD_NUMBER
public static final int SCHEMAS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static SpannerDatabase getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
SpannerDatabase |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static SpannerDatabase.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
SpannerDatabase.Builder |
|
newBuilder(SpannerDatabase prototype)
public static SpannerDatabase.Builder newBuilder(SpannerDatabase prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
SpannerDatabase |
| Returns | |
|---|---|
| Type | Description |
SpannerDatabase.Builder |
|
parseDelimitedFrom(InputStream input)
public static SpannerDatabase parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SpannerDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SpannerDatabase parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SpannerDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static SpannerDatabase parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
SpannerDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SpannerDatabase parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SpannerDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static SpannerDatabase parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
SpannerDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SpannerDatabase parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SpannerDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static SpannerDatabase parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
SpannerDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SpannerDatabase parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SpannerDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static SpannerDatabase parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SpannerDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SpannerDatabase parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SpannerDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static SpannerDatabase parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
SpannerDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SpannerDatabase parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SpannerDatabase |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<SpannerDatabase> parser()| Returns | |
|---|---|
| Type | Description |
Parser<SpannerDatabase> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public SpannerDatabase getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SpannerDatabase |
|
getParserForType()
public Parser<SpannerDatabase> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<SpannerDatabase> |
|
getSchemas(int index)
public SpannerSchema getSchemas(int index)Optional. Spanner schemas in the database.
repeated .google.cloud.datastream.v1.SpannerSchema schemas = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SpannerSchema |
|
getSchemasCount()
public int getSchemasCount()Optional. Spanner schemas in the database.
repeated .google.cloud.datastream.v1.SpannerSchema schemas = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getSchemasList()
public List<SpannerSchema> getSchemasList()Optional. Spanner schemas in the database.
repeated .google.cloud.datastream.v1.SpannerSchema schemas = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<SpannerSchema> |
|
getSchemasOrBuilder(int index)
public SpannerSchemaOrBuilder getSchemasOrBuilder(int index)Optional. Spanner schemas in the database.
repeated .google.cloud.datastream.v1.SpannerSchema schemas = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SpannerSchemaOrBuilder |
|
getSchemasOrBuilderList()
public List<? extends SpannerSchemaOrBuilder> getSchemasOrBuilderList()Optional. Spanner schemas in the database.
repeated .google.cloud.datastream.v1.SpannerSchema schemas = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.datastream.v1.SpannerSchemaOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public SpannerDatabase.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
SpannerDatabase.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SpannerDatabase.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
SpannerDatabase.Builder |
|
toBuilder()
public SpannerDatabase.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
SpannerDatabase.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|