Package com.google.cloud.filestore.v1
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.v1.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.v1.NfsExportOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.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.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.NfsExportOptions.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NfsExportOptions
build()
NfsExportOptions
buildPartial()
NfsExportOptions.Builder
clear()
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.NfsExportOptions.Builder
clearAnonGid()
An integer representing the anonymous group id with a default value of 65534.NfsExportOptions.Builder
clearAnonUid()
An integer representing the anonymous user id with a default value of 65534.NfsExportOptions.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
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.NfsExportOptions.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
NfsExportOptions.Builder
clearSquashMode()
Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access.NfsExportOptions.Builder
clone()
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.int
getAccessModeValue()
Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests.long
getAnonGid()
An integer representing the anonymous group id with a default value of 65534.long
getAnonUid()
An integer representing the anonymous user id with a default value of 65534.NfsExportOptions
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.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.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.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.NfsExportOptions.SquashMode
getSquashMode()
Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access.int
getSquashModeValue()
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.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
NfsExportOptions.Builder
mergeFrom(NfsExportOptions other)
NfsExportOptions.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NfsExportOptions.Builder
mergeFrom(com.google.protobuf.Message other)
NfsExportOptions.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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.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.NfsExportOptions.Builder
setAnonGid(long value)
An integer representing the anonymous group id with a default value of 65534.NfsExportOptions.Builder
setAnonUid(long value)
An integer representing the anonymous user id with a default value of 65534.NfsExportOptions.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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.NfsExportOptions.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
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.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.NfsExportOptions.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
clear
public NfsExportOptions.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
getDefaultInstanceForType
public NfsExportOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NfsExportOptions build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NfsExportOptions buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NfsExportOptions.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
setField
public NfsExportOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
clearField
public NfsExportOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
clearOneof
public NfsExportOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
setRepeatedField
public NfsExportOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
addRepeatedField
public NfsExportOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
mergeFrom
public NfsExportOptions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NfsExportOptions.Builder>
-
mergeFrom
public NfsExportOptions.Builder mergeFrom(NfsExportOptions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getIpRangesList
in 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:
getIpRangesCount
in 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:
getIpRanges
in 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:
getIpRangesBytes
in 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.v1.NfsExportOptions.AccessMode access_mode = 2;
- Specified by:
getAccessModeValue
in 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.v1.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.v1.NfsExportOptions.AccessMode access_mode = 2;
- Specified by:
getAccessMode
in 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.v1.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.v1.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.v1.NfsExportOptions.SquashMode squash_mode = 3;
- Specified by:
getSquashModeValue
in 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.v1.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.v1.NfsExportOptions.SquashMode squash_mode = 3;
- Specified by:
getSquashMode
in 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.v1.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.v1.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:
getAnonUid
in 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:
getAnonGid
in 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.
-
setUnknownFields
public final NfsExportOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
mergeUnknownFields
public final NfsExportOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NfsExportOptions.Builder>
-
-