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 class
UpdateDatabaseDdlMetadata.Builder
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<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 int
COMMIT_TIMESTAMPS_FIELD_NUMBER
static int
DATABASE_FIELD_NUMBER
static int
PROGRESS_FIELD_NUMBER
static int
STATEMENTS_FIELD_NUMBER
static int
THROTTLED_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
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
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]`.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.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>
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]`.String
getDatabase()
The database being modified.com.google.protobuf.ByteString
getDatabaseBytes()
The database being modified.static UpdateDatabaseDdlMetadata
getDefaultInstance()
UpdateDatabaseDdlMetadata
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Parser<UpdateDatabaseDdlMetadata>
getParserForType()
OperationProgress
getProgress(int index)
The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.int
getProgressCount()
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.OperationProgressOrBuilder
getProgressOrBuilder(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.int
getSerializedSize()
String
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
getStatementsCount()
For an update this list contains all the statements.com.google.protobuf.ProtocolStringList
getStatementsList()
For an update this list contains all the statements.boolean
getThrottled()
Output only.com.google.protobuf.UnknownFieldSet
getUnknownFields()
int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static UpdateDatabaseDdlMetadata.Builder
newBuilder()
static UpdateDatabaseDdlMetadata.Builder
newBuilder(UpdateDatabaseDdlMetadata prototype)
UpdateDatabaseDdlMetadata.Builder
newBuilderForType()
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()
UpdateDatabaseDdlMetadata.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
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
public String 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
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:
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
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:
getCommitTimestampsList
in 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:
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
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:
getProgressList
in 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:
getProgressOrBuilderList
in 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:
getProgressCount
in 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:
getProgress
in 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:
getProgressOrBuilder
in interfaceUpdateDatabaseDdlMetadataOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- 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
public boolean equals(Object obj)
- 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
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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
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
public static UpdateDatabaseDdlMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<UpdateDatabaseDdlMetadata> parser()
-
getParserForType
public com.google.protobuf.Parser<UpdateDatabaseDdlMetadata> 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
public UpdateDatabaseDdlMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-