Class NfsExportOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
- com.google.cloud.filestore.v1beta1.NfsExportOptions.Builder
-
- All Implemented Interfaces:
NfsExportOptionsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NfsExportOptions
public static final class NfsExportOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder> implements NfsExportOptionsOrBuilder
NFS export options specifications.
Protobuf typegoogle.cloud.filestore.v1beta1.NfsExportOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NfsExportOptions.BuilderaddAllIpRanges(Iterable<String> values)List of either an IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the file share.NfsExportOptions.BuilderaddAllSecurityFlavors(Iterable<? extends NfsExportOptions.SecurityFlavor> values)The security flavors allowed for mount operations.NfsExportOptions.BuilderaddAllSecurityFlavorsValue(Iterable<Integer> values)The security flavors allowed for mount operations.NfsExportOptions.BuilderaddIpRanges(String value)List of either an IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the file share.NfsExportOptions.BuilderaddIpRangesBytes(com.google.protobuf.ByteString value)List of either an IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the file share.NfsExportOptions.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NfsExportOptions.BuilderaddSecurityFlavors(NfsExportOptions.SecurityFlavor value)The security flavors allowed for mount operations.NfsExportOptions.BuilderaddSecurityFlavorsValue(int value)The security flavors allowed for mount operations.NfsExportOptionsbuild()NfsExportOptionsbuildPartial()NfsExportOptions.Builderclear()NfsExportOptions.BuilderclearAccessMode()Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests.NfsExportOptions.BuilderclearAnonGid()An integer representing the anonymous group id with a default value of 65534.NfsExportOptions.BuilderclearAnonUid()An integer representing the anonymous user id with a default value of 65534.NfsExportOptions.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)NfsExportOptions.BuilderclearIpRanges()List of either an IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the file share.NfsExportOptions.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)NfsExportOptions.BuilderclearSecurityFlavors()The security flavors allowed for mount operations.NfsExportOptions.BuilderclearSquashMode()Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access.NfsExportOptions.Builderclone()NfsExportOptions.AccessModegetAccessMode()Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests.intgetAccessModeValue()Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests.longgetAnonGid()An integer representing the anonymous group id with a default value of 65534.longgetAnonUid()An integer representing the anonymous user id with a default value of 65534.NfsExportOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetIpRanges(int index)List of either an IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the file share.com.google.protobuf.ByteStringgetIpRangesBytes(int index)List of either an IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the file share.intgetIpRangesCount()List of either an IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the file share.com.google.protobuf.ProtocolStringListgetIpRangesList()List of either an IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the file share.NfsExportOptions.SecurityFlavorgetSecurityFlavors(int index)The security flavors allowed for mount operations.intgetSecurityFlavorsCount()The security flavors allowed for mount operations.List<NfsExportOptions.SecurityFlavor>getSecurityFlavorsList()The security flavors allowed for mount operations.intgetSecurityFlavorsValue(int index)The security flavors allowed for mount operations.List<Integer>getSecurityFlavorsValueList()The security flavors allowed for mount operations.NfsExportOptions.SquashModegetSquashMode()Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access.intgetSquashModeValue()Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()NfsExportOptions.BuildermergeFrom(NfsExportOptions other)NfsExportOptions.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)NfsExportOptions.BuildermergeFrom(com.google.protobuf.Message other)NfsExportOptions.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NfsExportOptions.BuildersetAccessMode(NfsExportOptions.AccessMode value)Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests.NfsExportOptions.BuildersetAccessModeValue(int value)Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests.NfsExportOptions.BuildersetAnonGid(long value)An integer representing the anonymous group id with a default value of 65534.NfsExportOptions.BuildersetAnonUid(long value)An integer representing the anonymous user id with a default value of 65534.NfsExportOptions.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NfsExportOptions.BuildersetIpRanges(int index, String value)List of either an IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the file share.NfsExportOptions.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)NfsExportOptions.BuildersetSecurityFlavors(int index, NfsExportOptions.SecurityFlavor value)The security flavors allowed for mount operations.NfsExportOptions.BuildersetSecurityFlavorsValue(int index, int value)The security flavors allowed for mount operations.NfsExportOptions.BuildersetSquashMode(NfsExportOptions.SquashMode value)Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access.NfsExportOptions.BuildersetSquashModeValue(int value)Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access.NfsExportOptions.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
clear
public NfsExportOptions.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
getDefaultInstanceForType
public NfsExportOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public NfsExportOptions build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NfsExportOptions buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NfsExportOptions.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
setField
public NfsExportOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
clearField
public NfsExportOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
clearOneof
public NfsExportOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
setRepeatedField
public NfsExportOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
addRepeatedField
public NfsExportOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
mergeFrom
public NfsExportOptions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NfsExportOptions.Builder>
-
mergeFrom
public NfsExportOptions.Builder mergeFrom(NfsExportOptions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
mergeFrom
public NfsExportOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NfsExportOptions.Builder>- Throws:
IOException
-
getIpRangesList
public com.google.protobuf.ProtocolStringList getIpRangesList()
List of either an IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.repeated string ip_ranges = 1;- Specified by:
getIpRangesListin interfaceNfsExportOptionsOrBuilder- Returns:
- A list containing the ipRanges.
-
getIpRangesCount
public int getIpRangesCount()
List of either an IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.repeated string ip_ranges = 1;- Specified by:
getIpRangesCountin interfaceNfsExportOptionsOrBuilder- Returns:
- The count of ipRanges.
-
getIpRanges
public String getIpRanges(int index)
List of either an IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.repeated string ip_ranges = 1;- Specified by:
getIpRangesin interfaceNfsExportOptionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ipRanges at the given index.
-
getIpRangesBytes
public com.google.protobuf.ByteString getIpRangesBytes(int index)
List of either an IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.repeated string ip_ranges = 1;- Specified by:
getIpRangesBytesin interfaceNfsExportOptionsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ipRanges at the given index.
-
setIpRanges
public NfsExportOptions.Builder setIpRanges(int index, String value)
List of either an IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.repeated string ip_ranges = 1;- Parameters:
index- The index to set the value at.value- The ipRanges to set.- Returns:
- This builder for chaining.
-
addIpRanges
public NfsExportOptions.Builder addIpRanges(String value)
List of either an IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.repeated string ip_ranges = 1;- Parameters:
value- The ipRanges to add.- Returns:
- This builder for chaining.
-
addAllIpRanges
public NfsExportOptions.Builder addAllIpRanges(Iterable<String> values)
List of either an IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.repeated string ip_ranges = 1;- Parameters:
values- The ipRanges to add.- Returns:
- This builder for chaining.
-
clearIpRanges
public NfsExportOptions.Builder clearIpRanges()
List of either an IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.repeated string ip_ranges = 1;- Returns:
- This builder for chaining.
-
addIpRangesBytes
public NfsExportOptions.Builder addIpRangesBytes(com.google.protobuf.ByteString value)
List of either an IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.repeated string ip_ranges = 1;- Parameters:
value- The bytes of the ipRanges to add.- Returns:
- This builder for chaining.
-
getAccessModeValue
public int getAccessModeValue()
Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
.google.cloud.filestore.v1beta1.NfsExportOptions.AccessMode access_mode = 2;- Specified by:
getAccessModeValuein interfaceNfsExportOptionsOrBuilder- Returns:
- The enum numeric value on the wire for accessMode.
-
setAccessModeValue
public NfsExportOptions.Builder setAccessModeValue(int value)
Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
.google.cloud.filestore.v1beta1.NfsExportOptions.AccessMode access_mode = 2;- Parameters:
value- The enum numeric value on the wire for accessMode to set.- Returns:
- This builder for chaining.
-
getAccessMode
public NfsExportOptions.AccessMode getAccessMode()
Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
.google.cloud.filestore.v1beta1.NfsExportOptions.AccessMode access_mode = 2;- Specified by:
getAccessModein interfaceNfsExportOptionsOrBuilder- Returns:
- The accessMode.
-
setAccessMode
public NfsExportOptions.Builder setAccessMode(NfsExportOptions.AccessMode value)
Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
.google.cloud.filestore.v1beta1.NfsExportOptions.AccessMode access_mode = 2;- Parameters:
value- The accessMode to set.- Returns:
- This builder for chaining.
-
clearAccessMode
public NfsExportOptions.Builder clearAccessMode()
Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
.google.cloud.filestore.v1beta1.NfsExportOptions.AccessMode access_mode = 2;- Returns:
- This builder for chaining.
-
getSquashModeValue
public int getSquashModeValue()
Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.
.google.cloud.filestore.v1beta1.NfsExportOptions.SquashMode squash_mode = 3;- Specified by:
getSquashModeValuein interfaceNfsExportOptionsOrBuilder- Returns:
- The enum numeric value on the wire for squashMode.
-
setSquashModeValue
public NfsExportOptions.Builder setSquashModeValue(int value)
Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.
.google.cloud.filestore.v1beta1.NfsExportOptions.SquashMode squash_mode = 3;- Parameters:
value- The enum numeric value on the wire for squashMode to set.- Returns:
- This builder for chaining.
-
getSquashMode
public NfsExportOptions.SquashMode getSquashMode()
Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.
.google.cloud.filestore.v1beta1.NfsExportOptions.SquashMode squash_mode = 3;- Specified by:
getSquashModein interfaceNfsExportOptionsOrBuilder- Returns:
- The squashMode.
-
setSquashMode
public NfsExportOptions.Builder setSquashMode(NfsExportOptions.SquashMode value)
Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.
.google.cloud.filestore.v1beta1.NfsExportOptions.SquashMode squash_mode = 3;- Parameters:
value- The squashMode to set.- Returns:
- This builder for chaining.
-
clearSquashMode
public NfsExportOptions.Builder clearSquashMode()
Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.
.google.cloud.filestore.v1beta1.NfsExportOptions.SquashMode squash_mode = 3;- Returns:
- This builder for chaining.
-
getAnonUid
public long getAnonUid()
An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
int64 anon_uid = 4;- Specified by:
getAnonUidin interfaceNfsExportOptionsOrBuilder- Returns:
- The anonUid.
-
setAnonUid
public NfsExportOptions.Builder setAnonUid(long value)
An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
int64 anon_uid = 4;- Parameters:
value- The anonUid to set.- Returns:
- This builder for chaining.
-
clearAnonUid
public NfsExportOptions.Builder clearAnonUid()
An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
int64 anon_uid = 4;- Returns:
- This builder for chaining.
-
getAnonGid
public long getAnonGid()
An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
int64 anon_gid = 5;- Specified by:
getAnonGidin interfaceNfsExportOptionsOrBuilder- Returns:
- The anonGid.
-
setAnonGid
public NfsExportOptions.Builder setAnonGid(long value)
An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
int64 anon_gid = 5;- Parameters:
value- The anonGid to set.- Returns:
- This builder for chaining.
-
clearAnonGid
public NfsExportOptions.Builder clearAnonGid()
An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
int64 anon_gid = 5;- Returns:
- This builder for chaining.
-
getSecurityFlavorsList
public List<NfsExportOptions.SecurityFlavor> getSecurityFlavorsList()
The security flavors allowed for mount operations. The default is AUTH_SYS.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions.SecurityFlavor security_flavors = 6;- Specified by:
getSecurityFlavorsListin interfaceNfsExportOptionsOrBuilder- Returns:
- A list containing the securityFlavors.
-
getSecurityFlavorsCount
public int getSecurityFlavorsCount()
The security flavors allowed for mount operations. The default is AUTH_SYS.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions.SecurityFlavor security_flavors = 6;- Specified by:
getSecurityFlavorsCountin interfaceNfsExportOptionsOrBuilder- Returns:
- The count of securityFlavors.
-
getSecurityFlavors
public NfsExportOptions.SecurityFlavor getSecurityFlavors(int index)
The security flavors allowed for mount operations. The default is AUTH_SYS.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions.SecurityFlavor security_flavors = 6;- Specified by:
getSecurityFlavorsin interfaceNfsExportOptionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The securityFlavors at the given index.
-
setSecurityFlavors
public NfsExportOptions.Builder setSecurityFlavors(int index, NfsExportOptions.SecurityFlavor value)
The security flavors allowed for mount operations. The default is AUTH_SYS.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions.SecurityFlavor security_flavors = 6;- Parameters:
index- The index to set the value at.value- The securityFlavors to set.- Returns:
- This builder for chaining.
-
addSecurityFlavors
public NfsExportOptions.Builder addSecurityFlavors(NfsExportOptions.SecurityFlavor value)
The security flavors allowed for mount operations. The default is AUTH_SYS.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions.SecurityFlavor security_flavors = 6;- Parameters:
value- The securityFlavors to add.- Returns:
- This builder for chaining.
-
addAllSecurityFlavors
public NfsExportOptions.Builder addAllSecurityFlavors(Iterable<? extends NfsExportOptions.SecurityFlavor> values)
The security flavors allowed for mount operations. The default is AUTH_SYS.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions.SecurityFlavor security_flavors = 6;- Parameters:
values- The securityFlavors to add.- Returns:
- This builder for chaining.
-
clearSecurityFlavors
public NfsExportOptions.Builder clearSecurityFlavors()
The security flavors allowed for mount operations. The default is AUTH_SYS.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions.SecurityFlavor security_flavors = 6;- Returns:
- This builder for chaining.
-
getSecurityFlavorsValueList
public List<Integer> getSecurityFlavorsValueList()
The security flavors allowed for mount operations. The default is AUTH_SYS.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions.SecurityFlavor security_flavors = 6;- Specified by:
getSecurityFlavorsValueListin interfaceNfsExportOptionsOrBuilder- Returns:
- A list containing the enum numeric values on the wire for securityFlavors.
-
getSecurityFlavorsValue
public int getSecurityFlavorsValue(int index)
The security flavors allowed for mount operations. The default is AUTH_SYS.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions.SecurityFlavor security_flavors = 6;- Specified by:
getSecurityFlavorsValuein interfaceNfsExportOptionsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of securityFlavors at the given index.
-
setSecurityFlavorsValue
public NfsExportOptions.Builder setSecurityFlavorsValue(int index, int value)
The security flavors allowed for mount operations. The default is AUTH_SYS.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions.SecurityFlavor security_flavors = 6;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for securityFlavors to set.- Returns:
- This builder for chaining.
-
addSecurityFlavorsValue
public NfsExportOptions.Builder addSecurityFlavorsValue(int value)
The security flavors allowed for mount operations. The default is AUTH_SYS.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions.SecurityFlavor security_flavors = 6;- Parameters:
value- The enum numeric value on the wire for securityFlavors to add.- Returns:
- This builder for chaining.
-
addAllSecurityFlavorsValue
public NfsExportOptions.Builder addAllSecurityFlavorsValue(Iterable<Integer> values)
The security flavors allowed for mount operations. The default is AUTH_SYS.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions.SecurityFlavor security_flavors = 6;- Parameters:
values- The enum numeric values on the wire for securityFlavors to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final NfsExportOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
mergeUnknownFields
public final NfsExportOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
-