Class BackupDisasterRecovery (2.61.0)

public final class BackupDisasterRecovery extends GeneratedMessageV3 implements BackupDisasterRecoveryOrBuilder

Information related to Google Cloud Backup and DR Service findings.

Protobuf type google.cloud.securitycenter.v1.BackupDisasterRecovery

Static Fields

APPLIANCE_FIELD_NUMBER

public static final int APPLIANCE_FIELD_NUMBER
Field Value
Type Description
int

APPLICATIONS_FIELD_NUMBER

public static final int APPLICATIONS_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_CREATE_TIME_FIELD_NUMBER

public static final int BACKUP_CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_TEMPLATE_FIELD_NUMBER

public static final int BACKUP_TEMPLATE_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_TYPE_FIELD_NUMBER

public static final int BACKUP_TYPE_FIELD_NUMBER
Field Value
Type Description
int

HOST_FIELD_NUMBER

public static final int HOST_FIELD_NUMBER
Field Value
Type Description
int

POLICIES_FIELD_NUMBER

public static final int POLICIES_FIELD_NUMBER
Field Value
Type Description
int

POLICY_OPTIONS_FIELD_NUMBER

public static final int POLICY_OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

PROFILE_FIELD_NUMBER

public static final int PROFILE_FIELD_NUMBER
Field Value
Type Description
int

STORAGE_POOL_FIELD_NUMBER

public static final int STORAGE_POOL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BackupDisasterRecovery getDefaultInstance()
Returns
Type Description
BackupDisasterRecovery

getDescriptor()

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

newBuilder()

public static BackupDisasterRecovery.Builder newBuilder()
Returns
Type Description
BackupDisasterRecovery.Builder

newBuilder(BackupDisasterRecovery prototype)

public static BackupDisasterRecovery.Builder newBuilder(BackupDisasterRecovery prototype)
Parameter
Name Description
prototype BackupDisasterRecovery
Returns
Type Description
BackupDisasterRecovery.Builder

parseDelimitedFrom(InputStream input)

public static BackupDisasterRecovery parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupDisasterRecovery
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackupDisasterRecovery parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupDisasterRecovery
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BackupDisasterRecovery parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BackupDisasterRecovery
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BackupDisasterRecovery parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupDisasterRecovery
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BackupDisasterRecovery parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BackupDisasterRecovery
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BackupDisasterRecovery parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupDisasterRecovery
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BackupDisasterRecovery parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BackupDisasterRecovery
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BackupDisasterRecovery parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupDisasterRecovery
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BackupDisasterRecovery parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupDisasterRecovery
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackupDisasterRecovery parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupDisasterRecovery
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BackupDisasterRecovery parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BackupDisasterRecovery
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BackupDisasterRecovery parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupDisasterRecovery
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BackupDisasterRecovery> parser()
Returns
Type Description
Parser<BackupDisasterRecovery>

Methods

equals(Object obj)

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

getAppliance()

public String getAppliance()

The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, backup-server-57137.

string appliance = 8;

Returns
Type Description
String

The appliance.

getApplianceBytes()

public ByteString getApplianceBytes()

The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, backup-server-57137.

string appliance = 8;

Returns
Type Description
ByteString

The bytes for appliance.

getApplications(int index)

public String getApplications(int index)

The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, centos7-01-vol00, centos7-01-vol01, centos7-01-vol02.

repeated string applications = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The applications at the given index.

getApplicationsBytes(int index)

public ByteString getApplicationsBytes(int index)

The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, centos7-01-vol00, centos7-01-vol01, centos7-01-vol02.

repeated string applications = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the applications at the given index.

getApplicationsCount()

public int getApplicationsCount()

The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, centos7-01-vol00, centos7-01-vol01, centos7-01-vol02.

repeated string applications = 4;

Returns
Type Description
int

The count of applications.

getApplicationsList()

public ProtocolStringList getApplicationsList()

The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, centos7-01-vol00, centos7-01-vol01, centos7-01-vol02.

repeated string applications = 4;

Returns
Type Description
ProtocolStringList

A list containing the applications.

getBackupCreateTime()

public Timestamp getBackupCreateTime()

The timestamp at which the Backup and DR backup was created.

.google.protobuf.Timestamp backup_create_time = 10;

Returns
Type Description
Timestamp

The backupCreateTime.

getBackupCreateTimeOrBuilder()

public TimestampOrBuilder getBackupCreateTimeOrBuilder()

The timestamp at which the Backup and DR backup was created.

.google.protobuf.Timestamp backup_create_time = 10;

Returns
Type Description
TimestampOrBuilder

getBackupTemplate()

public String getBackupTemplate()

The name of a Backup and DR template which comprises one or more backup policies. See the Backup and DR documentation for more information. For example, snap-ov.

