Send feedback
Class Backup.ClusterMetadata (0.33.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.33.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 )
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
public boolean equals ( Object obj )
Parameter Name Description obj
Object
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 ()
public 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
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;
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;
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 Name Description key
String
public String getCluster ()
The source cluster from which this Backup was created.
Valid formats:
string cluster = 1;
Returns Type Description String
The cluster.
public ByteString getClusterBytes ()
The source cluster from which this Backup was created.
Valid formats:
string cluster = 1;
Returns Type Description ByteString
The bytes for cluster.
public Backup . ClusterMetadata getDefaultInstanceForType ()
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 ()
Overrides
public Backup . ClusterMetadata . PlatformVersionCase getPlatformVersionCase ()
public int getSerializedSize ()
Returns Type Description int
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 Type Description int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
protected MapField internalGetMapField ( int number )
Parameter Name Description number
int
Overrides
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 )
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."],[],[]]