public final class GetDatabaseDdlResponse extends GeneratedMessageV3 implements GetDatabaseDdlResponseOrBuilder
The response for GetDatabaseDdl.
Protobuf type google.spanner.admin.database.v1.GetDatabaseDdlResponse
Fields
STATEMENTS_FIELD_NUMBER
public static final int STATEMENTS_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static GetDatabaseDdlResponse getDefaultInstance()
Returns
getDefaultInstanceForType()
public GetDatabaseDdlResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getParserForType()
public Parser<GetDatabaseDdlResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static GetDatabaseDdlResponse.Builder newBuilder()
Returns
newBuilder(GetDatabaseDdlResponse prototype)
public static GetDatabaseDdlResponse.Builder newBuilder(GetDatabaseDdlResponse prototype)
Parameter
Returns
newBuilderForType()
public GetDatabaseDdlResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GetDatabaseDdlResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static GetDatabaseDdlResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GetDatabaseDdlResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GetDatabaseDdlResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GetDatabaseDdlResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GetDatabaseDdlResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GetDatabaseDdlResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GetDatabaseDdlResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GetDatabaseDdlResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GetDatabaseDdlResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GetDatabaseDdlResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GetDatabaseDdlResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GetDatabaseDdlResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<GetDatabaseDdlResponse> parser()
Returns
toBuilder()
public GetDatabaseDdlResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions