Class NfsExportOptions
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.filestore.v1beta1.NfsExportOptions
-
- All Implemented Interfaces:
NfsExportOptionsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class NfsExportOptions extends com.google.protobuf.GeneratedMessageV3 implements NfsExportOptionsOrBuilder
NFS export options specifications.
Protobuf typegoogle.cloud.filestore.v1beta1.NfsExportOptions- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNfsExportOptions.AccessModeThe access mode.static classNfsExportOptions.BuilderNFS export options specifications.static classNfsExportOptions.SecurityFlavorThe security flavor.static classNfsExportOptions.SquashModeThe squash mode.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intACCESS_MODE_FIELD_NUMBERstatic intANON_GID_FIELD_NUMBERstatic intANON_UID_FIELD_NUMBERstatic intIP_RANGES_FIELD_NUMBERstatic intSECURITY_FLAVORS_FIELD_NUMBERstatic intSQUASH_MODE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)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.static NfsExportOptionsgetDefaultInstance()NfsExportOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.com.google.protobuf.Parser<NfsExportOptions>getParserForType()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.intgetSerializedSize()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.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static NfsExportOptions.BuildernewBuilder()static NfsExportOptions.BuildernewBuilder(NfsExportOptions prototype)NfsExportOptions.BuildernewBuilderForType()protected NfsExportOptions.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static NfsExportOptionsparseDelimitedFrom(InputStream input)static NfsExportOptionsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NfsExportOptionsparseFrom(byte[] data)static NfsExportOptionsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NfsExportOptionsparseFrom(com.google.protobuf.ByteString data)static NfsExportOptionsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NfsExportOptionsparseFrom(com.google.protobuf.CodedInputStream input)static NfsExportOptionsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NfsExportOptionsparseFrom(InputStream input)static NfsExportOptionsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NfsExportOptionsparseFrom(ByteBuffer data)static NfsExportOptionsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<NfsExportOptions>parser()NfsExportOptions.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
IP_RANGES_FIELD_NUMBER
public static final int IP_RANGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCESS_MODE_FIELD_NUMBER
public static final int ACCESS_MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SQUASH_MODE_FIELD_NUMBER
public static final int SQUASH_MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANON_UID_FIELD_NUMBER
public static final int ANON_UID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANON_GID_FIELD_NUMBER
public static final int ANON_GID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECURITY_FLAVORS_FIELD_NUMBER
public static final int SECURITY_FLAVORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static NfsExportOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NfsExportOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NfsExportOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NfsExportOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NfsExportOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NfsExportOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NfsExportOptions parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NfsExportOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NfsExportOptions parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NfsExportOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static NfsExportOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NfsExportOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public NfsExportOptions.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static NfsExportOptions.Builder newBuilder()
-
newBuilder
public static NfsExportOptions.Builder newBuilder(NfsExportOptions prototype)
-
toBuilder
public NfsExportOptions.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NfsExportOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static NfsExportOptions getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<NfsExportOptions> parser()
-
getParserForType
public com.google.protobuf.Parser<NfsExportOptions> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NfsExportOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-