public static final class Backup.ClusterMetadata extends com.google.protobuf.GeneratedMessageV3 implements Backup.ClusterMetadataOrBuilder
Information about the GKE cluster from which this Backup was created.Protobuf type
google.cloud.gkebackup.v1.Backup.ClusterMetadata| Modifier and Type | Class and Description |
|---|---|
static class |
Backup.ClusterMetadata.Builder
Information about the GKE cluster from which this Backup was created.
|
static class |
Backup.ClusterMetadata.PlatformVersionCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ANTHOS_VERSION_FIELD_NUMBER |
static int |
BACKUP_CRD_VERSIONS_FIELD_NUMBER |
static int |
CLUSTER_FIELD_NUMBER |
static int |
GKE_VERSION_FIELD_NUMBER |
static int |
K8S_VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsBackupCrdVersions(String key)
A list of the Backup for GKE CRD versions found in the cluster.
|
boolean |
equals(Object obj) |
String |
getAnthosVersion()
Anthos version
|
com.google.protobuf.ByteString |
getAnthosVersionBytes()
Anthos version
|
Map<String,String> |
getBackupCrdVersions()
Deprecated.
|
int |
getBackupCrdVersionsCount()
A list of the Backup for GKE CRD versions found in the cluster.
|
Map<String,String> |
getBackupCrdVersionsMap()
A list of the Backup for GKE CRD versions found in the cluster.
|
String |
getBackupCrdVersionsOrDefault(String key,
String defaultValue)
A list of the Backup for GKE CRD versions found in the cluster.
|
String |
getBackupCrdVersionsOrThrow(String key)
A list of the Backup for GKE CRD versions found in the cluster.
|
String |
getCluster()
The source cluster from which this Backup was created.
|
com.google.protobuf.ByteString |
getClusterBytes()
The source cluster from which this Backup was created.
|
static Backup.ClusterMetadata |
getDefaultInstance() |
Backup.ClusterMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getGkeVersion()
GKE version
|
com.google.protobuf.ByteString |
getGkeVersionBytes()
GKE version
|
String |
getK8SVersion()
The Kubernetes server version of the source cluster.
|
com.google.protobuf.ByteString |
getK8SVersionBytes()
The Kubernetes server version of the source cluster.
|
com.google.protobuf.Parser<Backup.ClusterMetadata> |
getParserForType() |
Backup.ClusterMetadata.PlatformVersionCase |
getPlatformVersionCase() |
int |
getSerializedSize() |
boolean |
hasAnthosVersion()
Anthos version
|
boolean |
hasGkeVersion()
GKE version
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Backup.ClusterMetadata.Builder |
newBuilder() |
static Backup.ClusterMetadata.Builder |
newBuilder(Backup.ClusterMetadata prototype) |
Backup.ClusterMetadata.Builder |
newBuilderForType() |
protected Backup.ClusterMetadata.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Backup.ClusterMetadata |
parseDelimitedFrom(InputStream input) |
static Backup.ClusterMetadata |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup.ClusterMetadata |
parseFrom(byte[] data) |
static Backup.ClusterMetadata |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup.ClusterMetadata |
parseFrom(ByteBuffer data) |
static Backup.ClusterMetadata |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup.ClusterMetadata |
parseFrom(com.google.protobuf.ByteString data) |
static Backup.ClusterMetadata |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup.ClusterMetadata |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Backup.ClusterMetadata |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup.ClusterMetadata |
parseFrom(InputStream input) |
static Backup.ClusterMetadata |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Backup.ClusterMetadata> |
parser() |
Backup.ClusterMetadata.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CLUSTER_FIELD_NUMBER
public static final int K8S_VERSION_FIELD_NUMBER
public static final int BACKUP_CRD_VERSIONS_FIELD_NUMBER
public static final int GKE_VERSION_FIELD_NUMBER
public static final int ANTHOS_VERSION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Backup.ClusterMetadata.PlatformVersionCase getPlatformVersionCase()
getPlatformVersionCase in interface Backup.ClusterMetadataOrBuilderpublic 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][google.cloud.gkebackup.v1.BackupPlan.cluster] field.
string cluster = 1;getCluster in interface Backup.ClusterMetadataOrBuilderpublic com.google.protobuf.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][google.cloud.gkebackup.v1.BackupPlan.cluster] field.
string cluster = 1;getClusterBytes in interface Backup.ClusterMetadataOrBuilderpublic String getK8SVersion()
The Kubernetes server version of the source cluster.
string k8s_version = 2;getK8SVersion in interface Backup.ClusterMetadataOrBuilderpublic com.google.protobuf.ByteString getK8SVersionBytes()
The Kubernetes server version of the source cluster.
string k8s_version = 2;getK8SVersionBytes in interface Backup.ClusterMetadataOrBuilderpublic int getBackupCrdVersionsCount()
Backup.ClusterMetadataOrBuilderA list of the Backup for GKE CRD versions found in the cluster.
map<string, string> backup_crd_versions = 3;getBackupCrdVersionsCount in interface Backup.ClusterMetadataOrBuilderpublic boolean containsBackupCrdVersions(String key)
A list of the Backup for GKE CRD versions found in the cluster.
map<string, string> backup_crd_versions = 3;containsBackupCrdVersions in interface Backup.ClusterMetadataOrBuilder@Deprecated public Map<String,String> getBackupCrdVersions()
getBackupCrdVersionsMap() instead.getBackupCrdVersions in interface Backup.ClusterMetadataOrBuilderpublic Map<String,String> getBackupCrdVersionsMap()
A list of the Backup for GKE CRD versions found in the cluster.
map<string, string> backup_crd_versions = 3;getBackupCrdVersionsMap in interface Backup.ClusterMetadataOrBuilderpublic 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;getBackupCrdVersionsOrDefault in interface Backup.ClusterMetadataOrBuilderpublic String getBackupCrdVersionsOrThrow(String key)
A list of the Backup for GKE CRD versions found in the cluster.
map<string, string> backup_crd_versions = 3;getBackupCrdVersionsOrThrow in interface Backup.ClusterMetadataOrBuilderpublic boolean hasGkeVersion()
GKE version
string gke_version = 4;hasGkeVersion in interface Backup.ClusterMetadataOrBuilderpublic String getGkeVersion()
GKE version
string gke_version = 4;getGkeVersion in interface Backup.ClusterMetadataOrBuilderpublic com.google.protobuf.ByteString getGkeVersionBytes()
GKE version
string gke_version = 4;getGkeVersionBytes in interface Backup.ClusterMetadataOrBuilderpublic boolean hasAnthosVersion()
Anthos version
string anthos_version = 5;hasAnthosVersion in interface Backup.ClusterMetadataOrBuilderpublic String getAnthosVersion()
Anthos version
string anthos_version = 5;getAnthosVersion in interface Backup.ClusterMetadataOrBuilderpublic com.google.protobuf.ByteString getAnthosVersionBytes()
Anthos version
string anthos_version = 5;getAnthosVersionBytes in interface Backup.ClusterMetadataOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Backup.ClusterMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup.ClusterMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup.ClusterMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup.ClusterMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup.ClusterMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup.ClusterMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup.ClusterMetadata parseFrom(InputStream input) throws IOException
IOExceptionpublic static Backup.ClusterMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Backup.ClusterMetadata parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Backup.ClusterMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Backup.ClusterMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Backup.ClusterMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Backup.ClusterMetadata.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Backup.ClusterMetadata.Builder newBuilder()
public static Backup.ClusterMetadata.Builder newBuilder(Backup.ClusterMetadata prototype)
public Backup.ClusterMetadata.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Backup.ClusterMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Backup.ClusterMetadata getDefaultInstance()
public static com.google.protobuf.Parser<Backup.ClusterMetadata> parser()
public com.google.protobuf.Parser<Backup.ClusterMetadata> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Backup.ClusterMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.