Class UpdateNfsShareRequest.Builder (0.44.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

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