Interface Backup.ClusterMetadataOrBuilder (0.7.0)

public static interface Backup.ClusterMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsBackupCrdVersions(String key)

public abstract boolean containsBackupCrdVersions(String key)

A list of the Backup for GKE CRD versions found in the cluster.

map<string, string> backup_crd_versions = 3;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAnthosVersion()

public abstract String getAnthosVersion()

Anthos version

string anthos_version = 5;

Returns
TypeDescription
String

The anthosVersion.

getAnthosVersionBytes()

public abstract ByteString getAnthosVersionBytes()

Anthos version

string anthos_version = 5;

Returns
TypeDescription
ByteString

The bytes for anthosVersion.

getBackupCrdVersions()

public abstract Map<String,String> getBackupCrdVersions()
Returns
TypeDescription
Map<String,String>

getBackupCrdVersionsCount()

public abstract int getBackupCrdVersionsCount()

A list of the Backup for GKE CRD versions found in the cluster.

map<string, string> backup_crd_versions = 3;

Returns
TypeDescription
int

getBackupCrdVersionsMap()

public abstract Map<String,String> getBackupCrdVersionsMap()

A list of the Backup for GKE CRD versions found in the cluster.

map<string, string> backup_crd_versions = 3;

Returns
TypeDescription
Map<String,String>

getBackupCrdVersionsOrDefault(String key, String defaultValue)

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

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getBackupCrdVersionsOrThrow(String key)

public abstract String getBackupCrdVersionsOrThrow(String key)

A list of the Backup for GKE CRD versions found in the cluster.

map<string, string> backup_crd_versions = 3;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getCluster()

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

string cluster = 1;

Returns
TypeDescription
String

The cluster.

getClusterBytes()

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

string cluster = 1;

Returns
TypeDescription
ByteString

The bytes for cluster.

getGkeVersion()

public abstract String getGkeVersion()

GKE version

string gke_version = 4;

Returns
TypeDescription
String

The gkeVersion.

getGkeVersionBytes()

public abstract ByteString getGkeVersionBytes()

GKE version

string gke_version = 4;

Returns
TypeDescription
ByteString

The bytes for gkeVersion.

getK8SVersion()

public abstract String getK8SVersion()

The Kubernetes server version of the source cluster.

string k8s_version = 2;

Returns
TypeDescription
String

The k8sVersion.

getK8SVersionBytes()

public abstract ByteString getK8SVersionBytes()

The Kubernetes server version of the source cluster.

string k8s_version = 2;

Returns
TypeDescription
ByteString

The bytes for k8sVersion.

getPlatformVersionCase()

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

hasAnthosVersion()

public abstract boolean hasAnthosVersion()

Anthos version

string anthos_version = 5;

Returns
TypeDescription
boolean

Whether the anthosVersion field is set.

hasGkeVersion()

public abstract boolean hasGkeVersion()

GKE version

string gke_version = 4;

Returns
TypeDescription
boolean

Whether the gkeVersion field is set.