Interface CreateRestoreRequestOrBuilder

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

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

      • getParent

        String getParent()
         Required. The RestorePlan within which to create the Restore.
         Format: `projects/*/locations/*/restorePlans/*`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The parent.
      • getParentBytes

        com.google.protobuf.ByteString getParentBytes()
         Required. The RestorePlan within which to create the Restore.
         Format: `projects/*/locations/*/restorePlans/*`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for parent.
      • hasRestore

        boolean hasRestore()
         Required. The restore resource to create.
         
        .google.cloud.gkebackup.v1.Restore restore = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the restore field is set.
      • getRestore

        Restore getRestore()
         Required. The restore resource to create.
         
        .google.cloud.gkebackup.v1.Restore restore = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The restore.
      • getRestoreOrBuilder

        RestoreOrBuilder getRestoreOrBuilder()
         Required. The restore resource to create.
         
        .google.cloud.gkebackup.v1.Restore restore = 2 [(.google.api.field_behavior) = REQUIRED];
      • getRestoreId

        String getRestoreId()
         Required. The client-provided short name for the Restore resource.
         This name must:
        
         - be between 1 and 63 characters long (inclusive)
         - consist of only lower-case ASCII letters, numbers, and dashes
         - start with a lower-case letter
         - end with a lower-case letter or number
         - be unique within the set of Restores in this RestorePlan.
         
        string restore_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The restoreId.
      • getRestoreIdBytes

        com.google.protobuf.ByteString getRestoreIdBytes()
         Required. The client-provided short name for the Restore resource.
         This name must:
        
         - be between 1 and 63 characters long (inclusive)
         - consist of only lower-case ASCII letters, numbers, and dashes
         - start with a lower-case letter
         - end with a lower-case letter or number
         - be unique within the set of Restores in this RestorePlan.
         
        string restore_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for restoreId.