Class UpdateShareRequest.Builder (1.84.0)

public static final class UpdateShareRequest.Builder extends GeneratedMessage.Builder<UpdateShareRequest.Builder> implements UpdateShareRequestOrBuilder

UpdateShareRequest updates the settings of a share.

Protobuf type google.cloud.filestore.v1beta1.UpdateShareRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateShareRequest build()
Returns
Type Description
UpdateShareRequest

buildPartial()

public UpdateShareRequest buildPartial()
Returns
Type Description
UpdateShareRequest

clear()

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

clearShare()

public UpdateShareRequest.Builder clearShare()

Required. A share resource. Only fields specified in update_mask are updated.

.google.cloud.filestore.v1beta1.Share share = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateShareRequest.Builder

clearUpdateMask()

public UpdateShareRequest.Builder clearUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields:

  • "description"
  • "capacity_gb"
  • "labels"
  • "nfs_export_options"

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

Returns
Type Description
UpdateShareRequest.Builder

getDefaultInstanceForType()

public UpdateShareRequest getDefaultInstanceForType()
Returns
Type Description
UpdateShareRequest

getDescriptorForType()

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

getShare()

public Share getShare()

Required. A share resource. Only fields specified in update_mask are updated.

.google.cloud.filestore.v1beta1.Share share = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Share

The share.

getShareBuilder()

public Share.Builder getShareBuilder()

Required. A share resource. Only fields specified in update_mask are updated.

.google.cloud.filestore.v1beta1.Share share = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Share.Builder

getShareOrBuilder()

public ShareOrBuilder getShareOrBuilder()

Required. A share resource. Only fields specified in update_mask are updated.

.google.cloud.filestore.v1beta1.Share share = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ShareOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields:

  • "description"
  • "capacity_gb"
  • "labels"
  • "nfs_export_options"

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields:

  • "description"
  • "capacity_gb"
  • "labels"
  • "nfs_export_options"

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

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields:

  • "description"
  • "capacity_gb"
  • "labels"
  • "nfs_export_options"

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

Returns
Type Description
FieldMaskOrBuilder

hasShare()

public boolean hasShare()

Required. A share resource. Only fields specified in update_mask are updated.

.google.cloud.filestore.v1beta1.Share share = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the share field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields:

  • "description"
  • "capacity_gb"
  • "labels"
  • "nfs_export_options"

.google.protobuf.FieldMask update_mask = 2 [(.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

mergeFrom(UpdateShareRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeShare(Share value)

public UpdateShareRequest.Builder mergeShare(Share value)

Required. A share resource. Only fields specified in update_mask are updated.

.google.cloud.filestore.v1beta1.Share share = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Share
Returns
Type Description
UpdateShareRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateShareRequest.Builder mergeUpdateMask(FieldMask value)

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields:

  • "description"
  • "capacity_gb"
  • "labels"
  • "nfs_export_options"

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateShareRequest.Builder

setShare(Share value)

public UpdateShareRequest.Builder setShare(Share value)

Required. A share resource. Only fields specified in update_mask are updated.

.google.cloud.filestore.v1beta1.Share share = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Share
Returns
Type Description
UpdateShareRequest.Builder

setShare(Share.Builder builderForValue)

public UpdateShareRequest.Builder setShare(Share.Builder builderForValue)

Required. A share resource. Only fields specified in update_mask are updated.

.google.cloud.filestore.v1beta1.Share share = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Share.Builder
Returns
Type Description
UpdateShareRequest.Builder

setUpdateMask(FieldMask value)

public UpdateShareRequest.Builder setUpdateMask(FieldMask value)

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields:

  • "description"
  • "capacity_gb"
  • "labels"
  • "nfs_export_options"

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateShareRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateShareRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields:

  • "description"
  • "capacity_gb"
  • "labels"
  • "nfs_export_options"

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateShareRequest.Builder