Class UpdateBackupVaultRequest.Builder (0.14.0)

public static final class UpdateBackupVaultRequest.Builder extends GeneratedMessageV3.Builder<UpdateBackupVaultRequest.Builder> implements UpdateBackupVaultRequestOrBuilder

UpdateBackupVaultRequest updates description and/or labels for a backupVault.

Protobuf type google.cloud.netapp.v1.UpdateBackupVaultRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateBackupVaultRequest build()
Returns
TypeDescription
UpdateBackupVaultRequest

buildPartial()

public UpdateBackupVaultRequest buildPartial()
Returns
TypeDescription
UpdateBackupVaultRequest

clear()

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

clearBackupVault()

public UpdateBackupVaultRequest.Builder clearBackupVault()

Required. The backupVault being updated

.google.cloud.netapp.v1.BackupVault backup_vault = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateBackupVaultRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateBackupVaultRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateBackupVaultRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateBackupVaultRequest.Builder clearUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the Backup resource to be updated. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateBackupVaultRequest.Builder

clone()

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

getBackupVault()

public BackupVault getBackupVault()

Required. The backupVault being updated

.google.cloud.netapp.v1.BackupVault backup_vault = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BackupVault

The backupVault.

getBackupVaultBuilder()

public BackupVault.Builder getBackupVaultBuilder()

Required. The backupVault being updated

.google.cloud.netapp.v1.BackupVault backup_vault = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BackupVault.Builder

getBackupVaultOrBuilder()

public BackupVaultOrBuilder getBackupVaultOrBuilder()

Required. The backupVault being updated

.google.cloud.netapp.v1.BackupVault backup_vault = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BackupVaultOrBuilder

getDefaultInstanceForType()

public UpdateBackupVaultRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateBackupVaultRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the Backup resource to be updated. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Field mask is used to specify the fields to be overwritten in the Backup resource to be updated. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Field mask is used to specify the fields to be overwritten in the Backup resource to be updated. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasBackupVault()

public boolean hasBackupVault()

Required. The backupVault being updated

.google.cloud.netapp.v1.BackupVault backup_vault = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the backupVault field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the Backup resource to be updated. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBackupVault(BackupVault value)

public UpdateBackupVaultRequest.Builder mergeBackupVault(BackupVault value)

Required. The backupVault being updated

.google.cloud.netapp.v1.BackupVault backup_vault = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueBackupVault
Returns
TypeDescription
UpdateBackupVaultRequest.Builder

mergeFrom(UpdateBackupVaultRequest other)

public UpdateBackupVaultRequest.Builder mergeFrom(UpdateBackupVaultRequest other)
Parameter
NameDescription
otherUpdateBackupVaultRequest
Returns
TypeDescription
UpdateBackupVaultRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateBackupVaultRequest.Builder mergeUpdateMask(FieldMask value)

Required. Field mask is used to specify the fields to be overwritten in the Backup resource to be updated. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateBackupVaultRequest.Builder

setBackupVault(BackupVault value)

public UpdateBackupVaultRequest.Builder setBackupVault(BackupVault value)

Required. The backupVault being updated

.google.cloud.netapp.v1.BackupVault backup_vault = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueBackupVault
Returns
TypeDescription
UpdateBackupVaultRequest.Builder

setBackupVault(BackupVault.Builder builderForValue)

public UpdateBackupVaultRequest.Builder setBackupVault(BackupVault.Builder builderForValue)

Required. The backupVault being updated

.google.cloud.netapp.v1.BackupVault backup_vault = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBackupVault.Builder
Returns
TypeDescription
UpdateBackupVaultRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateBackupVaultRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateBackupVaultRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateBackupVaultRequest.Builder setUpdateMask(FieldMask value)

Required. Field mask is used to specify the fields to be overwritten in the Backup resource to be updated. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateBackupVaultRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateBackupVaultRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Field mask is used to specify the fields to be overwritten in the Backup resource to be updated. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateBackupVaultRequest.Builder