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
Nested ClassesModifier and TypeClassDescriptionstatic final classMetadata 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetActions(int index) The brief action info for the DDL statements.intThe 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.TimestampgetCommitTimestamps(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]`.intReports 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.TimestampOrBuildergetCommitTimestampsOrBuilder(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.ByteStringThe database being modified.static UpdateDatabaseDdlMetadatastatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<UpdateDatabaseDdlMetadata>getProgress(int index) The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.intThe 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.intgetStatements(int index) For an update this list contains all the statements.com.google.protobuf.ByteStringgetStatementsBytes(int index) For an update this list contains all the statements.intFor an update this list contains all the statements.com.google.protobuf.ProtocolStringListFor an update this list contains all the statements.booleanOutput only.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(UpdateDatabaseDdlMetadata prototype) protected UpdateDatabaseDdlMetadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static UpdateDatabaseDdlMetadataparseDelimitedFrom(InputStream input) static UpdateDatabaseDdlMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateDatabaseDdlMetadataparseFrom(byte[] data) static UpdateDatabaseDdlMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateDatabaseDdlMetadataparseFrom(com.google.protobuf.ByteString data) static UpdateDatabaseDdlMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateDatabaseDdlMetadataparseFrom(com.google.protobuf.CodedInputStream input) static UpdateDatabaseDdlMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateDatabaseDdlMetadataparseFrom(InputStream input) static UpdateDatabaseDdlMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateDatabaseDdlMetadataparseFrom(ByteBuffer data) static UpdateDatabaseDdlMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UpdateDatabaseDdlMetadata>parser()voidwriteTo(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, internalGetMapFieldReflection, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDatabase
The database being modified.
string database = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getDatabasein interfaceUpdateDatabaseDdlMetadataOrBuilder- Returns:
- The database.
-
getDatabaseBytes
public com.google.protobuf.ByteString getDatabaseBytes()The database being modified.
string database = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getDatabaseBytesin 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:
getStatementsListin 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:
getStatementsCountin 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:
getStatementsin 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:
getStatementsBytesin 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:
getCommitTimestampsListin 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:
getCommitTimestampsOrBuilderListin 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:
getCommitTimestampsCountin 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:
getCommitTimestampsin 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:
getCommitTimestampsOrBuilderin 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:
getThrottledin 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:
getProgressListin 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:
getProgressOrBuilderListin 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:
getProgressCountin 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:
getProgressin 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:
getProgressOrBuilderin 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:
getActionsListin 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:
getActionsOrBuilderListin 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:
getActionsCountin 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:
getActionsin 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:
getActionsOrBuilderin interfaceUpdateDatabaseDdlMetadataOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UpdateDatabaseDdlMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-