Class UpdateShareRequest.Builder (1.55.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public UpdateShareRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateShareRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateShareRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

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