Package com.google.cloud.gkebackup.v1
Class Backup.ClusterMetadata
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gkebackup.v1.Backup.ClusterMetadata
- All Implemented Interfaces:
Backup.ClusterMetadataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- Backup
public static final class Backup.ClusterMetadata
extends com.google.protobuf.GeneratedMessage
implements Backup.ClusterMetadataOrBuilder
Information about the GKE cluster from which this Backup was created.Protobuf type
google.cloud.gkebackup.v1.Backup.ClusterMetadata- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classInformation about the GKE cluster from which this Backup was created.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.booleanOutput only.com.google.protobuf.ByteStringOutput only.Deprecated.intOutput only.Output only.getBackupCrdVersionsOrDefault(String key, String defaultValue) Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.static Backup.ClusterMetadatastatic final com.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<Backup.ClusterMetadata>intbooleanOutput only.booleanOutput only.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(Backup.ClusterMetadata prototype) protected Backup.ClusterMetadata.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Backup.ClusterMetadataparseDelimitedFrom(InputStream input) static Backup.ClusterMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Backup.ClusterMetadataparseFrom(byte[] data) static Backup.ClusterMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Backup.ClusterMetadataparseFrom(com.google.protobuf.ByteString data) static Backup.ClusterMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Backup.ClusterMetadataparseFrom(com.google.protobuf.CodedInputStream input) static Backup.ClusterMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Backup.ClusterMetadataparseFrom(InputStream input) static Backup.ClusterMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Backup.ClusterMetadataparseFrom(ByteBuffer data) static Backup.ClusterMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Backup.ClusterMetadata>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER- See Also:
-
K8S_VERSION_FIELD_NUMBER
public static final int K8S_VERSION_FIELD_NUMBER- See Also:
-
BACKUP_CRD_VERSIONS_FIELD_NUMBER
public static final int BACKUP_CRD_VERSIONS_FIELD_NUMBER- See Also:
-
GKE_VERSION_FIELD_NUMBER
public static final int GKE_VERSION_FIELD_NUMBER- See Also:
-
ANTHOS_VERSION_FIELD_NUMBER
public static final int ANTHOS_VERSION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getPlatformVersionCase
- Specified by:
getPlatformVersionCasein interfaceBackup.ClusterMetadataOrBuilder
-
getCluster
Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getClusterin interfaceBackup.ClusterMetadataOrBuilder- Returns:
- The cluster.
-
getClusterBytes
public com.google.protobuf.ByteString getClusterBytes()Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getClusterBytesin interfaceBackup.ClusterMetadataOrBuilder- Returns:
- The bytes for cluster.
-
getK8SVersion
Output only. The Kubernetes server version of the source cluster.
string k8s_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getK8SVersionin interfaceBackup.ClusterMetadataOrBuilder- Returns:
- The k8sVersion.
-
getK8SVersionBytes
public com.google.protobuf.ByteString getK8SVersionBytes()Output only. The Kubernetes server version of the source cluster.
string k8s_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getK8SVersionBytesin interfaceBackup.ClusterMetadataOrBuilder- Returns:
- The bytes for k8sVersion.
-
getBackupCrdVersionsCount
public int getBackupCrdVersionsCount()Description copied from interface:Backup.ClusterMetadataOrBuilderOutput only. A list of the Backup for GKE CRD versions found in the cluster.
map<string, string> backup_crd_versions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBackupCrdVersionsCountin interfaceBackup.ClusterMetadataOrBuilder
-
containsBackupCrdVersions
Output only. A list of the Backup for GKE CRD versions found in the cluster.
map<string, string> backup_crd_versions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
containsBackupCrdVersionsin interfaceBackup.ClusterMetadataOrBuilder
-
getBackupCrdVersions
Deprecated.UsegetBackupCrdVersionsMap()instead.- Specified by:
getBackupCrdVersionsin interfaceBackup.ClusterMetadataOrBuilder
-
getBackupCrdVersionsMap
Output only. A list of the Backup for GKE CRD versions found in the cluster.
map<string, string> backup_crd_versions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBackupCrdVersionsMapin interfaceBackup.ClusterMetadataOrBuilder
-
getBackupCrdVersionsOrDefault
Output only. A list of the Backup for GKE CRD versions found in the cluster.
map<string, string> backup_crd_versions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBackupCrdVersionsOrDefaultin interfaceBackup.ClusterMetadataOrBuilder
-
getBackupCrdVersionsOrThrow
Output only. A list of the Backup for GKE CRD versions found in the cluster.
map<string, string> backup_crd_versions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBackupCrdVersionsOrThrowin interfaceBackup.ClusterMetadataOrBuilder
-
hasGkeVersion
public boolean hasGkeVersion()Output only. GKE version
string gke_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasGkeVersionin interfaceBackup.ClusterMetadataOrBuilder- Returns:
- Whether the gkeVersion field is set.
-
getGkeVersion
Output only. GKE version
string gke_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGkeVersionin interfaceBackup.ClusterMetadataOrBuilder- Returns:
- The gkeVersion.
-
getGkeVersionBytes
public com.google.protobuf.ByteString getGkeVersionBytes()Output only. GKE version
string gke_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGkeVersionBytesin interfaceBackup.ClusterMetadataOrBuilder- Returns:
- The bytes for gkeVersion.
-
hasAnthosVersion
public boolean hasAnthosVersion()Output only. Anthos version
string anthos_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAnthosVersionin interfaceBackup.ClusterMetadataOrBuilder- Returns:
- Whether the anthosVersion field is set.
-
getAnthosVersion
Output only. Anthos version
string anthos_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAnthosVersionin interfaceBackup.ClusterMetadataOrBuilder- Returns:
- The anthosVersion.
-
getAnthosVersionBytes
public com.google.protobuf.ByteString getAnthosVersionBytes()Output only. Anthos version
string anthos_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAnthosVersionBytesin interfaceBackup.ClusterMetadataOrBuilder- Returns:
- The bytes for anthosVersion.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Backup.ClusterMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Backup.ClusterMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Backup.ClusterMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Backup.ClusterMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Backup.ClusterMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Backup.ClusterMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Backup.ClusterMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Backup.ClusterMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Backup.ClusterMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Backup.ClusterMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Backup.ClusterMetadata.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-