Class BackupPlanBinding.BackupPlanDetails.BackupConfigDetails (0.62.0)

public static final class BackupPlanBinding.BackupPlanDetails.BackupConfigDetails extends GeneratedMessageV3 implements BackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder

BackupConfigDetails defines the configuration of Backups created via this BackupPlan.

Protobuf type google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetails

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BackupPlanBinding.BackupPlanDetails.BackupConfigDetails

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 BackupPlanBinding.BackupPlanDetails.BackupConfigDetails getDefaultInstance()
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder newBuilder()
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder

newBuilder(BackupPlanBinding.BackupPlanDetails.BackupConfigDetails prototype)

public static BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder newBuilder(BackupPlanBinding.BackupPlanDetails.BackupConfigDetails prototype)
Parameter
Name Description
prototype BackupPlanBinding.BackupPlanDetails.BackupConfigDetails
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder

parseDelimitedFrom(InputStream input)

public static BackupPlanBinding.BackupPlanDetails.BackupConfigDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackupPlanBinding.BackupPlanDetails.BackupConfigDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BackupPlanBinding.BackupPlanDetails.BackupConfigDetails parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BackupPlanBinding.BackupPlanDetails.BackupConfigDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BackupPlanBinding.BackupPlanDetails.BackupConfigDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BackupPlanBinding.BackupPlanDetails.BackupConfigDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BackupPlanBinding.BackupPlanDetails.BackupConfigDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BackupPlanBinding.BackupPlanDetails.BackupConfigDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BackupPlanBinding.BackupPlanDetails.BackupConfigDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackupPlanBinding.BackupPlanDetails.BackupConfigDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BackupPlanBinding.BackupPlanDetails.BackupConfigDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BackupPlanBinding.BackupPlanDetails.BackupConfigDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BackupPlanBinding.BackupPlanDetails.BackupConfigDetails> parser()
Returns
Type Description
Parser<BackupConfigDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAllNamespaces()

public boolean getAllNamespaces()

Output only. If True, include all namespaced resources

bool all_namespaces = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The allNamespaces.

getBackupScopeCase()

public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.BackupScopeCase getBackupScopeCase()
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.BackupScopeCase

getDefaultInstanceForType()

public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails getDefaultInstanceForType()
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails

getEncryptionKey()

public EncryptionKey getEncryptionKey()

Output only. 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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EncryptionKey

The encryptionKey.

getEncryptionKeyOrBuilder()

public EncryptionKeyOrBuilder getEncryptionKeyOrBuilder()

Output only. 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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EncryptionKeyOrBuilder

getIncludeSecrets()

public boolean getIncludeSecrets()

Output only. This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups.

Default: False

bool include_secrets = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The includeSecrets.

getIncludeVolumeData()

public boolean getIncludeVolumeData()

Output only. 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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The includeVolumeData.

getParserForType()

public Parser<BackupPlanBinding.BackupPlanDetails.BackupConfigDetails> getParserForType()
Returns
Type Description
Parser<BackupConfigDetails>
Overrides

getSelectedApplications()

public NamespacedNames getSelectedApplications()

Output only. If set, include just the resources referenced by the listed ProtectedApplications.

.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
NamespacedNames

The selectedApplications.

getSelectedApplicationsOrBuilder()

public NamespacedNamesOrBuilder getSelectedApplicationsOrBuilder()

Output only. If set, include just the resources referenced by the listed ProtectedApplications.

.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
NamespacedNamesOrBuilder

getSelectedNamespaces()

public Namespaces getSelectedNamespaces()

Output only. If set, include just the resources in the listed namespaces.

.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Namespaces

The selectedNamespaces.

getSelectedNamespacesOrBuilder()

public NamespacesOrBuilder getSelectedNamespacesOrBuilder()

Output only. If set, include just the resources in the listed namespaces.

.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
NamespacesOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAllNamespaces()

public boolean hasAllNamespaces()

Output only. If True, include all namespaced resources

bool all_namespaces = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the allNamespaces field is set.

hasEncryptionKey()

public boolean hasEncryptionKey()

Output only. 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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the encryptionKey field is set.

hasSelectedApplications()

public boolean hasSelectedApplications()

Output only. If set, include just the resources referenced by the listed ProtectedApplications.

.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the selectedApplications field is set.

hasSelectedNamespaces()

public boolean hasSelectedNamespaces()

Output only. If set, include just the resources in the listed namespaces.

.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the selectedNamespaces field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder newBuilderForType()
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder toBuilder()
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException