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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateShareRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateShareRequest build()
Returns
buildPartial()
public UpdateShareRequest buildPartial()
Returns
clear()
public UpdateShareRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateShareRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateShareRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
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
clone()
public UpdateShareRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateShareRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateShareRequest other)
public UpdateShareRequest.Builder mergeFrom(UpdateShareRequest other)
Parameter
Returns
public UpdateShareRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateShareRequest.Builder mergeFrom(Message other)
Parameter
Returns
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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateShareRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateShareRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateShareRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateShareRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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