Class GetDatabaseDdlResponse (6.77.0)

public final class GetDatabaseDdlResponse extends GeneratedMessageV3 implements GetDatabaseDdlResponseOrBuilder

The response for GetDatabaseDdl.

Protobuf type google.spanner.admin.database.v1.GetDatabaseDdlResponse

Static Fields

PROTO_DESCRIPTORS_FIELD_NUMBER

public static final int PROTO_DESCRIPTORS_FIELD_NUMBER
Field Value
Type Description
int

STATEMENTS_FIELD_NUMBER

public static final int STATEMENTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GetDatabaseDdlResponse getDefaultInstance()
Returns
Type Description
GetDatabaseDdlResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GetDatabaseDdlResponse.Builder newBuilder()
Returns
Type Description
GetDatabaseDdlResponse.Builder

newBuilder(GetDatabaseDdlResponse prototype)

public static GetDatabaseDdlResponse.Builder newBuilder(GetDatabaseDdlResponse prototype)
Parameter
Name Description
prototype GetDatabaseDdlResponse
Returns
Type Description
GetDatabaseDdlResponse.Builder

parseDelimitedFrom(InputStream input)

public static GetDatabaseDdlResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetDatabaseDdlResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetDatabaseDdlResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetDatabaseDdlResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GetDatabaseDdlResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GetDatabaseDdlResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GetDatabaseDdlResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetDatabaseDdlResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GetDatabaseDdlResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GetDatabaseDdlResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GetDatabaseDdlResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetDatabaseDdlResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GetDatabaseDdlResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GetDatabaseDdlResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GetDatabaseDdlResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetDatabaseDdlResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GetDatabaseDdlResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetDatabaseDdlResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetDatabaseDdlResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetDatabaseDdlResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GetDatabaseDdlResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GetDatabaseDdlResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GetDatabaseDdlResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetDatabaseDdlResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GetDatabaseDdlResponse> parser()
Returns
Type Description
Parser<GetDatabaseDdlResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GetDatabaseDdlResponse getDefaultInstanceForType()
Returns
Type Description
GetDatabaseDdlResponse

getParserForType()

public Parser<GetDatabaseDdlResponse> getParserForType()
Returns
Type Description
Parser<GetDatabaseDdlResponse>
Overrides

getProtoDescriptors()

public ByteString getProtoDescriptors()

Proto descriptors stored in the database. Contains a protobuf-serialized google.protobuf.FileDescriptorSet. For more details, see protobuffer self description.

bytes proto_descriptors = 2;

Returns
Type Description
ByteString

The protoDescriptors.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStatements(int index)

public String getStatements(int index)

A list of formatted DDL statements defining the schema of the database specified in the request.

repeated string statements = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The statements at the given index.

getStatementsBytes(int index)

public ByteString getStatementsBytes(int index)

A list of formatted DDL statements defining the schema of the database specified in the request.

repeated string statements = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the statements at the given index.

getStatementsCount()

public int getStatementsCount()

A list of formatted DDL statements defining the schema of the database specified in the request.

repeated string statements = 1;

Returns
Type Description
int

The count of statements.

getStatementsList()

public ProtocolStringList getStatementsList()

A list of formatted DDL statements defining the schema of the database specified in the request.

repeated string statements = 1;

Returns
Type Description
ProtocolStringList

A list containing the statements.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GetDatabaseDdlResponse.Builder newBuilderForType()
Returns
Type Description
GetDatabaseDdlResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GetDatabaseDdlResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GetDatabaseDdlResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GetDatabaseDdlResponse.Builder toBuilder()
Returns
Type Description
GetDatabaseDdlResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException