Interface Backup.ClusterMetadataOrBuilder (0.39.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
NameDescription
keyString
Returns
TypeDescription
boolean

getAnthosVersion()

public abstract String getAnthosVersion()

Output only. Anthos version

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

Returns
TypeDescription
String

The anthosVersion.

getAnthosVersionBytes()

public abstract ByteString getAnthosVersionBytes()

Output only. Anthos version

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

Returns
TypeDescription
ByteString

The bytes for anthosVersion.

getBackupCrdVersions() (deprecated)

public abstract Map<String,String> getBackupCrdVersions()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The gkeVersion.

getGkeVersionBytes()

public abstract ByteString getGkeVersionBytes()

Output only. GKE version

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for k8sVersion.

getPlatformVersionCase()

public abstract Backup.ClusterMetadata.PlatformVersionCase getPlatformVersionCase()
Returns
TypeDescription
Backup.ClusterMetadata.PlatformVersionCase

hasAnthosVersion()

public abstract boolean hasAnthosVersion()

Output only. Anthos version

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the gkeVersion field is set.