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