Package com.google.cloud.gkebackup.v1
Class BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder>
com.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder
- All Implemented Interfaces:
BackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BackupPlanBinding.BackupPlanDetails.BackupConfigDetails
public static final class BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder>
implements BackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder
BackupConfigDetails defines the configuration of Backups created via this BackupPlan.Protobuf type
google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetails-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.Output only.booleanOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.Output only.Output only.booleanOutput only.booleanOutput only.Output only.Output only.Output only.Output only.Output only.Output only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEncryptionKey(EncryptionKey value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.Output only.setAllNamespaces(boolean value) Output only.setEncryptionKey(EncryptionKey value) Output only.setEncryptionKey(EncryptionKey.Builder builderForValue) Output only.setIncludeSecrets(boolean value) Output only.setIncludeVolumeData(boolean value) Output only.Output only.setSelectedApplications(NamespacedNames.Builder builderForValue) Output only.setSelectedNamespaces(Namespaces value) Output only.setSelectedNamespaces(Namespaces.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder>
-
mergeFrom
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder>- Throws:
IOException
-
getBackupScopeCase
- Specified by:
getBackupScopeCasein interfaceBackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder
-
clearBackupScope
-
hasAllNamespaces
public boolean hasAllNamespaces()Output only. If True, include all namespaced resources
bool all_namespaces = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAllNamespacesin interfaceBackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder- Returns:
- Whether the allNamespaces field is set.
-
getAllNamespaces
public boolean getAllNamespaces()Output only. If True, include all namespaced resources
bool all_namespaces = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAllNamespacesin interfaceBackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder- Returns:
- The allNamespaces.
-
setAllNamespaces
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder setAllNamespaces(boolean value) Output only. If True, include all namespaced resources
bool all_namespaces = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The allNamespaces to set.- Returns:
- This builder for chaining.
-
clearAllNamespaces
Output only. If True, include all namespaced resources
bool all_namespaces = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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];- Specified by:
hasSelectedNamespacesin interfaceBackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder- Returns:
- Whether the selectedNamespaces field is set.
-
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];- Specified by:
getSelectedNamespacesin interfaceBackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder- Returns:
- The selectedNamespaces.
-
setSelectedNamespaces
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder setSelectedNamespaces(Namespaces value) 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]; -
setSelectedNamespaces
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder setSelectedNamespaces(Namespaces.Builder builderForValue) 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]; -
mergeSelectedNamespaces
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder mergeSelectedNamespaces(Namespaces value) 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]; -
clearSelectedNamespaces
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]; -
getSelectedNamespacesBuilder
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]; -
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];- Specified by:
getSelectedNamespacesOrBuilderin interfaceBackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder
-
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];- Specified by:
hasSelectedApplicationsin interfaceBackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder- Returns:
- Whether the selectedApplications field is set.
-
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];- Specified by:
getSelectedApplicationsin interfaceBackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder- Returns:
- The selectedApplications.
-
setSelectedApplications
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder setSelectedApplications(NamespacedNames value) 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]; -
setSelectedApplications
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder setSelectedApplications(NamespacedNames.Builder builderForValue) 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]; -
mergeSelectedApplications
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder mergeSelectedApplications(NamespacedNames value) 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]; -
clearSelectedApplications
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]; -
getSelectedApplicationsBuilder
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]; -
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];- Specified by:
getSelectedApplicationsOrBuilderin interfaceBackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder
-
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];- Specified by:
getIncludeVolumeDatain interfaceBackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder- Returns:
- The includeVolumeData.
-
setIncludeVolumeData
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder setIncludeVolumeData(boolean value) 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];- Parameters:
value- The includeVolumeData to set.- Returns:
- This builder for chaining.
-
clearIncludeVolumeData
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:
- This builder for chaining.
-
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];- Specified by:
getIncludeSecretsin interfaceBackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder- Returns:
- The includeSecrets.
-
setIncludeSecrets
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder setIncludeSecrets(boolean value) 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];- Parameters:
value- The includeSecrets to set.- Returns:
- This builder for chaining.
-
clearIncludeSecrets
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:
- This builder for chaining.
-
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];- Specified by:
hasEncryptionKeyin interfaceBackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder- Returns:
- Whether the encryptionKey field is set.
-
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];- Specified by:
getEncryptionKeyin interfaceBackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder- Returns:
- The encryptionKey.
-
setEncryptionKey
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder setEncryptionKey(EncryptionKey value) 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]; -
setEncryptionKey
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder setEncryptionKey(EncryptionKey.Builder builderForValue) 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]; -
mergeEncryptionKey
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder mergeEncryptionKey(EncryptionKey value) 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]; -
clearEncryptionKey
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]; -
getEncryptionKeyBuilder
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]; -
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];- Specified by:
getEncryptionKeyOrBuilderin interfaceBackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder
-