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.events.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
Field Value | |
---|---|
Type | Description |
int |
BACKUP_CRD_VERSIONS_FIELD_NUMBER
public static final int BACKUP_CRD_VERSIONS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
GKE_VERSION_FIELD_NUMBER
public static final int GKE_VERSION_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
K8S_VERSION_FIELD_NUMBER
public static final int K8S_VERSION_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Backup.ClusterMetadata getDefaultInstance()
Returns | |
---|---|
Type | Description |
Backup.ClusterMetadata |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static Backup.ClusterMetadata.Builder newBuilder()
Returns | |
---|---|
Type | Description |
Backup.ClusterMetadata.Builder |
newBuilder(Backup.ClusterMetadata prototype)
public static Backup.ClusterMetadata.Builder newBuilder(Backup.ClusterMetadata prototype)
Parameter | |
---|---|
Name | Description |
prototype | Backup.ClusterMetadata |
Returns | |
---|---|
Type | Description |
Backup.ClusterMetadata.Builder |
parseDelimitedFrom(InputStream input)
public static Backup.ClusterMetadata parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
Backup.ClusterMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Backup.ClusterMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Backup.ClusterMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static Backup.ClusterMetadata parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
Backup.ClusterMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Backup.ClusterMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Backup.ClusterMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Backup.ClusterMetadata parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
Backup.ClusterMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Backup.ClusterMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Backup.ClusterMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Backup.ClusterMetadata parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
Backup.ClusterMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Backup.ClusterMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Backup.ClusterMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static Backup.ClusterMetadata parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
Backup.ClusterMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Backup.ClusterMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Backup.ClusterMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Backup.ClusterMetadata parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
Backup.ClusterMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Backup.ClusterMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Backup.ClusterMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Backup.ClusterMetadata> parser()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getAnthosVersion()
public String getAnthosVersion()
Anthos version
string anthos_version = 5;
Returns | |
---|---|
Type | Description |
String | The anthosVersion. |
getAnthosVersionBytes()
public ByteString getAnthosVersionBytes()
Anthos version
string anthos_version = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for anthosVersion. |
getBackupCrdVersions()
public Map<String,String> getBackupCrdVersions()
Use #getBackupCrdVersionsMap() instead.
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for cluster. |
getDefaultInstanceForType()
public Backup.ClusterMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Backup.ClusterMetadata |
getGkeVersion()
public String getGkeVersion()
GKE version
string gke_version = 4;
Returns | |
---|---|
Type | Description |
String | The gkeVersion. |
getGkeVersionBytes()
public ByteString getGkeVersionBytes()
GKE version
string gke_version = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for gkeVersion. |
getK8SVersion()
public String getK8SVersion()
The Kubernetes server version of the source cluster.
string k8s_version = 2;
Returns | |
---|---|
Type | Description |
String | The k8sVersion. |
getK8SVersionBytes()
public ByteString getK8SVersionBytes()
The Kubernetes server version of the source cluster.
string k8s_version = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for k8sVersion. |
getParserForType()
public Parser<Backup.ClusterMetadata> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ClusterMetadata> |
getPlatformVersionCase()
public Backup.ClusterMetadata.PlatformVersionCase getPlatformVersionCase()
Returns | |
---|---|
Type | Description |
Backup.ClusterMetadata.PlatformVersionCase |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
hasAnthosVersion()
public boolean hasAnthosVersion()
Anthos version
string anthos_version = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the anthosVersion field is set. |
hasGkeVersion()
public boolean hasGkeVersion()
GKE version
string gke_version = 4;
Returns | |
---|---|
Type | Description |
boolean | Whether the gkeVersion field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public Backup.ClusterMetadata.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
Backup.ClusterMetadata.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Backup.ClusterMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
Backup.ClusterMetadata.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public Backup.ClusterMetadata.Builder toBuilder()
Returns | |
---|---|
Type | Description |
Backup.ClusterMetadata.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |