Class InitializeServiceResponse.Builder (0.42.0)

public static final class InitializeServiceResponse.Builder extends GeneratedMessage.Builder<InitializeServiceResponse.Builder> implements InitializeServiceResponseOrBuilder

Response message for initializing the service.

Protobuf type google.cloud.backupdr.v1.InitializeServiceResponse

Static Methods

getDescriptor()

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

Methods

build()

public InitializeServiceResponse build()
Returns
Type Description
InitializeServiceResponse

buildPartial()

public InitializeServiceResponse buildPartial()
Returns
Type Description
InitializeServiceResponse

clear()

public InitializeServiceResponse.Builder clear()
Returns
Type Description
InitializeServiceResponse.Builder
Overrides

clearBackupPlanName()

public InitializeServiceResponse.Builder clearBackupPlanName()

The resource name of the default BackupPlan created. Format: projects/{project_id}/locations/{location}/backupPlans/{backup_plan_id}.

string backup_plan_name = 2;

Returns
Type Description
InitializeServiceResponse.Builder

This builder for chaining.

clearBackupVaultName()

public InitializeServiceResponse.Builder clearBackupVaultName()

The resource name of the default BackupVault created. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}.

string backup_vault_name = 1;

Returns
Type Description
InitializeServiceResponse.Builder

This builder for chaining.

getBackupPlanName()

public String getBackupPlanName()

The resource name of the default BackupPlan created. Format: projects/{project_id}/locations/{location}/backupPlans/{backup_plan_id}.

string backup_plan_name = 2;

Returns
Type Description
String

The backupPlanName.

getBackupPlanNameBytes()

public ByteString getBackupPlanNameBytes()

The resource name of the default BackupPlan created. Format: projects/{project_id}/locations/{location}/backupPlans/{backup_plan_id}.

string backup_plan_name = 2;

Returns
Type Description
ByteString

The bytes for backupPlanName.

getBackupVaultName()

public String getBackupVaultName()

The resource name of the default BackupVault created. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}.

string backup_vault_name = 1;

Returns
Type Description
String

The backupVaultName.

getBackupVaultNameBytes()

public ByteString getBackupVaultNameBytes()

The resource name of the default BackupVault created. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}.

string backup_vault_name = 1;

Returns
Type Description
ByteString

The bytes for backupVaultName.

getDefaultInstanceForType()

public InitializeServiceResponse getDefaultInstanceForType()
Returns
Type Description
InitializeServiceResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InitializeServiceResponse other)

public InitializeServiceResponse.Builder mergeFrom(InitializeServiceResponse other)
Parameter
Name Description
other InitializeServiceResponse
Returns
Type Description
InitializeServiceResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InitializeServiceResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InitializeServiceResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InitializeServiceResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InitializeServiceResponse.Builder
Overrides

setBackupPlanName(String value)

public InitializeServiceResponse.Builder setBackupPlanName(String value)

The resource name of the default BackupPlan created. Format: projects/{project_id}/locations/{location}/backupPlans/{backup_plan_id}.

string backup_plan_name = 2;

Parameter
Name Description
value String

The backupPlanName to set.

Returns
Type Description
InitializeServiceResponse.Builder

This builder for chaining.

setBackupPlanNameBytes(ByteString value)

public InitializeServiceResponse.Builder setBackupPlanNameBytes(ByteString value)

The resource name of the default BackupPlan created. Format: projects/{project_id}/locations/{location}/backupPlans/{backup_plan_id}.

string backup_plan_name = 2;

Parameter
Name Description
value ByteString

The bytes for backupPlanName to set.

Returns
Type Description
InitializeServiceResponse.Builder

This builder for chaining.

setBackupVaultName(String value)

public InitializeServiceResponse.Builder setBackupVaultName(String value)

The resource name of the default BackupVault created. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}.

string backup_vault_name = 1;

Parameter
Name Description
value String

The backupVaultName to set.

Returns
Type Description
InitializeServiceResponse.Builder

This builder for chaining.

setBackupVaultNameBytes(ByteString value)

public InitializeServiceResponse.Builder setBackupVaultNameBytes(ByteString value)

The resource name of the default BackupVault created. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}.

string backup_vault_name = 1;

Parameter
Name Description
value ByteString

The bytes for backupVaultName to set.

Returns
Type Description
InitializeServiceResponse.Builder

This builder for chaining.