Class GetDatabaseDdlResponse (6.60.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
TypeDescription
int

STATEMENTS_FIELD_NUMBER

public static final int STATEMENTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GetDatabaseDdlResponse getDefaultInstance()
Returns
TypeDescription
GetDatabaseDdlResponse

getDescriptor()

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

newBuilder()

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

newBuilder(GetDatabaseDdlResponse prototype)

public static GetDatabaseDdlResponse.Builder newBuilder(GetDatabaseDdlResponse prototype)
Parameter
NameDescription
prototypeGetDatabaseDdlResponse
Returns
TypeDescription
GetDatabaseDdlResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GetDatabaseDdlResponse getDefaultInstanceForType()
Returns
TypeDescription
GetDatabaseDdlResponse

getParserForType()

public Parser<GetDatabaseDdlResponse> getParserForType()
Returns
TypeDescription
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
TypeDescription
ByteString

The protoDescriptors.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the statements.

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 GetDatabaseDdlResponse.Builder newBuilderForType()
Returns
TypeDescription
GetDatabaseDdlResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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