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
Modifier and TypeMethodDescriptionbooleanOutput only.Output only.com.google.protobuf.ByteStringOutput only.Deprecated.intOutput only.Output only.getBackupCrdVersionsOrDefault(String key, String defaultValue) Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCluster
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][google.cloud.gkebackup.v1.BackupPlan.cluster] field.
string cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The cluster.
-
getClusterBytes
com.google.protobuf.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][google.cloud.gkebackup.v1.BackupPlan.cluster] field.
string cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for cluster.
-
getK8SVersion
String getK8SVersion()Output only. The Kubernetes server version of the source cluster.
string k8s_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The k8sVersion.
-
getK8SVersionBytes
com.google.protobuf.ByteString getK8SVersionBytes()Output only. The Kubernetes server version of the source cluster.
string k8s_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for k8sVersion.
-
getBackupCrdVersionsCount
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]; -
containsBackupCrdVersions
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]; -
getBackupCrdVersions
Deprecated.UsegetBackupCrdVersionsMap()instead. -
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]; -
getBackupCrdVersionsOrDefault
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]; -
getBackupCrdVersionsOrThrow
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]; -
hasGkeVersion
boolean hasGkeVersion()Output only. GKE version
string gke_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the gkeVersion field is set.
-
getGkeVersion
String getGkeVersion()Output only. GKE version
string gke_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The gkeVersion.
-
getGkeVersionBytes
com.google.protobuf.ByteString getGkeVersionBytes()Output only. GKE version
string gke_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for gkeVersion.
-
hasAnthosVersion
boolean hasAnthosVersion()Output only. Anthos version
string anthos_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the anthosVersion field is set.
-
getAnthosVersion
String getAnthosVersion()Output only. Anthos version
string anthos_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The anthosVersion.
-
getAnthosVersionBytes
com.google.protobuf.ByteString getAnthosVersionBytes()Output only. Anthos version
string anthos_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for anthosVersion.
-
getPlatformVersionCase
Backup.ClusterMetadata.PlatformVersionCase getPlatformVersionCase()
-