public final class BackupConfig extends com.google.protobuf.GeneratedMessageV3 implements BackupConfigOrBuilder
BackupConfig contains backup related config on a volume.Protobuf type
google.cloud.netapp.v1.BackupConfig| Modifier and Type | Class and Description |
|---|---|
static class |
BackupConfig.Builder
BackupConfig contains backup related config on a volume.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BACKUP_POLICIES_FIELD_NUMBER |
static int |
BACKUP_VAULT_FIELD_NUMBER |
static int |
SCHEDULED_BACKUP_ENABLED_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBackupPolicies(int index)
Optional.
|
com.google.protobuf.ByteString |
getBackupPoliciesBytes(int index)
Optional.
|
int |
getBackupPoliciesCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getBackupPoliciesList()
Optional.
|
String |
getBackupVault()
Optional.
|
com.google.protobuf.ByteString |
getBackupVaultBytes()
Optional.
|
static BackupConfig |
getDefaultInstance() |
BackupConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<BackupConfig> |
getParserForType() |
boolean |
getScheduledBackupEnabled()
Optional.
|
int |
getSerializedSize() |
int |
hashCode() |
boolean |
hasScheduledBackupEnabled()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BackupConfig.Builder |
newBuilder() |
static BackupConfig.Builder |
newBuilder(BackupConfig prototype) |
BackupConfig.Builder |
newBuilderForType() |
protected BackupConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static BackupConfig |
parseDelimitedFrom(InputStream input) |
static BackupConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BackupConfig |
parseFrom(byte[] data) |
static BackupConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BackupConfig |
parseFrom(ByteBuffer data) |
static BackupConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BackupConfig |
parseFrom(com.google.protobuf.ByteString data) |
static BackupConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BackupConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BackupConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BackupConfig |
parseFrom(InputStream input) |
static BackupConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BackupConfig> |
parser() |
BackupConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int BACKUP_POLICIES_FIELD_NUMBER
public static final int BACKUP_VAULT_FIELD_NUMBER
public static final int SCHEDULED_BACKUP_ENABLED_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public com.google.protobuf.ProtocolStringList getBackupPoliciesList()
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) = { ... }
getBackupPoliciesList in interface BackupConfigOrBuilderpublic int getBackupPoliciesCount()
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) = { ... }
getBackupPoliciesCount in interface BackupConfigOrBuilderpublic String getBackupPolicies(int index)
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) = { ... }
getBackupPolicies in interface BackupConfigOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getBackupPoliciesBytes(int index)
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) = { ... }
getBackupPoliciesBytes in interface BackupConfigOrBuilderindex - The index of the value to return.public String getBackupVault()
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) = { ... }
getBackupVault in interface BackupConfigOrBuilderpublic com.google.protobuf.ByteString getBackupVaultBytes()
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) = { ... }
getBackupVaultBytes in interface BackupConfigOrBuilderpublic boolean hasScheduledBackupEnabled()
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];
hasScheduledBackupEnabled in interface BackupConfigOrBuilderpublic boolean getScheduledBackupEnabled()
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];
getScheduledBackupEnabled in interface BackupConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static BackupConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BackupConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BackupConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BackupConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BackupConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BackupConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BackupConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static BackupConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BackupConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BackupConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BackupConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BackupConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BackupConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BackupConfig.Builder newBuilder()
public static BackupConfig.Builder newBuilder(BackupConfig prototype)
public BackupConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BackupConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BackupConfig getDefaultInstance()
public static com.google.protobuf.Parser<BackupConfig> parser()
public com.google.protobuf.Parser<BackupConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BackupConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.