Send feedback
Class Backup.ClusterMetadata (0.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.10.0 keyboard_arrow_down
public static final class Backup . ClusterMetadata extends GeneratedMessageV3 implements Backup . ClusterMetadataOrBuilder
Information about the GKE cluster from which this Backup was created.
Protobuf type google.cloud.gkebackup.v1.Backup.ClusterMetadata
Static Fields
public static final int ANTHOS_VERSION_FIELD_NUMBER
Field Value
public static final int BACKUP_CRD_VERSIONS_FIELD_NUMBER
Field Value
public static final int CLUSTER_FIELD_NUMBER
Field Value
public static final int GKE_VERSION_FIELD_NUMBER
Field Value
public static final int K8S_VERSION_FIELD_NUMBER
Field Value
Static Methods
public static Backup . ClusterMetadata getDefaultInstance ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns
public static Backup . ClusterMetadata . Builder newBuilder ()
Returns
public static Backup . ClusterMetadata . Builder newBuilder ( Backup . ClusterMetadata prototype )
Parameter
Returns
public static Backup . ClusterMetadata parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static Backup . ClusterMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Backup . ClusterMetadata parseFrom ( byte [] data )
Parameter
Name Description data
byte []
Returns
Exceptions
public static Backup . ClusterMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Backup . ClusterMetadata parseFrom ( ByteString data )
Parameter
Returns
Exceptions
public static Backup . ClusterMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Backup . ClusterMetadata parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static Backup . ClusterMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Backup . ClusterMetadata parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static Backup . ClusterMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Backup . ClusterMetadata parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
public static Backup . ClusterMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Parser<Backup . ClusterMetadata > parser ()
Returns
Methods
public 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
Returns
public boolean equals ( Object obj )
Parameter
Returns
Overrides
public String getAnthosVersion ()
Anthos version
string anthos_version = 5;
Returns
Type Description String
The anthosVersion.
public ByteString getAnthosVersionBytes ()
Anthos version
string anthos_version = 5;
Returns
Type Description ByteString
The bytes for anthosVersion.
public Map<String , String > getBackupCrdVersions ()
Returns
public int getBackupCrdVersionsCount ()
A list of the Backup for GKE CRD versions found in the cluster.
map<string, string> backup_crd_versions = 3;
Returns
public 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
public 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
Returns
public 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
Returns
public 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.
public 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
public Backup . ClusterMetadata getDefaultInstanceForType ()
Returns
public String getGkeVersion ()
GKE version
string gke_version = 4;
Returns
Type Description String
The gkeVersion.
public ByteString getGkeVersionBytes ()
GKE version
string gke_version = 4;
Returns
Type Description ByteString
The bytes for gkeVersion.
public String getK8SVersion ()
The Kubernetes server version of the source cluster.
string k8s_version = 2;
Returns
Type Description String
The k8sVersion.
public ByteString getK8SVersionBytes ()
The Kubernetes server version of the source cluster.
string k8s_version = 2;
Returns
Type Description ByteString
The bytes for k8sVersion.
public Parser<Backup . ClusterMetadata > getParserForType ()
Returns
Overrides
public Backup . ClusterMetadata . PlatformVersionCase getPlatformVersionCase ()
Returns
public int getSerializedSize ()
Returns
Overrides
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
public boolean hasAnthosVersion ()
Anthos version
string anthos_version = 5;
Returns
Type Description boolean
Whether the anthosVersion field is set.
public boolean hasGkeVersion ()
GKE version
string gke_version = 4;
Returns
Type Description boolean
Whether the gkeVersion field is set.
Returns
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
protected MapField internalGetMapField ( int number )
Parameter
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public Backup . ClusterMetadata . Builder newBuilderForType ()
Returns
protected Backup . ClusterMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public Backup . ClusterMetadata . Builder toBuilder ()
Returns
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]