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 Details

    • getCluster

      String getCluster()
       Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The cluster.
    • getClusterBytes

      com.google.protobuf.ByteString getClusterBytes()
       Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for cluster.
    • getK8SVersion

      String getK8SVersion()
       Output only. The Kubernetes server version of the source cluster.
       
      string k8s_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The k8sVersion.
    • getK8SVersionBytes

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

      int getBackupCrdVersionsCount()
       Output only. A list of the Backup for GKE CRD versions found in the
       cluster.
       
      map<string, string> backup_crd_versions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • containsBackupCrdVersions

      boolean containsBackupCrdVersions(String key)
       Output only. A list of the Backup for GKE CRD versions found in the
       cluster.
       
      map<string, string> backup_crd_versions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getBackupCrdVersions

      @Deprecated Map<String,String> getBackupCrdVersions()
      Deprecated.
    • getBackupCrdVersionsMap

      Map<String,String> getBackupCrdVersionsMap()
       Output only. A list of the Backup for GKE CRD versions found in the
       cluster.
       
      map<string, string> backup_crd_versions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getBackupCrdVersionsOrDefault

      String getBackupCrdVersionsOrDefault(String key, String defaultValue)
       Output only. A list of the Backup for GKE CRD versions found in the
       cluster.
       
      map<string, string> backup_crd_versions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getBackupCrdVersionsOrThrow

      String getBackupCrdVersionsOrThrow(String key)
       Output only. A list of the Backup for GKE CRD versions found in the
       cluster.
       
      map<string, string> backup_crd_versions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasGkeVersion

      boolean hasGkeVersion()
       Output only. GKE version
       
      string gke_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the gkeVersion field is set.
    • getGkeVersion

      String getGkeVersion()
       Output only. GKE version
       
      string gke_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The gkeVersion.
    • getGkeVersionBytes

      com.google.protobuf.ByteString getGkeVersionBytes()
       Output only. GKE version
       
      string gke_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for gkeVersion.
    • hasAnthosVersion

      boolean hasAnthosVersion()
       Output only. Anthos version
       
      string anthos_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the anthosVersion field is set.
    • getAnthosVersion

      String getAnthosVersion()
       Output only. Anthos version
       
      string anthos_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The anthosVersion.
    • getAnthosVersionBytes

      com.google.protobuf.ByteString getAnthosVersionBytes()
       Output only. Anthos version
       
      string anthos_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for anthosVersion.
    • getPlatformVersionCase