Interface Backup.ClusterMetadataOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Backup.ClusterMetadata, Backup.ClusterMetadata.Builder
    Enclosing class:
    Backup

    public static interface Backup.ClusterMetadataOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getCluster

        String getCluster()
         The source cluster from which this Backup was created.
         Valid formats:
        
           - `projects/*/locations/*/clusters/*`
           - `projects/*/zones/*/clusters/*`
        
         This is inherited from the parent BackupPlan's
         [cluster][google.cloud.gkebackup.v1.BackupPlan.cluster] field.
         
        string cluster = 1;
        Returns:
        The cluster.
      • getClusterBytes

        com.google.protobuf.ByteString getClusterBytes()
         The source cluster from which this Backup was created.
         Valid formats:
        
           - `projects/*/locations/*/clusters/*`
           - `projects/*/zones/*/clusters/*`
        
         This is inherited from the parent BackupPlan's
         [cluster][google.cloud.gkebackup.v1.BackupPlan.cluster] field.
         
        string cluster = 1;
        Returns:
        The bytes for cluster.
      • getK8SVersion

        String getK8SVersion()
         The Kubernetes server version of the source cluster.
         
        string k8s_version = 2;
        Returns:
        The k8sVersion.
      • getK8SVersionBytes

        com.google.protobuf.ByteString getK8SVersionBytes()
         The Kubernetes server version of the source cluster.
         
        string k8s_version = 2;
        Returns:
        The bytes for k8sVersion.
      • getBackupCrdVersionsCount

        int getBackupCrdVersionsCount()
         A list of the Backup for GKE CRD versions found in the cluster.
         
        map<string, string> backup_crd_versions = 3;
      • containsBackupCrdVersions

        boolean containsBackupCrdVersions​(String key)
         A list of the Backup for GKE CRD versions found in the cluster.
         
        map<string, string> backup_crd_versions = 3;
      • getBackupCrdVersionsMap

        Map<String,​String> getBackupCrdVersionsMap()
         A list of the Backup for GKE CRD versions found in the cluster.
         
        map<string, string> backup_crd_versions = 3;
      • getBackupCrdVersionsOrDefault

        String getBackupCrdVersionsOrDefault​(String key,
                                             String defaultValue)
         A list of the Backup for GKE CRD versions found in the cluster.
         
        map<string, string> backup_crd_versions = 3;
      • getBackupCrdVersionsOrThrow

        String getBackupCrdVersionsOrThrow​(String key)
         A list of the Backup for GKE CRD versions found in the cluster.
         
        map<string, string> backup_crd_versions = 3;
      • hasGkeVersion

        boolean hasGkeVersion()
         GKE version
         
        string gke_version = 4;
        Returns:
        Whether the gkeVersion field is set.
      • getGkeVersion

        String getGkeVersion()
         GKE version
         
        string gke_version = 4;
        Returns:
        The gkeVersion.
      • getGkeVersionBytes

        com.google.protobuf.ByteString getGkeVersionBytes()
         GKE version
         
        string gke_version = 4;
        Returns:
        The bytes for gkeVersion.
      • hasAnthosVersion

        boolean hasAnthosVersion()
         Anthos version
         
        string anthos_version = 5;
        Returns:
        Whether the anthosVersion field is set.
      • getAnthosVersion

        String getAnthosVersion()
         Anthos version
         
        string anthos_version = 5;
        Returns:
        The anthosVersion.
      • getAnthosVersionBytes

        com.google.protobuf.ByteString getAnthosVersionBytes()
         Anthos version
         
        string anthos_version = 5;
        Returns:
        The bytes for anthosVersion.