Package com.google.cloud.gkebackup.v1
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 Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsBackupCrdVersions(String key)A list of the Backup for GKE CRD versions found in the cluster.StringgetAnthosVersion()Anthos versioncom.google.protobuf.ByteStringgetAnthosVersionBytes()Anthos versionMap<String,String>getBackupCrdVersions()Deprecated.intgetBackupCrdVersionsCount()A list of the Backup for GKE CRD versions found in the cluster.Map<String,String>getBackupCrdVersionsMap()A list of the Backup for GKE CRD versions found in the cluster.StringgetBackupCrdVersionsOrDefault(String key, String defaultValue)A list of the Backup for GKE CRD versions found in the cluster.StringgetBackupCrdVersionsOrThrow(String key)A list of the Backup for GKE CRD versions found in the cluster.StringgetCluster()The source cluster from which this Backup was created.com.google.protobuf.ByteStringgetClusterBytes()The source cluster from which this Backup was created.StringgetGkeVersion()GKE versioncom.google.protobuf.ByteStringgetGkeVersionBytes()GKE versionStringgetK8SVersion()The Kubernetes server version of the source cluster.com.google.protobuf.ByteStringgetK8SVersionBytes()The Kubernetes server version of the source cluster.Backup.ClusterMetadata.PlatformVersionCasegetPlatformVersionCase()booleanhasAnthosVersion()Anthos versionbooleanhasGkeVersion()GKE version-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCluster
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][google.cloud.gkebackup.v1.BackupPlan.cluster] field.
string cluster = 1;- Returns:
- The cluster.
-
getClusterBytes
com.google.protobuf.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][google.cloud.gkebackup.v1.BackupPlan.cluster] field.
string cluster = 1;- Returns:
- The bytes for cluster.
-
getK8SVersion
String getK8SVersion()
The Kubernetes server version of the source cluster.
string k8s_version = 2;- Returns:
- The k8sVersion.
-
getK8SVersionBytes
com.google.protobuf.ByteString getK8SVersionBytes()
The Kubernetes server version of the source cluster.
string k8s_version = 2;- Returns:
- The bytes for k8sVersion.
-
getBackupCrdVersionsCount
int getBackupCrdVersionsCount()
A list of the Backup for GKE CRD versions found in the cluster.
map<string, string> backup_crd_versions = 3;
-
containsBackupCrdVersions
boolean containsBackupCrdVersions(String key)
A list of the Backup for GKE CRD versions found in the cluster.
map<string, string> backup_crd_versions = 3;
-
getBackupCrdVersions
@Deprecated Map<String,String> getBackupCrdVersions()
Deprecated.UsegetBackupCrdVersionsMap()instead.
-
getBackupCrdVersionsMap
Map<String,String> getBackupCrdVersionsMap()
A list of the Backup for GKE CRD versions found in the cluster.
map<string, string> backup_crd_versions = 3;
-
getBackupCrdVersionsOrDefault
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;
-
getBackupCrdVersionsOrThrow
String getBackupCrdVersionsOrThrow(String key)
A list of the Backup for GKE CRD versions found in the cluster.
map<string, string> backup_crd_versions = 3;
-
hasGkeVersion
boolean hasGkeVersion()
GKE version
string gke_version = 4;- Returns:
- Whether the gkeVersion field is set.
-
getGkeVersion
String getGkeVersion()
GKE version
string gke_version = 4;- Returns:
- The gkeVersion.
-
getGkeVersionBytes
com.google.protobuf.ByteString getGkeVersionBytes()
GKE version
string gke_version = 4;- Returns:
- The bytes for gkeVersion.
-
hasAnthosVersion
boolean hasAnthosVersion()
Anthos version
string anthos_version = 5;- Returns:
- Whether the anthosVersion field is set.
-
getAnthosVersion
String getAnthosVersion()
Anthos version
string anthos_version = 5;- Returns:
- The anthosVersion.
-
getAnthosVersionBytes
com.google.protobuf.ByteString getAnthosVersionBytes()
Anthos version
string anthos_version = 5;- Returns:
- The bytes for anthosVersion.
-
getPlatformVersionCase
Backup.ClusterMetadata.PlatformVersionCase getPlatformVersionCase()
-
-