Class BackupDisasterRecovery (2.48.0)

public final class BackupDisasterRecovery extends GeneratedMessageV3 implements BackupDisasterRecoveryOrBuilder

Information related to Google Cloud Backup and DR Service findings.

Protobuf type google.cloud.securitycenter.v2.BackupDisasterRecovery

Static Fields

APPLIANCE_FIELD_NUMBER

public static final int APPLIANCE_FIELD_NUMBER
Field Value
TypeDescription
int

APPLICATIONS_FIELD_NUMBER

public static final int APPLICATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

BACKUP_CREATE_TIME_FIELD_NUMBER

public static final int BACKUP_CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

BACKUP_TEMPLATE_FIELD_NUMBER

public static final int BACKUP_TEMPLATE_FIELD_NUMBER
Field Value
TypeDescription
int

BACKUP_TYPE_FIELD_NUMBER

public static final int BACKUP_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

HOST_FIELD_NUMBER

public static final int HOST_FIELD_NUMBER
Field Value
TypeDescription
int

POLICIES_FIELD_NUMBER

public static final int POLICIES_FIELD_NUMBER
Field Value
TypeDescription
int

POLICY_OPTIONS_FIELD_NUMBER

public static final int POLICY_OPTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

PROFILE_FIELD_NUMBER

public static final int PROFILE_FIELD_NUMBER
Field Value
TypeDescription
int

STORAGE_POOL_FIELD_NUMBER

public static final int STORAGE_POOL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BackupDisasterRecovery getDefaultInstance()
Returns
TypeDescription
BackupDisasterRecovery

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BackupDisasterRecovery.Builder newBuilder()
Returns
TypeDescription
BackupDisasterRecovery.Builder

newBuilder(BackupDisasterRecovery prototype)

public static BackupDisasterRecovery.Builder newBuilder(BackupDisasterRecovery prototype)
Parameter
NameDescription
prototypeBackupDisasterRecovery
Returns
TypeDescription
BackupDisasterRecovery.Builder

parseDelimitedFrom(InputStream input)

public static BackupDisasterRecovery parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BackupDisasterRecovery
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackupDisasterRecovery parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackupDisasterRecovery
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BackupDisasterRecovery parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BackupDisasterRecovery
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BackupDisasterRecovery parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackupDisasterRecovery
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BackupDisasterRecovery parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BackupDisasterRecovery
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BackupDisasterRecovery parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackupDisasterRecovery
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BackupDisasterRecovery parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BackupDisasterRecovery
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BackupDisasterRecovery parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackupDisasterRecovery
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BackupDisasterRecovery parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BackupDisasterRecovery
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackupDisasterRecovery parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackupDisasterRecovery
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BackupDisasterRecovery parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BackupDisasterRecovery
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BackupDisasterRecovery parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackupDisasterRecovery
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BackupDisasterRecovery> parser()
Returns
TypeDescription
Parser<BackupDisasterRecovery>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for backupType.

getDefaultInstanceForType()

public BackupDisasterRecovery getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for host.

getParserForType()

public Parser<BackupDisasterRecovery> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for profile.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the backupCreateTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BackupDisasterRecovery.Builder newBuilderForType()
Returns
TypeDescription
BackupDisasterRecovery.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BackupDisasterRecovery.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BackupDisasterRecovery.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BackupDisasterRecovery.Builder toBuilder()
Returns
TypeDescription
BackupDisasterRecovery.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException