Interface CreateBackupChannelRequestOrBuilder

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

@Generated public interface CreateBackupChannelRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getParent

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

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

      boolean hasBackupChannel()
       Required. The BackupChannel resource object to create.
       
      .google.cloud.gkebackup.v1.BackupChannel backup_channel = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the backupChannel field is set.
    • getBackupChannel

      BackupChannel getBackupChannel()
       Required. The BackupChannel resource object to create.
       
      .google.cloud.gkebackup.v1.BackupChannel backup_channel = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The backupChannel.
    • getBackupChannelOrBuilder

      BackupChannelOrBuilder getBackupChannelOrBuilder()
       Required. The BackupChannel resource object to create.
       
      .google.cloud.gkebackup.v1.BackupChannel backup_channel = 2 [(.google.api.field_behavior) = REQUIRED];
    • getBackupChannelId

      String getBackupChannelId()
       Optional. The client-provided short name for the BackupChannel 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 BackupChannels in this location
       If the user does not provide a name, a uuid will be used as the name.
       
      string backup_channel_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The backupChannelId.
    • getBackupChannelIdBytes

      com.google.protobuf.ByteString getBackupChannelIdBytes()
       Optional. The client-provided short name for the BackupChannel 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 BackupChannels in this location
       If the user does not provide a name, a uuid will be used as the name.
       
      string backup_channel_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for backupChannelId.