public static interface Backup.ClusterMetadataOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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 | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAnthosVersion()
public abstract String getAnthosVersion()Anthos version
string anthos_version = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The anthosVersion. |
getAnthosVersionBytes()
public abstract ByteString getAnthosVersionBytes()Anthos version
string anthos_version = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for anthosVersion. |
getBackupCrdVersions()
public abstract Map<String,String> getBackupCrdVersions()Use #getBackupCrdVersionsMap() instead.
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for cluster. |
getGkeVersion()
public abstract String getGkeVersion()GKE version
string gke_version = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The gkeVersion. |
getGkeVersionBytes()
public abstract ByteString getGkeVersionBytes()GKE version
string gke_version = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gkeVersion. |
getK8SVersion()
public abstract String getK8SVersion()The Kubernetes server version of the source cluster.
string k8s_version = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The k8sVersion. |
getK8SVersionBytes()
public abstract ByteString getK8SVersionBytes()The Kubernetes server version of the source cluster.
string k8s_version = 2;
| 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()Anthos version
string anthos_version = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the anthosVersion field is set. |
hasGkeVersion()
public abstract boolean hasGkeVersion()GKE version
string gke_version = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gkeVersion field is set. |