public final class UpdateDatabaseDdlRequest extends GeneratedMessageV3 implements UpdateDatabaseDdlRequestOrBuilder
Enqueues the given DDL statements to be applied, in order but not
necessarily all at once, to the database schema at some point (or
points) in the future. The server checks that the statements
are executable (syntactically valid, name tables that exist, etc.)
before enqueueing them, but they may still fail upon
later execution (e.g., if a statement from another batch of
statements is applied first and it conflicts in some way, or if
there is some data-related problem like a NULL
value in a column to
which NOT NULL
would be added). If a statement fails, all
subsequent statements in the batch are automatically cancelled.
Each batch of statements is assigned a name which can be used with the Operations API to monitor progress. See the operation_id field for more details.
Protobuf type google.spanner.admin.database.v1.UpdateDatabaseDdlRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateDatabaseDdlRequestImplements
UpdateDatabaseDdlRequestOrBuilderStatic Fields
DATABASE_FIELD_NUMBER
public static final int DATABASE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
OPERATION_ID_FIELD_NUMBER
public static final int OPERATION_ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PROTO_DESCRIPTORS_FIELD_NUMBER
public static final int PROTO_DESCRIPTORS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
STATEMENTS_FIELD_NUMBER
public static final int STATEMENTS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static UpdateDatabaseDdlRequest getDefaultInstance()
Returns | |
---|---|
Type | Description |
UpdateDatabaseDdlRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static UpdateDatabaseDdlRequest.Builder newBuilder()
Returns | |
---|---|
Type | Description |
UpdateDatabaseDdlRequest.Builder |
newBuilder(UpdateDatabaseDdlRequest prototype)
public static UpdateDatabaseDdlRequest.Builder newBuilder(UpdateDatabaseDdlRequest prototype)
Parameter | |
---|---|
Name | Description |
prototype |
UpdateDatabaseDdlRequest |
Returns | |
---|---|
Type | Description |
UpdateDatabaseDdlRequest.Builder |
parseDelimitedFrom(InputStream input)
public static UpdateDatabaseDdlRequest parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
UpdateDatabaseDdlRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateDatabaseDdlRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpdateDatabaseDdlRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static UpdateDatabaseDdlRequest parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
UpdateDatabaseDdlRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |