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 typegoogle.spanner.admin.database.v1.UpdateDatabaseDdlMetadata- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateDatabaseDdlMetadata.BuilderMetadata 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<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCOMMIT_TIMESTAMPS_FIELD_NUMBERstatic intDATABASE_FIELD_NUMBERstatic intPROGRESS_FIELD_NUMBERstatic intSTATEMENTS_FIELD_NUMBERstatic intTHROTTLED_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)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]`.intgetCommitTimestampsCount()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>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]`.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>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]`.StringgetDatabase()The database being modified.com.google.protobuf.ByteStringgetDatabaseBytes()The database being modified.static UpdateDatabaseDdlMetadatagetDefaultInstance()UpdateDatabaseDdlMetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<UpdateDatabaseDdlMetadata>getParserForType()OperationProgressgetProgress(int index)The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.intgetProgressCount()The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.List<OperationProgress>getProgressList()The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.OperationProgressOrBuildergetProgressOrBuilder(int index)The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.List<? extends OperationProgressOrBuilder>getProgressOrBuilderList()The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.intgetSerializedSize()StringgetStatements(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.intgetStatementsCount()For an update this list contains all the statements.com.google.protobuf.ProtocolStringListgetStatementsList()For an update this list contains all the statements.booleangetThrottled()Output only.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static UpdateDatabaseDdlMetadata.BuildernewBuilder()static UpdateDatabaseDdlMetadata.BuildernewBuilder(UpdateDatabaseDdlMetadata prototype)UpdateDatabaseDdlMetadata.BuildernewBuilderForType()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()UpdateDatabaseDdlMetadata.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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
-
-
-
-
Field Detail
-
DATABASE_FIELD_NUMBER
public static final int DATABASE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATEMENTS_FIELD_NUMBER
public static final int STATEMENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMMIT_TIMESTAMPS_FIELD_NUMBER
public static final int COMMIT_TIMESTAMPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
THROTTLED_FIELD_NUMBER
public static final int THROTTLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROGRESS_FIELD_NUMBER
public static final int PROGRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
public String 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
public String getStatements(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:
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
public List<com.google.protobuf.Timestamp> 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
public List<? extends com.google.protobuf.TimestampOrBuilder> 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
public List<OperationProgress> getProgressList()
The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations. Currently, only index creation statements will have a continuously updating progress. For non-index creation statements, `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. `progress[i]` is the operation progress for `statements[i]`.
repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;- Specified by:
getProgressListin interfaceUpdateDatabaseDdlMetadataOrBuilder
-
getProgressOrBuilderList
public List<? extends OperationProgressOrBuilder> getProgressOrBuilderList()
The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations. Currently, only index creation statements will have a continuously updating progress. For non-index creation statements, `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. `progress[i]` is the operation progress for `statements[i]`.
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. Currently, only index creation statements will have a continuously updating progress. For non-index creation statements, `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. `progress[i]` is the operation progress for `statements[i]`.
repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;- Specified by:
getProgressCountin interfaceUpdateDatabaseDdlMetadataOrBuilder
-
getProgress
public OperationProgress getProgress(int index)
The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations. Currently, only index creation statements will have a continuously updating progress. For non-index creation statements, `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. `progress[i]` is the operation progress for `statements[i]`.
repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;- Specified by:
getProgressin interfaceUpdateDatabaseDdlMetadataOrBuilder
-
getProgressOrBuilder
public OperationProgressOrBuilder getProgressOrBuilder(int index)
The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations. Currently, only index creation statements will have a continuously updating progress. For non-index creation statements, `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. `progress[i]` is the operation progress for `statements[i]`.
repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;- Specified by:
getProgressOrBuilderin interfaceUpdateDatabaseDdlMetadataOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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
public static UpdateDatabaseDdlMetadata parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static UpdateDatabaseDdlMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static UpdateDatabaseDdlMetadata parseDelimitedFrom(InputStream input) throws IOException
- 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
public UpdateDatabaseDdlMetadata.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static UpdateDatabaseDdlMetadata.Builder newBuilder()
-
newBuilder
public static UpdateDatabaseDdlMetadata.Builder newBuilder(UpdateDatabaseDdlMetadata prototype)
-
toBuilder
public UpdateDatabaseDdlMetadata.Builder 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
public static UpdateDatabaseDdlMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<UpdateDatabaseDdlMetadata> parser()
-
getParserForType
public com.google.protobuf.Parser<UpdateDatabaseDdlMetadata> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public UpdateDatabaseDdlMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-