Send feedback
Class BackupPlan.BackupConfig (0.13.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.13.0 keyboard_arrow_down
public static final class BackupPlan . BackupConfig extends GeneratedMessageV3 implements BackupPlan . BackupConfigOrBuilder
BackupConfig defines the configuration of Backups created via this
BackupPlan.
Protobuf type google.cloud.gkebackup.v1.BackupPlan.BackupConfig
Static Fields
ALL_NAMESPACES_FIELD_NUMBER
public static final int ALL_NAMESPACES_FIELD_NUMBER
Field Value Type Description int
ENCRYPTION_KEY_FIELD_NUMBER
public static final int ENCRYPTION_KEY_FIELD_NUMBER
Field Value Type Description int
INCLUDE_SECRETS_FIELD_NUMBER
public static final int INCLUDE_SECRETS_FIELD_NUMBER
Field Value Type Description int
INCLUDE_VOLUME_DATA_FIELD_NUMBER
public static final int INCLUDE_VOLUME_DATA_FIELD_NUMBER
Field Value Type Description int
SELECTED_APPLICATIONS_FIELD_NUMBER
public static final int SELECTED_APPLICATIONS_FIELD_NUMBER
Field Value Type Description int
SELECTED_NAMESPACES_FIELD_NUMBER
public static final int SELECTED_NAMESPACES_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static BackupPlan . BackupConfig getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static BackupPlan . BackupConfig . Builder newBuilder ()
newBuilder(BackupPlan.BackupConfig prototype)
public static BackupPlan . BackupConfig . Builder newBuilder ( BackupPlan . BackupConfig prototype )
public static BackupPlan . BackupConfig parseDelimitedFrom ( InputStream input )
public static BackupPlan . BackupConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static BackupPlan . BackupConfig parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BackupPlan . BackupConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static BackupPlan . BackupConfig parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackupPlan . BackupConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static BackupPlan . BackupConfig parseFrom ( CodedInputStream input )
public static BackupPlan . BackupConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static BackupPlan . BackupConfig parseFrom ( InputStream input )
public static BackupPlan . BackupConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static BackupPlan . BackupConfig parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BackupPlan . BackupConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<BackupPlan . BackupConfig > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getAllNamespaces()
public boolean getAllNamespaces ()
If True, include all namespaced resources
bool all_namespaces = 1;
Returns Type Description boolean
The allNamespaces.
getBackupScopeCase()
public BackupPlan . BackupConfig . BackupScopeCase getBackupScopeCase ()
getDefaultInstanceForType()
public BackupPlan . BackupConfig getDefaultInstanceForType ()
getEncryptionKey()
public EncryptionKey getEncryptionKey ()
This defines a customer managed encryption key that will be used to
encrypt the "config" portion (the Kubernetes resources) of Backups
created via this plan.
Default (empty): Config backup artifacts will not be encrypted.
.google.cloud.gkebackup.v1.EncryptionKey encryption_key = 6;
getEncryptionKeyOrBuilder()
public EncryptionKeyOrBuilder getEncryptionKeyOrBuilder ()
This defines a customer managed encryption key that will be used to
encrypt the "config" portion (the Kubernetes resources) of Backups
created via this plan.
Default (empty): Config backup artifacts will not be encrypted.
.google.cloud.gkebackup.v1.EncryptionKey encryption_key = 6;
getIncludeSecrets()
public boolean getIncludeSecrets ()
This flag specifies whether Kubernetes Secret resources should be
included when they fall into the scope of Backups.
Default: False
bool include_secrets = 5;
Returns Type Description boolean
The includeSecrets.
getIncludeVolumeData()
public boolean getIncludeVolumeData ()
This flag specifies whether volume data should be backed up when
PVCs are included in the scope of a Backup.
Default: False
bool include_volume_data = 4;
Returns Type Description boolean
The includeVolumeData.
getParserForType()
public Parser<BackupPlan . BackupConfig > getParserForType ()
Overrides
getSelectedApplications()
public NamespacedNames getSelectedApplications ()
If set, include just the resources referenced by the listed
ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;
getSelectedApplicationsOrBuilder()
public NamespacedNamesOrBuilder getSelectedApplicationsOrBuilder ()
If set, include just the resources referenced by the listed
ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;
getSelectedNamespaces()
public Namespaces getSelectedNamespaces ()
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;
Returns Type Description Namespaces
The selectedNamespaces.
getSelectedNamespacesOrBuilder()
public NamespacesOrBuilder getSelectedNamespacesOrBuilder ()
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
hasAllNamespaces()
public boolean hasAllNamespaces ()
If True, include all namespaced resources
bool all_namespaces = 1;
Returns Type Description boolean
Whether the allNamespaces field is set.
hasEncryptionKey()
public boolean hasEncryptionKey ()
This defines a customer managed encryption key that will be used to
encrypt the "config" portion (the Kubernetes resources) of Backups
created via this plan.
Default (empty): Config backup artifacts will not be encrypted.
.google.cloud.gkebackup.v1.EncryptionKey encryption_key = 6;
Returns Type Description boolean
Whether the encryptionKey field is set.
hasSelectedApplications()
public boolean hasSelectedApplications ()
If set, include just the resources referenced by the listed
ProtectedApplications.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;
Returns Type Description boolean
Whether the selectedApplications field is set.
hasSelectedNamespaces()
public boolean hasSelectedNamespaces ()
If set, include just the resources in the listed namespaces.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2;
Returns Type Description boolean
Whether the selectedNamespaces field is set.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public BackupPlan . BackupConfig . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BackupPlan . BackupConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public BackupPlan . BackupConfig . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]