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>)
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