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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateShareRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateShareRequest build()
buildPartial()
public UpdateShareRequest buildPartial()
clear()
public UpdateShareRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateShareRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateShareRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
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];
clone()
public UpdateShareRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateShareRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateShareRequest other)
public UpdateShareRequest.Builder mergeFrom(UpdateShareRequest other)
public UpdateShareRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateShareRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateShareRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateShareRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateShareRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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
|
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateShareRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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
|