Interface Backup.ClusterMetadataOrBuilder (0.42.0)

public static interface Backup.ClusterMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsBackupCrdVersions(String key)

public abstract 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];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAnthosVersion()

public abstract String getAnthosVersion()

Output only. Anthos version

string anthos_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The anthosVersion.

getAnthosVersionBytes()

public abstract ByteString getAnthosVersionBytes()

Output only. Anthos version

string anthos_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for anthosVersion.

getBackupCrdVersions() (deprecated)

public abstract Map<String,String> getBackupCrdVersions()
Returns
Type Description
Map<String,String>

getBackupCrdVersionsCount()

public abstract 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];

Returns
Type Description
int

getBackupCrdVersionsMap()

public abstract 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];

Returns
Type Description
Map<String,String>

getBackupCrdVersionsOrDefault(String key, String defaultValue)

public abstract 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];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getBackupCrdVersionsOrThrow(String key)

public abstract 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];

Parameter
Name Description
key String
Returns
Type Description
String

getCluster()

public abstract 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 field.

string cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The cluster.

getClusterBytes()

public abstract 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 field.

string cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for cluster.

getGkeVersion()

public abstract String getGkeVersion()

Output only. GKE version

string gke_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The gkeVersion.

getGkeVersionBytes()

public abstract ByteString getGkeVersionBytes()

Output only. GKE version

string gke_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for gkeVersion.

getK8SVersion()

public abstract String getK8SVersion()

Output only. The Kubernetes server version of the source cluster.

string k8s_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The k8sVersion.

getK8SVersionBytes()

public abstract ByteString getK8SVersionBytes()

Output only. The Kubernetes server version of the source cluster.

string k8s_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for k8sVersion.

getPlatformVersionCase()

public abstract Backup.ClusterMetadata.PlatformVersionCase getPlatformVersionCase()
Returns
Type Description
Backup.ClusterMetadata.PlatformVersionCase

hasAnthosVersion()

public abstract boolean hasAnthosVersion()

Output only. Anthos version

string anthos_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the anthosVersion field is set.

hasGkeVersion()

public abstract boolean hasGkeVersion()

Output only. GKE version

string gke_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the gkeVersion field is set.