public static final class BackupPlan.BackupConfig extends GeneratedMessageV3 implements BackupPlan.BackupConfigOrBuilder
BackupConfig defines the configuration of Backups created via this
BackupPlan.
Protobuf type google.events.cloud.gkebackup.v1.BackupPlan.BackupConfig
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>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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.events.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.events.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.events.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;
getSelectedApplicationsOrBuilder()
public NamespacedNamesOrBuilder getSelectedApplicationsOrBuilder()
If set, include just the resources referenced by the listed
ProtectedApplications.
.google.events.cloud.gkebackup.v1.NamespacedNames selected_applications = 3;
getSelectedNamespaces()
public Namespaces getSelectedNamespaces()
If set, include just the resources in the listed namespaces.
.google.events.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.events.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.events.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.events.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.events.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