Interface CreateCloudBackupActionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateCloudBackupAction, CreateCloudBackupAction.Builder

public interface CreateCloudBackupActionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The id of the backup to be created, e.g.
    com.google.protobuf.ByteString
    The id of the backup to be created, e.g.
    The id of the database from which this backup was created, e.g.
    com.google.protobuf.ByteString
    The id of the database from which this backup was created, e.g.
    com.google.protobuf.Timestamp
    Output only.
    com.google.protobuf.TimestampOrBuilder
    Output only.
    Cloud instance ID (not path), e.g.
    com.google.protobuf.ByteString
    Cloud instance ID (not path), e.g.
    Cloud project ID, e.g.
    com.google.protobuf.ByteString
    Cloud project ID, e.g.
    com.google.protobuf.Timestamp
    The version time of the backup, which must be within the time range of [earliest_version_time, NOW], where earliest_version_time is retrieved by cloud spanner frontend API (See details: go/cs-pitr-lite-design).
    com.google.protobuf.TimestampOrBuilder
    The version time of the backup, which must be within the time range of [earliest_version_time, NOW], where earliest_version_time is retrieved by cloud spanner frontend API (See details: go/cs-pitr-lite-design).
    boolean
    Output only.
    boolean
    The version time of the backup, which must be within the time range of [earliest_version_time, NOW], where earliest_version_time is retrieved by cloud spanner frontend API (See details: go/cs-pitr-lite-design).

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getProjectId

      String getProjectId()
       Cloud project ID, e.g. "spanner-cloud-systest".
       
      string project_id = 1;
      Returns:
      The projectId.
    • getProjectIdBytes

      com.google.protobuf.ByteString getProjectIdBytes()
       Cloud project ID, e.g. "spanner-cloud-systest".
       
      string project_id = 1;
      Returns:
      The bytes for projectId.
    • getInstanceId

      String getInstanceId()
       Cloud instance ID (not path), e.g. "test-instance".
       
      string instance_id = 2;
      Returns:
      The instanceId.
    • getInstanceIdBytes

      com.google.protobuf.ByteString getInstanceIdBytes()
       Cloud instance ID (not path), e.g. "test-instance".
       
      string instance_id = 2;
      Returns:
      The bytes for instanceId.
    • getBackupId

      String getBackupId()
       The id of the backup to be created, e.g. "test-backup".
       
      string backup_id = 3;
      Returns:
      The backupId.
    • getBackupIdBytes

      com.google.protobuf.ByteString getBackupIdBytes()
       The id of the backup to be created, e.g. "test-backup".
       
      string backup_id = 3;
      Returns:
      The bytes for backupId.
    • getDatabaseId

      String getDatabaseId()
       The id of the database from which this backup was
       created, e.g. "db0". Note that this needs to be in the
       same instance as the backup.
       
      string database_id = 4;
      Returns:
      The databaseId.
    • getDatabaseIdBytes

      com.google.protobuf.ByteString getDatabaseIdBytes()
       The id of the database from which this backup was
       created, e.g. "db0". Note that this needs to be in the
       same instance as the backup.
       
      string database_id = 4;
      Returns:
      The bytes for databaseId.
    • hasExpireTime

      boolean hasExpireTime()
       Output only. The expiration time of the backup, which must be at least 6
       hours and at most 366 days from the time the request is received.
       
      .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the expireTime field is set.
    • getExpireTime

      com.google.protobuf.Timestamp getExpireTime()
       Output only. The expiration time of the backup, which must be at least 6
       hours and at most 366 days from the time the request is received.
       
      .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The expireTime.
    • getExpireTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
       Output only. The expiration time of the backup, which must be at least 6
       hours and at most 366 days from the time the request is received.
       
      .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasVersionTime

      boolean hasVersionTime()
       The version time of the backup, which must be within the time range of
       [earliest_version_time, NOW], where earliest_version_time is retrieved by
       cloud spanner frontend API (See details: go/cs-pitr-lite-design).
       
      optional .google.protobuf.Timestamp version_time = 6;
      Returns:
      Whether the versionTime field is set.
    • getVersionTime

      com.google.protobuf.Timestamp getVersionTime()
       The version time of the backup, which must be within the time range of
       [earliest_version_time, NOW], where earliest_version_time is retrieved by
       cloud spanner frontend API (See details: go/cs-pitr-lite-design).
       
      optional .google.protobuf.Timestamp version_time = 6;
      Returns:
      The versionTime.
    • getVersionTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder()
       The version time of the backup, which must be within the time range of
       [earliest_version_time, NOW], where earliest_version_time is retrieved by
       cloud spanner frontend API (See details: go/cs-pitr-lite-design).
       
      optional .google.protobuf.Timestamp version_time = 6;