Class DataSourceBackupApplianceApplication (0.11.0)

public final class DataSourceBackupApplianceApplication extends GeneratedMessageV3 implements DataSourceBackupApplianceApplicationOrBuilder

BackupApplianceApplication describes a Source Resource when it is an application backed up by a BackupAppliance.

Protobuf type google.cloud.backupdr.v1.DataSourceBackupApplianceApplication

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DataSourceBackupApplianceApplication

Static Fields

APPLIANCE_ID_FIELD_NUMBER

public static final int APPLIANCE_ID_FIELD_NUMBER
Field Value
Type Description
int

APPLICATION_ID_FIELD_NUMBER

public static final int APPLICATION_ID_FIELD_NUMBER
Field Value
Type Description
int

APPLICATION_NAME_FIELD_NUMBER

public static final int APPLICATION_NAME_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_APPLIANCE_FIELD_NUMBER

public static final int BACKUP_APPLIANCE_FIELD_NUMBER
Field Value
Type Description
int

HOSTNAME_FIELD_NUMBER

public static final int HOSTNAME_FIELD_NUMBER
Field Value
Type Description
int

HOST_ID_FIELD_NUMBER

public static final int HOST_ID_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataSourceBackupApplianceApplication getDefaultInstance()
Returns
Type Description
DataSourceBackupApplianceApplication

getDescriptor()

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

newBuilder()

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

newBuilder(DataSourceBackupApplianceApplication prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getApplianceId()

public long getApplianceId()

Appliance Id of the Backup Appliance.

int64 appliance_id = 3;

Returns
Type Description
long

The applianceId.

getApplicationId()

public long getApplicationId()

The appid field of the application within the Backup Appliance.

int64 application_id = 8;

Returns
Type Description
long

The applicationId.

getApplicationName()

public String getApplicationName()

The name of the Application as known to the Backup Appliance.

string application_name = 1;

Returns
Type Description
String

The applicationName.

getApplicationNameBytes()

public ByteString getApplicationNameBytes()

The name of the Application as known to the Backup Appliance.

string application_name = 1;

Returns
Type Description
ByteString

The bytes for applicationName.

getBackupAppliance()

public String getBackupAppliance()

Appliance name.

string backup_appliance = 2;

Returns
Type Description
String

The backupAppliance.

getBackupApplianceBytes()

public ByteString getBackupApplianceBytes()

Appliance name.

string backup_appliance = 2;

Returns
Type Description
ByteString

The bytes for backupAppliance.

getDefaultInstanceForType()

public DataSourceBackupApplianceApplication getDefaultInstanceForType()
Returns
Type Description
DataSourceBackupApplianceApplication

getHostId()

public long getHostId()

Hostid of the application host.

int64 host_id = 7;

Returns
Type Description
long

The hostId.

getHostname()

public String getHostname()

Hostname of the host where the application is running.

string hostname = 6;

Returns
Type Description
String

The hostname.

getHostnameBytes()

public ByteString getHostnameBytes()

Hostname of the host where the application is running.

string hostname = 6;

Returns
Type Description
ByteString

The bytes for hostname.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public String getType()

The type of the application. e.g. VMBackup

string type = 4;

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

The type of the application. e.g. VMBackup

string type = 4;

Returns
Type Description
ByteString

The bytes for type.

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 DataSourceBackupApplianceApplication.Builder newBuilderForType()
Returns
Type Description
DataSourceBackupApplianceApplication.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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