- 0.52.0 (latest)
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.6
- 0.1.0
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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Backup.ClusterMetadataImplements
Backup.ClusterMetadataOrBuilderStatic Fields
ANTHOS_VERSION_FIELD_NUMBER
public static final int ANTHOS_VERSION_FIELD_NUMBER
Type | Description |
int |
BACKUP_CRD_VERSIONS_FIELD_NUMBER
public static final int BACKUP_CRD_VERSIONS_FIELD_NUMBER
Type | Description |
int |
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
Type | Description |
int |
GKE_VERSION_FIELD_NUMBER
public static final int GKE_VERSION_FIELD_NUMBER
Type | Description |
int |
K8S_VERSION_FIELD_NUMBER
public static final int K8S_VERSION_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Backup.ClusterMetadata getDefaultInstance()
Type | Description |
Backup.ClusterMetadata |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Backup.ClusterMetadata.Builder newBuilder()
Type | Description |
Backup.ClusterMetadata.Builder |
newBuilder(Backup.ClusterMetadata prototype)
public static Backup.ClusterMetadata.Builder newBuilder(Backup.ClusterMetadata prototype)
Name | Description |
prototype | Backup.ClusterMetadata |
Type | Description |
Backup.ClusterMetadata.Builder |
parseDelimitedFrom(InputStream input)
public static Backup.ClusterMetadata parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Backup.ClusterMetadata |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Backup.ClusterMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Backup.ClusterMetadata |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Backup.ClusterMetadata parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Backup.ClusterMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Backup.ClusterMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Backup.ClusterMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Backup.ClusterMetadata parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Backup.ClusterMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Backup.ClusterMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Backup.ClusterMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Backup.ClusterMetadata parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Backup.ClusterMetadata |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Backup.ClusterMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Backup.ClusterMetadata |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Backup.ClusterMetadata parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Backup.ClusterMetadata |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Backup.ClusterMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Backup.ClusterMetadata |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Backup.ClusterMetadata parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Backup.ClusterMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Backup.ClusterMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Backup.ClusterMetadata |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Backup.ClusterMetadata> parser()
Type | Description |
Parser<ClusterMetadata> |
Methods
containsBackupCrdVersions(String key)
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;
Name | Description |
key | String |
Type | Description |
boolean |
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getAnthosVersion()
public String getAnthosVersion()
Anthos version
string anthos_version = 5;
Type | Description |
String | The anthosVersion. |
getAnthosVersionBytes()
public ByteString getAnthosVersionBytes()
Anthos version
string anthos_version = 5;
Type | Description |
ByteString | The bytes for anthosVersion. |
getBackupCrdVersions()
public Map<String,String> getBackupCrdVersions()
Use #getBackupCrdVersionsMap() instead.
Type | Description |
Map<String,String> |
getBackupCrdVersionsCount()
public int getBackupCrdVersionsCount()
A list of the Backup for GKE CRD versions found in the cluster.
map<string, string> backup_crd_versions = 3;
Type | Description |
int |
getBackupCrdVersionsMap()
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;
Type | Description |
Map<String,String> |
getBackupCrdVersionsOrDefault(String key, String defaultValue)
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;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getBackupCrdVersionsOrThrow(String key)
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;
Name | Description |
key | String |
Type | Description |
String |
getCluster()
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;
Type | Description |
String | The cluster. |
getClusterBytes()
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;
Type | Description |
ByteString | The bytes for cluster. |
getDefaultInstanceForType()
public Backup.ClusterMetadata getDefaultInstanceForType()
Type | Description |
Backup.ClusterMetadata |
getGkeVersion()
public String getGkeVersion()
GKE version
string gke_version = 4;
Type | Description |
String | The gkeVersion. |
getGkeVersionBytes()
public ByteString getGkeVersionBytes()
GKE version
string gke_version = 4;
Type | Description |
ByteString | The bytes for gkeVersion. |
getK8SVersion()
public String getK8SVersion()
The Kubernetes server version of the source cluster.
string k8s_version = 2;
Type | Description |
String | The k8sVersion. |
getK8SVersionBytes()
public ByteString getK8SVersionBytes()
The Kubernetes server version of the source cluster.
string k8s_version = 2;
Type | Description |
ByteString | The bytes for k8sVersion. |
getParserForType()
public Parser<Backup.ClusterMetadata> getParserForType()
Type | Description |
Parser<ClusterMetadata> |
getPlatformVersionCase()
public Backup.ClusterMetadata.PlatformVersionCase getPlatformVersionCase()
Type | Description |
Backup.ClusterMetadata.PlatformVersionCase |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasAnthosVersion()
public boolean hasAnthosVersion()
Anthos version
string anthos_version = 5;
Type | Description |
boolean | Whether the anthosVersion field is set. |
hasGkeVersion()
public boolean hasGkeVersion()
GKE version
string gke_version = 4;
Type | Description |
boolean | Whether the gkeVersion field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Backup.ClusterMetadata.Builder newBuilderForType()
Type | Description |
Backup.ClusterMetadata.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Backup.ClusterMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Backup.ClusterMetadata.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Backup.ClusterMetadata.Builder toBuilder()
Type | Description |
Backup.ClusterMetadata.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |