public final class CreateDatabaseMetadata extends GeneratedMessageV3 implements CreateDatabaseMetadataOrBuilder
Metadata type for the operation returned by
CreateDatabase.
Protobuf type google.spanner.admin.database.v1.CreateDatabaseMetadata
Static Fields
public static final int DATABASE_FIELD_NUMBER
Field Value
Static Methods
public static CreateDatabaseMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static CreateDatabaseMetadata.Builder newBuilder()
Returns
public static CreateDatabaseMetadata.Builder newBuilder(CreateDatabaseMetadata prototype)
Parameter
Returns
public static CreateDatabaseMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateDatabaseMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateDatabaseMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static CreateDatabaseMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateDatabaseMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static CreateDatabaseMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateDatabaseMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CreateDatabaseMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateDatabaseMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateDatabaseMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateDatabaseMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static CreateDatabaseMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<CreateDatabaseMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public String getDatabase()
The database being created.
string database = 1 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The database.
|
public ByteString getDatabaseBytes()
The database being created.
string database = 1 [(.google.api.resource_reference) = { ... }
Returns
public CreateDatabaseMetadata getDefaultInstanceForType()
Returns
public Parser<CreateDatabaseMetadata> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateDatabaseMetadata.Builder newBuilderForType()
Returns
protected CreateDatabaseMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public CreateDatabaseMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions