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:
  • 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

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance 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
    • getDatabase

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

      public List<? extends OperationProgressOrBuilder> 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 interface UpdateDatabaseDdlMetadataOrBuilder
    • 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 interface UpdateDatabaseDdlMetadataOrBuilder
    • getProgress

      public OperationProgress getProgress(int index)
       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 interface UpdateDatabaseDdlMetadataOrBuilder
    • getProgressOrBuilder

      public OperationProgressOrBuilder getProgressOrBuilder(int index)
       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 interface UpdateDatabaseDdlMetadataOrBuilder
    • getActionsList

      public List<DdlStatementActionInfo> 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 interface UpdateDatabaseDdlMetadataOrBuilder
    • getActionsOrBuilderList

      public List<? extends DdlStatementActionInfoOrBuilder> 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 interface UpdateDatabaseDdlMetadataOrBuilder
    • 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 interface UpdateDatabaseDdlMetadataOrBuilder
    • getActions

      public DdlStatementActionInfo getActions(int index)
       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 interface UpdateDatabaseDdlMetadataOrBuilder
    • getActionsOrBuilder

      public DdlStatementActionInfoOrBuilder getActionsOrBuilder(int index)
       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 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
    • 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 interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static UpdateDatabaseDdlMetadata.Builder newBuilder()
    • newBuilder

      public static UpdateDatabaseDdlMetadata.Builder newBuilder(UpdateDatabaseDdlMetadata prototype)
    • 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
    • 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 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