Class UpdateDatabaseDdlMetadata
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,UpdateDatabaseDdlMetadataOrBuilder
,Serializable
public final class UpdateDatabaseDdlMetadata
extends com.google.protobuf.GeneratedMessageV3
implements UpdateDatabaseDdlMetadataOrBuilder
Metadata type for the operation returned by [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl].Protobuf type
google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Metadata type for the operation returned by [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl].Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getActions
(int index) The brief action info for the DDL statements.int
The brief action info for the DDL statements.The brief action info for the DDL statements.getActionsOrBuilder
(int index) The brief action info for the DDL statements.List<? extends DdlStatementActionInfoOrBuilder>
The brief action info for the DDL statements.com.google.protobuf.Timestamp
getCommitTimestamps
(int index) Reports the commit timestamps of all statements that have succeeded so far, where `commit_timestamps[i]` is the commit timestamp for the statement `statements[i]`.int
Reports the commit timestamps of all statements that have succeeded so far, where `commit_timestamps[i]` is the commit timestamp for the statement `statements[i]`.List<com.google.protobuf.Timestamp>
Reports the commit timestamps of all statements that have succeeded so far, where `commit_timestamps[i]` is the commit timestamp for the statement `statements[i]`.com.google.protobuf.TimestampOrBuilder
getCommitTimestampsOrBuilder
(int index) Reports the commit timestamps of all statements that have succeeded so far, where `commit_timestamps[i]` is the commit timestamp for the statement `statements[i]`.List<? extends com.google.protobuf.TimestampOrBuilder>
Reports the commit timestamps of all statements that have succeeded so far, where `commit_timestamps[i]` is the commit timestamp for the statement `statements[i]`.The database being modified.com.google.protobuf.ByteString
The database being modified.static UpdateDatabaseDdlMetadata
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Parser<UpdateDatabaseDdlMetadata>
getProgress
(int index) The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.int
The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.getProgressOrBuilder
(int index) The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.List<? extends OperationProgressOrBuilder>
The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.int
getStatements
(int index) For an update this list contains all the statements.com.google.protobuf.ByteString
getStatementsBytes
(int index) For an update this list contains all the statements.int
For an update this list contains all the statements.com.google.protobuf.ProtocolStringList
For an update this list contains all the statements.boolean
Output only.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
newBuilder
(UpdateDatabaseDdlMetadata prototype) protected UpdateDatabaseDdlMetadata.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static UpdateDatabaseDdlMetadata
parseDelimitedFrom
(InputStream input) static UpdateDatabaseDdlMetadata
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateDatabaseDdlMetadata
parseFrom
(byte[] data) static UpdateDatabaseDdlMetadata
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateDatabaseDdlMetadata
parseFrom
(com.google.protobuf.ByteString data) static UpdateDatabaseDdlMetadata
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateDatabaseDdlMetadata
parseFrom
(com.google.protobuf.CodedInputStream input) static UpdateDatabaseDdlMetadata
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateDatabaseDdlMetadata
parseFrom
(InputStream input) static UpdateDatabaseDdlMetadata
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateDatabaseDdlMetadata
parseFrom
(ByteBuffer data) static UpdateDatabaseDdlMetadata
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UpdateDatabaseDdlMetadata>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DATABASE_FIELD_NUMBER
public static final int DATABASE_FIELD_NUMBER- See Also:
-
STATEMENTS_FIELD_NUMBER
public static final int STATEMENTS_FIELD_NUMBER- See Also:
-
COMMIT_TIMESTAMPS_FIELD_NUMBER
public static final int COMMIT_TIMESTAMPS_FIELD_NUMBER- See Also:
-
THROTTLED_FIELD_NUMBER
public static final int THROTTLED_FIELD_NUMBER- See Also:
-
PROGRESS_FIELD_NUMBER
public static final int PROGRESS_FIELD_NUMBER- See Also:
-
ACTIONS_FIELD_NUMBER
public static final int ACTIONS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getDatabase
The database being modified.
string database = 1 [(.google.api.resource_reference) = { ... }
- Specified by:
getDatabase
in interfaceUpdateDatabaseDdlMetadataOrBuilder
- Returns:
- The database.
-
getDatabaseBytes
public com.google.protobuf.ByteString getDatabaseBytes()The database being modified.
string database = 1 [(.google.api.resource_reference) = { ... }
- Specified by:
getDatabaseBytes
in interfaceUpdateDatabaseDdlMetadataOrBuilder
- Returns:
- The bytes for database.
-
getStatementsList
public com.google.protobuf.ProtocolStringList getStatementsList()For an update this list contains all the statements. For an individual statement, this list contains only that statement.
repeated string statements = 2;
- Specified by:
getStatementsList
in interfaceUpdateDatabaseDdlMetadataOrBuilder
- Returns:
- A list containing the statements.
-
getStatementsCount
public int getStatementsCount()For an update this list contains all the statements. For an individual statement, this list contains only that statement.
repeated string statements = 2;
- Specified by:
getStatementsCount
in interfaceUpdateDatabaseDdlMetadataOrBuilder
- Returns:
- The count of statements.
-
getStatements
For an update this list contains all the statements. For an individual statement, this list contains only that statement.
repeated string statements = 2;
- Specified by:
getStatements
in interfaceUpdateDatabaseDdlMetadataOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The statements at the given index.
-
getStatementsBytes
public com.google.protobuf.ByteString getStatementsBytes(int index) For an update this list contains all the statements. For an individual statement, this list contains only that statement.
repeated string statements = 2;
- Specified by:
getStatementsBytes
in interfaceUpdateDatabaseDdlMetadataOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the statements at the given index.
-
getCommitTimestampsList
Reports the commit timestamps of all statements that have succeeded so far, where `commit_timestamps[i]` is the commit timestamp for the statement `statements[i]`.
repeated .google.protobuf.Timestamp commit_timestamps = 3;
- Specified by:
getCommitTimestampsList
in interfaceUpdateDatabaseDdlMetadataOrBuilder
-
getCommitTimestampsOrBuilderList
Reports the commit timestamps of all statements that have succeeded so far, where `commit_timestamps[i]` is the commit timestamp for the statement `statements[i]`.
repeated .google.protobuf.Timestamp commit_timestamps = 3;
- Specified by:
getCommitTimestampsOrBuilderList
in interfaceUpdateDatabaseDdlMetadataOrBuilder
-
getCommitTimestampsCount
public int getCommitTimestampsCount()Reports the commit timestamps of all statements that have succeeded so far, where `commit_timestamps[i]` is the commit timestamp for the statement `statements[i]`.
repeated .google.protobuf.Timestamp commit_timestamps = 3;
- Specified by:
getCommitTimestampsCount
in interfaceUpdateDatabaseDdlMetadataOrBuilder
-
getCommitTimestamps
public com.google.protobuf.Timestamp getCommitTimestamps(int index) Reports the commit timestamps of all statements that have succeeded so far, where `commit_timestamps[i]` is the commit timestamp for the statement `statements[i]`.
repeated .google.protobuf.Timestamp commit_timestamps = 3;
- Specified by:
getCommitTimestamps
in interfaceUpdateDatabaseDdlMetadataOrBuilder
-
getCommitTimestampsOrBuilder
public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(int index) Reports the commit timestamps of all statements that have succeeded so far, where `commit_timestamps[i]` is the commit timestamp for the statement `statements[i]`.
repeated .google.protobuf.Timestamp commit_timestamps = 3;
- Specified by:
getCommitTimestampsOrBuilder
in interfaceUpdateDatabaseDdlMetadataOrBuilder
-
getThrottled
public boolean getThrottled()Output only. When true, indicates that the operation is throttled e.g. due to resource constraints. When resources become available the operation will resume and this field will be false again.
bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getThrottled
in interfaceUpdateDatabaseDdlMetadataOrBuilder
- Returns:
- The throttled.
-
getProgressList
The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations. All DDL statements will have continuously updating progress, and `progress[i]` is the operation progress for `statements[i]`. Also, `progress[i]` will have start time and end time populated with commit timestamp of operation, as well as a progress of 100% once the operation has completed.
repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
- Specified by:
getProgressList
in interfaceUpdateDatabaseDdlMetadataOrBuilder
-
getProgressOrBuilderList
The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations. All DDL statements will have continuously updating progress, and `progress[i]` is the operation progress for `statements[i]`. Also, `progress[i]` will have start time and end time populated with commit timestamp of operation, as well as a progress of 100% once the operation has completed.
repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
- Specified by:
getProgressOrBuilderList
in interfaceUpdateDatabaseDdlMetadataOrBuilder
-
getProgressCount
public int getProgressCount()The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations. All DDL statements will have continuously updating progress, and `progress[i]` is the operation progress for `statements[i]`. Also, `progress[i]` will have start time and end time populated with commit timestamp of operation, as well as a progress of 100% once the operation has completed.
repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
- Specified by:
getProgressCount
in interfaceUpdateDatabaseDdlMetadataOrBuilder
-
getProgress
The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations. All DDL statements will have continuously updating progress, and `progress[i]` is the operation progress for `statements[i]`. Also, `progress[i]` will have start time and end time populated with commit timestamp of operation, as well as a progress of 100% once the operation has completed.
repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
- Specified by:
getProgress
in interfaceUpdateDatabaseDdlMetadataOrBuilder
-
getProgressOrBuilder
The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations. All DDL statements will have continuously updating progress, and `progress[i]` is the operation progress for `statements[i]`. Also, `progress[i]` will have start time and end time populated with commit timestamp of operation, as well as a progress of 100% once the operation has completed.
repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
- Specified by:
getProgressOrBuilder
in interfaceUpdateDatabaseDdlMetadataOrBuilder
-
getActionsList
The brief action info for the DDL statements. `actions[i]` is the brief info for `statements[i]`.
repeated .google.spanner.admin.database.v1.DdlStatementActionInfo actions = 6;
- Specified by:
getActionsList
in interfaceUpdateDatabaseDdlMetadataOrBuilder
-
getActionsOrBuilderList
The brief action info for the DDL statements. `actions[i]` is the brief info for `statements[i]`.
repeated .google.spanner.admin.database.v1.DdlStatementActionInfo actions = 6;
- Specified by:
getActionsOrBuilderList
in interfaceUpdateDatabaseDdlMetadataOrBuilder
-
getActionsCount
public int getActionsCount()The brief action info for the DDL statements. `actions[i]` is the brief info for `statements[i]`.
repeated .google.spanner.admin.database.v1.DdlStatementActionInfo actions = 6;
- Specified by:
getActionsCount
in interfaceUpdateDatabaseDdlMetadataOrBuilder
-
getActions
The brief action info for the DDL statements. `actions[i]` is the brief info for `statements[i]`.
repeated .google.spanner.admin.database.v1.DdlStatementActionInfo actions = 6;
- Specified by:
getActions
in interfaceUpdateDatabaseDdlMetadataOrBuilder
-
getActionsOrBuilder
The brief action info for the DDL statements. `actions[i]` is the brief info for `statements[i]`.
repeated .google.spanner.admin.database.v1.DdlStatementActionInfo actions = 6;
- Specified by:
getActionsOrBuilder
in interfaceUpdateDatabaseDdlMetadataOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UpdateDatabaseDdlMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateDatabaseDdlMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateDatabaseDdlMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateDatabaseDdlMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateDatabaseDdlMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateDatabaseDdlMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static UpdateDatabaseDdlMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static UpdateDatabaseDdlMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static UpdateDatabaseDdlMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UpdateDatabaseDdlMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UpdateDatabaseDdlMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-