string backup_template = 1;

Returns
Type Description
String

The backupTemplate.

getBackupTemplateBytes()

public ByteString getBackupTemplateBytes()

The name of a Backup and DR template which comprises one or more backup policies. See the Backup and DR documentation for more information. For example, snap-ov.

string backup_template = 1;

Returns
Type Description
ByteString

The bytes for backupTemplate.

getBackupType()

public String getBackupType()

The backup type of the Backup and DR image. For example, Snapshot, Remote Snapshot, OnVault.

string backup_type = 9;

Returns
Type Description
String

The backupType.

getBackupTypeBytes()

public ByteString getBackupTypeBytes()

The backup type of the Backup and DR image. For example, Snapshot, Remote Snapshot, OnVault.

string backup_type = 9;

Returns
Type Description
ByteString

The bytes for backupType.

getDefaultInstanceForType()

public BackupDisasterRecovery getDefaultInstanceForType()
Returns
Type Description
BackupDisasterRecovery

getHost()

public String getHost()

The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the Backup and DR documentation on hosts for more information. For example, centos7-01.

string host = 3;

Returns
Type Description
String

The host.

getHostBytes()

public ByteString getHostBytes()

The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the Backup and DR documentation on hosts for more information. For example, centos7-01.

string host = 3;

Returns
Type Description
ByteString

The bytes for host.

getParserForType()

public Parser<BackupDisasterRecovery> getParserForType()
Returns
Type Description
Parser<BackupDisasterRecovery>
Overrides

getPolicies(int index)

public String getPolicies(int index)

The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, onvaults.

repeated string policies = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The policies at the given index.

getPoliciesBytes(int index)

public ByteString getPoliciesBytes(int index)

The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, onvaults.

repeated string policies = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the policies at the given index.

getPoliciesCount()

public int getPoliciesCount()

The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, onvaults.

repeated string policies = 2;

Returns
Type Description
int

The count of policies.

getPoliciesList()

public ProtocolStringList getPoliciesList()

The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, onvaults.

repeated string policies = 2;

Returns
Type Description
ProtocolStringList

A list containing the policies.

getPolicyOptions(int index)

public String getPolicyOptions(int index)

The names of Backup and DR advanced policy options of a policy applying to an application. See the Backup and DR documentation on policy options. For example, skipofflineappsincongrp, nounmap.

repeated string policy_options = 6;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The policyOptions at the given index.

getPolicyOptionsBytes(int index)

public ByteString getPolicyOptionsBytes(int index)

The names of Backup and DR advanced policy options of a policy applying to an application. See the Backup and DR documentation on policy options. For example, skipofflineappsincongrp, nounmap.

repeated string policy_options = 6;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the policyOptions at the given index.

getPolicyOptionsCount()

public int getPolicyOptionsCount()

The names of Backup and DR advanced policy options of a policy applying to an application. See the Backup and DR documentation on policy options. For example, skipofflineappsincongrp, nounmap.

repeated string policy_options = 6;

Returns
Type Description
int

The count of policyOptions.

getPolicyOptionsList()

public ProtocolStringList getPolicyOptionsList()

The names of Backup and DR advanced policy options of a policy applying to an application. See the Backup and DR documentation on policy options. For example, skipofflineappsincongrp, nounmap.

repeated string policy_options = 6;

Returns
Type Description
ProtocolStringList

A list containing the policyOptions.

getProfile()

public String getProfile()

The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the Backup and DR documentation on profiles. For example, GCP.

string profile = 7;

Returns
Type Description
String

The profile.

getProfileBytes()

public ByteString getProfileBytes()

The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the Backup and DR documentation on profiles. For example, GCP.

string profile = 7;

Returns
Type Description
ByteString

The bytes for profile.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStoragePool()

public String getStoragePool()

The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the Backup and DR documentation on storage pools. For example, DiskPoolOne.

string storage_pool = 5;

Returns
Type Description
String

The storagePool.

getStoragePoolBytes()

public ByteString getStoragePoolBytes()

The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the Backup and DR documentation on storage pools. For example, DiskPoolOne.

string storage_pool = 5;

Returns
Type Description
ByteString

The bytes for storagePool.

hasBackupCreateTime()

public boolean hasBackupCreateTime()

The timestamp at which the Backup and DR backup was created.

.google.protobuf.Timestamp backup_create_time = 10;

Returns
Type Description
boolean

Whether the backupCreateTime 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 BackupDisasterRecovery.Builder newBuilderForType()
Returns
Type Description
BackupDisasterRecovery.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BackupDisasterRecovery.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BackupDisasterRecovery.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public BackupDisasterRecovery.Builder toBuilder()
Returns
Type Description
BackupDisasterRecovery.Builder

writeTo(CodedOutputStream output)

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