Class 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:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.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 class com.google.protobuf.GeneratedMessageV3
      • getDatabaseBytes

        public com.google.protobuf.ByteString getDatabaseBytes()
         The database being modified.
         
        string database = 1 [(.google.api.resource_reference) = { ... }
        Specified by:
        getDatabaseBytes in interface UpdateDatabaseDdlMetadataOrBuilder
        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 interface UpdateDatabaseDdlMetadataOrBuilder
        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 interface UpdateDatabaseDdlMetadataOrBuilder
        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 interface UpdateDatabaseDdlMetadataOrBuilder
        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 interface UpdateDatabaseDdlMetadataOrBuilder
        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 interface UpdateDatabaseDdlMetadataOrBuilder
      • 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 interface UpdateDatabaseDdlMetadataOrBuilder
      • 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 interface UpdateDatabaseDdlMetadataOrBuilder
      • 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 interface UpdateDatabaseDdlMetadataOrBuilder
      • 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 interface UpdateDatabaseDdlMetadataOrBuilder
      • 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 interface UpdateDatabaseDdlMetadataOrBuilder
        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 interface UpdateDatabaseDdlMetadataOrBuilder
      • 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 interface UpdateDatabaseDdlMetadataOrBuilder
      • 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 interface UpdateDatabaseDdlMetadataOrBuilder
      • 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 interface UpdateDatabaseDdlMetadataOrBuilder
      • 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 interface UpdateDatabaseDdlMetadataOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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
      • newBuilderForType

        public UpdateDatabaseDdlMetadata.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public UpdateDatabaseDdlMetadata.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected UpdateDatabaseDdlMetadata.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<UpdateDatabaseDdlMetadata> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public UpdateDatabaseDdlMetadata getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder