Send feedback
Class Backup.ClusterMetadata (0.52.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.52.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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ANTHOS_VERSION_FIELD_NUMBER
Field Value
Type
Description
int
public static final int BACKUP_CRD_VERSIONS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int CLUSTER_FIELD_NUMBER
Field Value
Type
Description
int
public static final int GKE_VERSION_FIELD_NUMBER
Field Value
Type
Description
int
public static final int K8S_VERSION_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static Backup . ClusterMetadata getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static Backup . ClusterMetadata . Builder newBuilder ()
public static Backup . ClusterMetadata . Builder newBuilder ( Backup . ClusterMetadata prototype )
public static Backup . ClusterMetadata parseDelimitedFrom ( InputStream input )
public static Backup . ClusterMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Backup . ClusterMetadata parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static Backup . ClusterMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static Backup . ClusterMetadata parseFrom ( ByteString data )
public static Backup . ClusterMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Backup . ClusterMetadata parseFrom ( CodedInputStream input )
public static Backup . ClusterMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Backup . ClusterMetadata parseFrom ( InputStream input )
public static Backup . ClusterMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Backup . ClusterMetadata parseFrom ( ByteBuffer data )
public static Backup . ClusterMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<Backup . ClusterMetadata > parser ()
Methods
public boolean containsBackupCrdVersions ( String key )
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];
Parameter
Name
Description
key
String
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public String getAnthosVersion ()
Output only. Anthos version
string anthos_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
String
The anthosVersion.
public ByteString getAnthosVersionBytes ()
Output only. Anthos version
string anthos_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
ByteString
The bytes for anthosVersion.
public Map<String , String > getBackupCrdVersions ()
public 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];
Returns
Type
Description
int
public Map<String , String > 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];
public String getBackupCrdVersionsOrDefault ( String key , String defaultValue )
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];
Returns
Type
Description
String
public String getBackupCrdVersionsOrThrow ( String key )
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];
Parameter
Name
Description
key
String
Returns
Type
Description
String
public String getCluster ()
Output only. The source cluster from which this Backup was created.
Valid formats:
string cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
String
The cluster.
public ByteString getClusterBytes ()
Output only. The source cluster from which this Backup was created.
Valid formats:
string cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
ByteString
The bytes for cluster.
public Backup . ClusterMetadata getDefaultInstanceForType ()
public String getGkeVersion ()
Output only. GKE version
string gke_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
String
The gkeVersion.
public ByteString getGkeVersionBytes ()
Output only. GKE version
string gke_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
ByteString
The bytes for gkeVersion.
public String getK8SVersion ()
Output only. The Kubernetes server version of the source cluster.
string k8s_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
String
The k8sVersion.
public ByteString getK8SVersionBytes ()
Output only. The Kubernetes server version of the source cluster.
string k8s_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
ByteString
The bytes for k8sVersion.
public Parser<Backup . ClusterMetadata > getParserForType ()
Overrides
public Backup . ClusterMetadata . PlatformVersionCase getPlatformVersionCase ()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public boolean hasAnthosVersion ()
Output only. Anthos version
string anthos_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
boolean
Whether the anthosVersion field is set.
public boolean hasGkeVersion ()
Output only. GKE version
string gke_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
boolean
Whether the gkeVersion field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection ( int number )
Parameter
Name
Description
number
int
Returns
Type
Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
public final boolean isInitialized ()
Overrides
public Backup . ClusterMetadata . Builder newBuilderForType ()
protected Backup . ClusterMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public Backup . ClusterMetadata . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
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."],[],[]]