Class UpdateNfsShareRequest.Builder (0.83.0)

public static final class UpdateNfsShareRequest.Builder extends GeneratedMessage.Builder<UpdateNfsShareRequest.Builder> implements UpdateNfsShareRequestOrBuilder

Message requesting to updating an NFS share.

Protobuf type google.cloud.baremetalsolution.v2.UpdateNfsShareRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateNfsShareRequest build()
Returns
Type Description
UpdateNfsShareRequest

buildPartial()

public UpdateNfsShareRequest buildPartial()
Returns
Type Description
UpdateNfsShareRequest

clear()

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

clearNfsShare()

public UpdateNfsShareRequest.Builder clearNfsShare()

Required. The NFS share to update.

The name field is used to identify the NFS share to update. Format: projects/{project}/locations/{location}/nfsShares/{nfs_share}

.google.cloud.baremetalsolution.v2.NfsShare nfs_share = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateNfsShareRequest.Builder

clearUpdateMask()

public UpdateNfsShareRequest.Builder clearUpdateMask()

The list of fields to update. The only currently supported fields are: labels allowed_clients

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateNfsShareRequest.Builder

getDefaultInstanceForType()

public UpdateNfsShareRequest getDefaultInstanceForType()
Returns
Type Description
UpdateNfsShareRequest

getDescriptorForType()

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

getNfsShare()

public NfsShare getNfsShare()

Required. The NFS share to update.

The name field is used to identify the NFS share to update. Format: projects/{project}/locations/{location}/nfsShares/{nfs_share}

.google.cloud.baremetalsolution.v2.NfsShare nfs_share = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NfsShare

The nfsShare.

getNfsShareBuilder()

public NfsShare.Builder getNfsShareBuilder()

Required. The NFS share to update.

The name field is used to identify the NFS share to update. Format: projects/{project}/locations/{location}/nfsShares/{nfs_share}

.google.cloud.baremetalsolution.v2.NfsShare nfs_share = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NfsShare.Builder

getNfsShareOrBuilder()

public NfsShareOrBuilder getNfsShareOrBuilder()

Required. The NFS share to update.

The name field is used to identify the NFS share to update. Format: projects/{project}/locations/{location}/nfsShares/{nfs_share}

.google.cloud.baremetalsolution.v2.NfsShare nfs_share = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NfsShareOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to update. The only currently supported fields are: labels allowed_clients

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The list of fields to update. The only currently supported fields are: labels allowed_clients

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to update. The only currently supported fields are: labels allowed_clients

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasNfsShare()

public boolean hasNfsShare()

Required. The NFS share to update.

The name field is used to identify the NFS share to update. Format: projects/{project}/locations/{location}/nfsShares/{nfs_share}

.google.cloud.baremetalsolution.v2.NfsShare nfs_share = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the nfsShare field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to update. The only currently supported fields are: labels allowed_clients

.google.protobuf.FieldMask update_mask = 2;

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

mergeFrom(UpdateNfsShareRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNfsShare(NfsShare value)

public UpdateNfsShareRequest.Builder mergeNfsShare(NfsShare value)

Required. The NFS share to update.

The name field is used to identify the NFS share to update. Format: projects/{project}/locations/{location}/nfsShares/{nfs_share}

.google.cloud.baremetalsolution.v2.NfsShare nfs_share = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NfsShare
Returns
Type Description
UpdateNfsShareRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateNfsShareRequest.Builder mergeUpdateMask(FieldMask value)

The list of fields to update. The only currently supported fields are: labels allowed_clients

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateNfsShareRequest.Builder

setNfsShare(NfsShare value)

public UpdateNfsShareRequest.Builder setNfsShare(NfsShare value)

Required. The NFS share to update.

The name field is used to identify the NFS share to update. Format: projects/{project}/locations/{location}/nfsShares/{nfs_share}

.google.cloud.baremetalsolution.v2.NfsShare nfs_share = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NfsShare
Returns
Type Description
UpdateNfsShareRequest.Builder

setNfsShare(NfsShare.Builder builderForValue)

public UpdateNfsShareRequest.Builder setNfsShare(NfsShare.Builder builderForValue)

Required. The NFS share to update.

The name field is used to identify the NFS share to update. Format: projects/{project}/locations/{location}/nfsShares/{nfs_share}

.google.cloud.baremetalsolution.v2.NfsShare nfs_share = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue NfsShare.Builder
Returns
Type Description
UpdateNfsShareRequest.Builder

setUpdateMask(FieldMask value)

public UpdateNfsShareRequest.Builder setUpdateMask(FieldMask value)

The list of fields to update. The only currently supported fields are: labels allowed_clients

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateNfsShareRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateNfsShareRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The list of fields to update. The only currently supported fields are: labels allowed_clients

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateNfsShareRequest.Builder