Class UpdateNfsShareRequest.Builder (0.19.0)

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

Message requesting to updating a NFS share.

Protobuf type google.cloud.baremetalsolution.v2.UpdateNfsShareRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateNfsShareRequest build()
Returns
TypeDescription
UpdateNfsShareRequest

buildPartial()

public UpdateNfsShareRequest buildPartial()
Returns
TypeDescription
UpdateNfsShareRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateNfsShareRequest.Builder clearUpdateMask()

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

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdateNfsShareRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateNfsShareRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateNfsShareRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

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

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

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

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

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

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the nfsShare field is set.

hasUpdateMask()

public boolean hasUpdateMask()

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

.google.protobuf.FieldMask update_mask = 2;

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

mergeFrom(UpdateNfsShareRequest other)

public UpdateNfsShareRequest.Builder mergeFrom(UpdateNfsShareRequest other)
Parameter
NameDescription
otherUpdateNfsShareRequest
Returns
TypeDescription
UpdateNfsShareRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateNfsShareRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueNfsShare
Returns
TypeDescription
UpdateNfsShareRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateNfsShareRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateNfsShareRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateNfsShareRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
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

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateNfsShareRequest.Builder