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 Classes
    Modifier and Type
    Class
    Description
    static enum 
    The access mode.
    static final class 
    NFS export options specifications.
    static enum 
    The security flavor.
    static enum 
    The 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.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests.
    int
    Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests.
    long
    An integer representing the anonymous group id with a default value of 65534.
    long
    An integer representing the anonymous user id with a default value of 65534.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    getIpRanges(int index)
    List of either an IPv4 addresses in the format `{octet1}.
    com.google.protobuf.ByteString
    getIpRangesBytes(int index)
    List of either an IPv4 addresses in the format `{octet1}.
    int
    List of either an IPv4 addresses in the format `{octet1}.
    com.google.protobuf.ProtocolStringList
    List of either an IPv4 addresses in the format `{octet1}.
    com.google.protobuf.Parser<NfsExportOptions>
     
    getSecurityFlavors(int index)
    The security flavors allowed for mount operations.
    int
    The security flavors allowed for mount operations.
    The security flavors allowed for mount operations.
    int
    The security flavors allowed for mount operations.
    The security flavors allowed for mount operations.
    int
     
    Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access.
    int
    Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access.
    int
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<NfsExportOptions>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods 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:
      internalGetFieldAccessorTable in class com.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:
      getIpRangesList in interface NfsExportOptionsOrBuilder
      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 interface NfsExportOptionsOrBuilder
      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 interface NfsExportOptionsOrBuilder
      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 interface NfsExportOptionsOrBuilder
      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:
      getAccessModeValue in interface NfsExportOptionsOrBuilder
      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:
      getAccessMode in interface NfsExportOptionsOrBuilder
      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:
      getSquashModeValue in interface NfsExportOptionsOrBuilder
      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:
      getSquashMode in interface NfsExportOptionsOrBuilder
      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:
      getAnonUid in interface NfsExportOptionsOrBuilder
      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:
      getAnonGid in interface NfsExportOptionsOrBuilder
      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:
      getSecurityFlavorsList in interface NfsExportOptionsOrBuilder
      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:
      getSecurityFlavorsCount in interface NfsExportOptionsOrBuilder
      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:
      getSecurityFlavors in interface NfsExportOptionsOrBuilder
      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:
      getSecurityFlavorsValueList in interface NfsExportOptionsOrBuilder
      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:
      getSecurityFlavorsValue in interface NfsExportOptionsOrBuilder
      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:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static NfsExportOptions.Builder newBuilder()
    • newBuilder

      public static NfsExportOptions.Builder newBuilder(NfsExportOptions prototype)
    • toBuilder

      public NfsExportOptions.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected NfsExportOptions.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static NfsExportOptions getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<NfsExportOptions> parser()
    • getParserForType

      public com.google.protobuf.Parser<NfsExportOptions> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public NfsExportOptions getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder