Class NfsExportOptions
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class NfsExportOptions
extends com.google.protobuf.GeneratedMessage
implements NfsExportOptionsOrBuilder
NFS export options specifications.Protobuf type
google.cloud.filestore.v1beta1.NfsExportOptions- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe access mode.static final classNFS export options specifications.static enumThe security flavor.static enumThe squash mode.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanEither READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests.intEither READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests.longAn integer representing the anonymous group id with a default value of 65534.longAn integer representing the anonymous user id with a default value of 65534.static NfsExportOptionsstatic final com.google.protobuf.Descriptors.DescriptorgetIpRanges(int index) List of either an IPv4 addresses in the format `{octet1}.com.google.protobuf.ByteStringgetIpRangesBytes(int index) List of either an IPv4 addresses in the format `{octet1}.intList of either an IPv4 addresses in the format `{octet1}.com.google.protobuf.ProtocolStringListList of either an IPv4 addresses in the format `{octet1}.com.google.protobuf.Parser<NfsExportOptions>getSecurityFlavors(int index) The security flavors allowed for mount operations.intThe security flavors allowed for mount operations.The security flavors allowed for mount operations.intgetSecurityFlavorsValue(int index) The security flavors allowed for mount operations.The security flavors allowed for mount operations.intEither NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access.intEither NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic NfsExportOptions.Builderstatic NfsExportOptions.BuildernewBuilder(NfsExportOptions prototype) protected NfsExportOptions.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
IP_RANGES_FIELD_NUMBER
public static final int IP_RANGES_FIELD_NUMBER- See Also:
-
ACCESS_MODE_FIELD_NUMBER
public static final int ACCESS_MODE_FIELD_NUMBER- See Also:
-
SQUASH_MODE_FIELD_NUMBER
public static final int SQUASH_MODE_FIELD_NUMBER- See Also:
-
ANON_UID_FIELD_NUMBER
public static final int ANON_UID_FIELD_NUMBER- See Also:
-
ANON_GID_FIELD_NUMBER
public static final int ANON_GID_FIELD_NUMBER- See Also:
-
SECURITY_FLAVORS_FIELD_NUMBER
public static final int SECURITY_FLAVORS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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
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
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
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
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
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
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.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static NfsExportOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NfsExportOptions.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-