Class GetDatabaseDdlResponse (6.89.0)

publicfinalclassGetDatabaseDdlResponseextendsGeneratedMessageV3implementsGetDatabaseDdlResponseOrBuilder

The response for GetDatabaseDdl.

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

Static Fields

PROTO_DESCRIPTORS_FIELD_NUMBER

publicstaticfinalintPROTO_DESCRIPTORS_FIELD_NUMBER
Field Value
TypeDescription
int

STATEMENTS_FIELD_NUMBER

publicstaticfinalintSTATEMENTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

publicstaticGetDatabaseDdlResponsegetDefaultInstance()
Returns
TypeDescription
GetDatabaseDdlResponse

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

publicstaticGetDatabaseDdlResponse.BuildernewBuilder()
Returns
TypeDescription
GetDatabaseDdlResponse.Builder

newBuilder(GetDatabaseDdlResponse prototype)

publicstaticGetDatabaseDdlResponse.BuildernewBuilder(GetDatabaseDdlResponseprototype)
Parameter
NameDescription
prototypeGetDatabaseDdlResponse
Returns
TypeDescription
GetDatabaseDdlResponse.Builder

parseDelimitedFrom(InputStream input)

publicstaticGetDatabaseDdlResponseparseDelimitedFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GetDatabaseDdlResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticGetDatabaseDdlResponseparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetDatabaseDdlResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

publicstaticGetDatabaseDdlResponseparseFrom(byte[]data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GetDatabaseDdlResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticGetDatabaseDdlResponseparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetDatabaseDdlResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticGetDatabaseDdlResponseparseFrom(ByteStringdata)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GetDatabaseDdlResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticGetDatabaseDdlResponseparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetDatabaseDdlResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticGetDatabaseDdlResponseparseFrom(CodedInputStreaminput)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GetDatabaseDdlResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticGetDatabaseDdlResponseparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetDatabaseDdlResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

publicstaticGetDatabaseDdlResponseparseFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GetDatabaseDdlResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticGetDatabaseDdlResponseparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetDatabaseDdlResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

publicstaticGetDatabaseDdlResponseparseFrom(ByteBufferdata)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GetDatabaseDdlResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticGetDatabaseDdlResponseparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetDatabaseDdlResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

publicstaticParser<GetDatabaseDdlResponse>parser()
Returns
TypeDescription
Parser<GetDatabaseDdlResponse>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

publicGetDatabaseDdlResponsegetDefaultInstanceForType()
Returns
TypeDescription
GetDatabaseDdlResponse

getParserForType()

publicParser<GetDatabaseDdlResponse>getParserForType()
Returns
TypeDescription
Parser<GetDatabaseDdlResponse>
Overrides

getProtoDescriptors()

publicByteStringgetProtoDescriptors()

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()

publicintgetSerializedSize()
Returns
TypeDescription
int
Overrides

getStatements(int index)

publicStringgetStatements(intindex)

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)

publicByteStringgetStatementsBytes(intindex)

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()

publicintgetStatementsCount()

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()

publicProtocolStringListgetStatementsList()

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()

publicinthashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

publicGetDatabaseDdlResponse.BuildernewBuilderForType()
Returns
TypeDescription
GetDatabaseDdlResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedGetDatabaseDdlResponse.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GetDatabaseDdlResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

publicGetDatabaseDdlResponse.BuildertoBuilder()
Returns
TypeDescription
GetDatabaseDdlResponse.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException