publicfinalclass BackupConfigextendsGeneratedMessageV3implementsBackupConfigOrBuilder
BackupConfig contains backup related config on a volume.
Protobuf type google.cloud.netapp.v1.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
BACKUP_CHAIN_BYTES_FIELD_NUMBER
publicstaticfinalintBACKUP_CHAIN_BYTES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
BACKUP_POLICIES_FIELD_NUMBER
publicstaticfinalintBACKUP_POLICIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
BACKUP_VAULT_FIELD_NUMBER
publicstaticfinalintBACKUP_VAULT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
SCHEDULED_BACKUP_ENABLED_FIELD_NUMBER
publicstaticfinalintSCHEDULED_BACKUP_ENABLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticBackupConfiggetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticBackupConfig.BuildernewBuilder()
newBuilder(BackupConfig prototype)
publicstaticBackupConfig.BuildernewBuilder(BackupConfigprototype)
publicstaticBackupConfigparseDelimitedFrom(InputStreaminput)
publicstaticBackupConfigparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticBackupConfigparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticBackupConfigparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticBackupConfigparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticBackupConfigparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticBackupConfigparseFrom(CodedInputStreaminput)
publicstaticBackupConfigparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticBackupConfigparseFrom(InputStreaminput)
publicstaticBackupConfigparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticBackupConfigparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticBackupConfigparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<BackupConfig>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getBackupChainBytes()
publiclonggetBackupChainBytes()
Output only. Total size of all backups in a chain in bytes = baseline
backup size + sum(incremental backup size).
optional int64 backup_chain_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
long |
The backupChainBytes.
|
getBackupPolicies(int index)
publicStringgetBackupPolicies(intindex)
Optional. When specified, schedule backups will be created based on the
policy configuration.
repeated string backup_policies = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The backupPolicies at the given index.
|
getBackupPoliciesBytes(int index)
publicByteStringgetBackupPoliciesBytes(intindex)
Optional. When specified, schedule backups will be created based on the
policy configuration.
repeated string backup_policies = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the backupPolicies at the given index.
|
getBackupPoliciesCount()
publicintgetBackupPoliciesCount()
Optional. When specified, schedule backups will be created based on the
policy configuration.
repeated string backup_policies = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
int |
The count of backupPolicies.
|
getBackupPoliciesList()
publicProtocolStringListgetBackupPoliciesList()
Optional. When specified, schedule backups will be created based on the
policy configuration.
repeated string backup_policies = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getBackupVault()
publicStringgetBackupVault()
Optional. Name of backup vault.
Format:
projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
string backup_vault = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The backupVault.
|
getBackupVaultBytes()
publicByteStringgetBackupVaultBytes()
Optional. Name of backup vault.
Format:
projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
string backup_vault = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for backupVault.
|
getDefaultInstanceForType()
publicBackupConfiggetDefaultInstanceForType()
getParserForType()
publicParser<BackupConfig>getParserForType()
Overrides
getScheduledBackupEnabled()
publicbooleangetScheduledBackupEnabled()
Optional. When set to true, scheduled backup is enabled on the volume.
This field should be nil when there's no backup policy attached.
optional bool scheduled_backup_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The scheduledBackupEnabled.
|
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hasBackupChainBytes()
publicbooleanhasBackupChainBytes()
Output only. Total size of all backups in a chain in bytes = baseline
backup size + sum(incremental backup size).
optional int64 backup_chain_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the backupChainBytes field is set.
|
hasScheduledBackupEnabled()
publicbooleanhasScheduledBackupEnabled()
Optional. When set to true, scheduled backup is enabled on the volume.
This field should be nil when there's no backup policy attached.
optional bool scheduled_backup_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the scheduledBackupEnabled field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicBackupConfig.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedBackupConfig.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicBackupConfig.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides