Interface NfsExportOptionsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
NfsExportOptions, NfsExportOptions.Builder

@Generated public interface NfsExportOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    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}.
    List of either an IPv4 addresses in the format `{octet1}.
    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.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getIpRangesList

      List<String> 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;
      Returns:
      A list containing the ipRanges.
    • getIpRangesCount

      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;
      Returns:
      The count of ipRanges.
    • getIpRanges

      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;
      Parameters:
      index - The index of the element to return.
      Returns:
      The ipRanges at the given index.
    • getIpRangesBytes

      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;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the ipRanges at the given index.
    • getAccessModeValue

      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;
      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.v1.NfsExportOptions.AccessMode access_mode = 2;
      Returns:
      The accessMode.
    • getSquashModeValue

      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;
      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.v1.NfsExportOptions.SquashMode squash_mode = 3;
      Returns:
      The squashMode.
    • getAnonUid

      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;
      Returns:
      The anonUid.
    • getAnonGid

      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;
      Returns:
      The anonGid.