Class DeleteBackupVaultRequest.Builder (0.34.0)

public static final class DeleteBackupVaultRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteBackupVaultRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteBackupVaultRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public DeleteBackupVaultRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteBackupVaultRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeleteBackupVaultRequest.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteBackupVaultRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteBackupVaultRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteBackupVaultRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeleteBackupVaultRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeleteBackupVaultRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteBackupVaultRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteBackupVaultRequest.Builder
Overrides