Interface VolumeRestoreOrBuilder

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

    public interface VolumeRestoreOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         Output only. Full name of the VolumeRestore resource.
         Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*`
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Output only. Full name of the VolumeRestore resource.
         Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*`
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for name.
      • getUid

        String getUid()
         Output only. Server generated global unique identifier of
         [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.
         
        string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The uid.
      • getUidBytes

        com.google.protobuf.ByteString getUidBytes()
         Output only. Server generated global unique identifier of
         [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.
         
        string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for uid.
      • hasCreateTime

        boolean hasCreateTime()
         Output only. The timestamp when this VolumeRestore resource was
         created.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        com.google.protobuf.Timestamp getCreateTime()
         Output only. The timestamp when this VolumeRestore resource was
         created.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The timestamp when this VolumeRestore resource was
         created.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasUpdateTime

        boolean hasUpdateTime()
         Output only. The timestamp when this VolumeRestore resource was last
         updated.
         
        .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        com.google.protobuf.Timestamp getUpdateTime()
         Output only. The timestamp when this VolumeRestore resource was last
         updated.
         
        .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The timestamp when this VolumeRestore resource was last
         updated.
         
        .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getVolumeBackup

        String getVolumeBackup()
         Output only. The full name of the VolumeBackup from which the volume will
         be restored. Format:
         `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`.
         
        string volume_backup = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The volumeBackup.
      • getVolumeBackupBytes

        com.google.protobuf.ByteString getVolumeBackupBytes()
         Output only. The full name of the VolumeBackup from which the volume will
         be restored. Format:
         `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`.
         
        string volume_backup = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for volumeBackup.
      • hasTargetPvc

        boolean hasTargetPvc()
         Output only. The reference to the target Kubernetes PVC to be restored.
         
        .google.cloud.gkebackup.v1.NamespacedName target_pvc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the targetPvc field is set.
      • getTargetPvc

        NamespacedName getTargetPvc()
         Output only. The reference to the target Kubernetes PVC to be restored.
         
        .google.cloud.gkebackup.v1.NamespacedName target_pvc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The targetPvc.
      • getTargetPvcOrBuilder

        NamespacedNameOrBuilder getTargetPvcOrBuilder()
         Output only. The reference to the target Kubernetes PVC to be restored.
         
        .google.cloud.gkebackup.v1.NamespacedName target_pvc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getVolumeHandle

        String getVolumeHandle()
         Output only. A storage system-specific opaque handler to the underlying
         volume created for the target PVC from the volume backup.
         
        string volume_handle = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The volumeHandle.
      • getVolumeHandleBytes

        com.google.protobuf.ByteString getVolumeHandleBytes()
         Output only. A storage system-specific opaque handler to the underlying
         volume created for the target PVC from the volume backup.
         
        string volume_handle = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for volumeHandle.
      • getVolumeTypeValue

        int getVolumeTypeValue()
         Output only. The type of volume provisioned
         
        .google.cloud.gkebackup.v1.VolumeRestore.VolumeType volume_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The enum numeric value on the wire for volumeType.
      • getVolumeType

        VolumeRestore.VolumeType getVolumeType()
         Output only. The type of volume provisioned
         
        .google.cloud.gkebackup.v1.VolumeRestore.VolumeType volume_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The volumeType.
      • hasCompleteTime

        boolean hasCompleteTime()
         Output only. The timestamp when the associated underlying volume
         restoration completed.
         
        .google.protobuf.Timestamp complete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the completeTime field is set.
      • getCompleteTime

        com.google.protobuf.Timestamp getCompleteTime()
         Output only. The timestamp when the associated underlying volume
         restoration completed.
         
        .google.protobuf.Timestamp complete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The completeTime.
      • getCompleteTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCompleteTimeOrBuilder()
         Output only. The timestamp when the associated underlying volume
         restoration completed.
         
        .google.protobuf.Timestamp complete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getStateValue

        int getStateValue()
         Output only. The current state of this VolumeRestore.
         
        .google.cloud.gkebackup.v1.VolumeRestore.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The enum numeric value on the wire for state.
      • getState

        VolumeRestore.State getState()
         Output only. The current state of this VolumeRestore.
         
        .google.cloud.gkebackup.v1.VolumeRestore.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The state.
      • getStateMessage

        String getStateMessage()
         Output only. A human readable message explaining why the VolumeRestore is
         in its current state.
         
        string state_message = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The stateMessage.
      • getStateMessageBytes

        com.google.protobuf.ByteString getStateMessageBytes()
         Output only. A human readable message explaining why the VolumeRestore is
         in its current state.
         
        string state_message = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for stateMessage.
      • getEtag

        String getEtag()
         Output only. `etag` is used for optimistic concurrency control as a way to
         help prevent simultaneous updates of a volume restore from overwriting each
         other. It is strongly suggested that systems make use of the `etag` in the
         read-modify-write cycle to perform volume restore updates in order to avoid
         race conditions.
         
        string etag = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The etag.
      • getEtagBytes

        com.google.protobuf.ByteString getEtagBytes()
         Output only. `etag` is used for optimistic concurrency control as a way to
         help prevent simultaneous updates of a volume restore from overwriting each
         other. It is strongly suggested that systems make use of the `etag` in the
         read-modify-write cycle to perform volume restore updates in order to avoid
         race conditions.
         
        string etag = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for etag.