Class UpdateBackupConfigRequest.Builder (0.82.0)

public static final class UpdateBackupConfigRequest.Builder extends GeneratedMessage.Builder<UpdateBackupConfigRequest.Builder> implements UpdateBackupConfigRequestOrBuilder

Request message for UpdateBackupConfig

Protobuf type google.cloud.netapp.v1.UpdateBackupConfigRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateBackupConfigRequest build()
Returns
Type Description
UpdateBackupConfigRequest

buildPartial()

public UpdateBackupConfigRequest buildPartial()
Returns
Type Description
UpdateBackupConfigRequest

clear()

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

clearBackupConfig()

public UpdateBackupConfigRequest.Builder clearBackupConfig()

Required. Backup configuration to apply.

.google.cloud.netapp.v1.BackupConfig backup_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateBackupConfigRequest.Builder

clearName()

public UpdateBackupConfigRequest.Builder clearName()

Required. The resource name of the StoragePool, in the format: projects/{projectNumber}/locations/{locationId}/storagePools/{poolId}

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

Returns
Type Description
UpdateBackupConfigRequest.Builder

This builder for chaining.

clearUpdateMask()

public UpdateBackupConfigRequest.Builder clearUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the BackupConfig for the Volume. 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.

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

Returns
Type Description
UpdateBackupConfigRequest.Builder

clearVolumeUuid()

public UpdateBackupConfigRequest.Builder clearVolumeUuid()

Required. The UUID of the ONTAP-mode volume.

string volume_uuid = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateBackupConfigRequest.Builder

This builder for chaining.

getBackupConfig()

public BackupConfig getBackupConfig()

Required. Backup configuration to apply.

.google.cloud.netapp.v1.BackupConfig backup_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BackupConfig

The backupConfig.

getBackupConfigBuilder()

public BackupConfig.Builder getBackupConfigBuilder()

Required. Backup configuration to apply.

.google.cloud.netapp.v1.BackupConfig backup_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BackupConfig.Builder

getBackupConfigOrBuilder()

public BackupConfigOrBuilder getBackupConfigOrBuilder()

Required. Backup configuration to apply.

.google.cloud.netapp.v1.BackupConfig backup_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BackupConfigOrBuilder

getDefaultInstanceForType()

public UpdateBackupConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateBackupConfigRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The resource name of the StoragePool, in the format: projects/{projectNumber}/locations/{locationId}/storagePools/{poolId}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the StoragePool, in the format: projects/{projectNumber}/locations/{locationId}/storagePools/{poolId}

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

Returns
Type Description
ByteString

The bytes for name.

getUpdateMask()

public FieldMask getUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the BackupConfig for the Volume. 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.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Field mask is used to specify the fields to be overwritten in the BackupConfig for the Volume. 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.

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

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Field mask is used to specify the fields to be overwritten in the BackupConfig for the Volume. 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.

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

Returns
Type Description
FieldMaskOrBuilder

getVolumeUuid()

public String getVolumeUuid()

Required. The UUID of the ONTAP-mode volume.

string volume_uuid = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The volumeUuid.

getVolumeUuidBytes()

public ByteString getVolumeUuidBytes()

Required. The UUID of the ONTAP-mode volume.

string volume_uuid = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for volumeUuid.

hasBackupConfig()

public boolean hasBackupConfig()

Required. Backup configuration to apply.

.google.cloud.netapp.v1.BackupConfig backup_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the backupConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the BackupConfig for the Volume. 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.

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

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBackupConfig(BackupConfig value)

public UpdateBackupConfigRequest.Builder mergeBackupConfig(BackupConfig value)

Required. Backup configuration to apply.

.google.cloud.netapp.v1.BackupConfig backup_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BackupConfig
Returns
Type Description
UpdateBackupConfigRequest.Builder

mergeFrom(UpdateBackupConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUpdateMask(FieldMask value)

public UpdateBackupConfigRequest.Builder mergeUpdateMask(FieldMask value)

Required. Field mask is used to specify the fields to be overwritten in the BackupConfig for the Volume. 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.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateBackupConfigRequest.Builder

setBackupConfig(BackupConfig value)

public UpdateBackupConfigRequest.Builder setBackupConfig(BackupConfig value)

Required. Backup configuration to apply.

.google.cloud.netapp.v1.BackupConfig backup_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BackupConfig
Returns
Type Description
UpdateBackupConfigRequest.Builder

setBackupConfig(BackupConfig.Builder builderForValue)

public UpdateBackupConfigRequest.Builder setBackupConfig(BackupConfig.Builder builderForValue)

Required. Backup configuration to apply.

.google.cloud.netapp.v1.BackupConfig backup_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue BackupConfig.Builder
Returns
Type Description
UpdateBackupConfigRequest.Builder

setName(String value)

public UpdateBackupConfigRequest.Builder setName(String value)

Required. The resource name of the StoragePool, in the format: projects/{projectNumber}/locations/{locationId}/storagePools/{poolId}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
UpdateBackupConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UpdateBackupConfigRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the StoragePool, in the format: projects/{projectNumber}/locations/{locationId}/storagePools/{poolId}

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
UpdateBackupConfigRequest.Builder

This builder for chaining.

setUpdateMask(FieldMask value)

public UpdateBackupConfigRequest.Builder setUpdateMask(FieldMask value)

Required. Field mask is used to specify the fields to be overwritten in the BackupConfig for the Volume. 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.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateBackupConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateBackupConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Field mask is used to specify the fields to be overwritten in the BackupConfig for the Volume. 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.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateBackupConfigRequest.Builder

setVolumeUuid(String value)

public UpdateBackupConfigRequest.Builder setVolumeUuid(String value)

Required. The UUID of the ONTAP-mode volume.

string volume_uuid = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The volumeUuid to set.

Returns
Type Description
UpdateBackupConfigRequest.Builder

This builder for chaining.

setVolumeUuidBytes(ByteString value)

public UpdateBackupConfigRequest.Builder setVolumeUuidBytes(ByteString value)

Required. The UUID of the ONTAP-mode volume.

string volume_uuid = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for volumeUuid to set.

Returns
Type Description
UpdateBackupConfigRequest.Builder

This builder for chaining.