Class DeleteBackupVaultRequest.Builder (0.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteBackupVaultRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteBackupVaultRequest.Builder
Overrides

build()

public DeleteBackupVaultRequest build()
Returns
TypeDescription
DeleteBackupVaultRequest

buildPartial()

public DeleteBackupVaultRequest buildPartial()
Returns
TypeDescription
DeleteBackupVaultRequest

clear()

public DeleteBackupVaultRequest.Builder clear()
Returns
TypeDescription
DeleteBackupVaultRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteBackupVaultRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DeleteBackupVaultRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteBackupVaultRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeleteBackupVaultRequest.Builder
Overrides

clone()

public DeleteBackupVaultRequest.Builder clone()
Returns
TypeDescription
DeleteBackupVaultRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteBackupVaultRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteBackupVaultRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteBackupVaultRequest other)

public DeleteBackupVaultRequest.Builder mergeFrom(DeleteBackupVaultRequest other)
Parameter
NameDescription
otherDeleteBackupVaultRequest
Returns
TypeDescription
DeleteBackupVaultRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteBackupVaultRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteBackupVaultRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteBackupVaultRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteBackupVaultRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteBackupVaultRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteBackupVaultRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteBackupVaultRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteBackupVaultRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteBackupVaultRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteBackupVaultRequest.Builder
Overrides