Class DeleteBackupVaultRequest.Builder (0.62.0)

public static final class DeleteBackupVaultRequest.Builder extends GeneratedMessage.Builder<DeleteBackupVaultRequest.Builder> implements DeleteBackupVaultRequestOrBuilder

DeleteBackupVaultRequest deletes a backupVault.

Protobuf type google.cloud.netapp.v1.DeleteBackupVaultRequest

Static Methods

getDescriptor()

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

Methods

build()

public DeleteBackupVaultRequest build()
Returns
Type Description
DeleteBackupVaultRequest

buildPartial()

public DeleteBackupVaultRequest buildPartial()
Returns
Type Description
DeleteBackupVaultRequest

clear()

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

clearName()

public DeleteBackupVaultRequest.Builder clearName()

Required. The backupVault resource name, in the format projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
DeleteBackupVaultRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeleteBackupVaultRequest getDefaultInstanceForType()
Returns
Type Description
DeleteBackupVaultRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The backupVault resource name, in the format projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The backupVault resource name, in the format projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteBackupVaultRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public DeleteBackupVaultRequest.Builder setName(String value)

Required. The backupVault resource name, in the format projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteBackupVaultRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteBackupVaultRequest.Builder setNameBytes(ByteString value)

Required. The backupVault resource name, in the format projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteBackupVaultRequest.Builder

This builder for chaining.