All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.filestore.v1beta1.NfsExportOptionsOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.54.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/filestore/v1beta1/cloud_filestore_service.proto

// Protobuf Java Version: 3.25.3
package com.google.cloud.filestore.v1beta1;

public interface NfsExportOptionsOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.filestore.v1beta1.NfsExportOptions)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * 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; * * @return A list containing the ipRanges. */ java.util.List 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; * * @return The count of ipRanges. */ 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; * * @param index The index of the element to return. * @return The ipRanges at the given index. */ java.lang.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; * * @param index The index of the value to return. * @return The bytes of the ipRanges at the given index. */ com.google.protobuf.ByteString getIpRangesBytes(int index); /** * * *
   * 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; * * @return The enum numeric value on the wire for accessMode. */ 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; * * @return The accessMode. */ com.google.cloud.filestore.v1beta1.NfsExportOptions.AccessMode getAccessMode(); /** * * *
   * 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; * * @return The enum numeric value on the wire for squashMode. */ 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; * * @return The squashMode. */ com.google.cloud.filestore.v1beta1.NfsExportOptions.SquashMode getSquashMode(); /** * * *
   * 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; * * @return The anonUid. */ long getAnonUid(); /** * * *
   * 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; * * @return The anonGid. */ long getAnonGid(); /** * * *
   * The security flavors allowed for mount operations.
   * The default is AUTH_SYS.
   * 
* * * repeated .google.cloud.filestore.v1beta1.NfsExportOptions.SecurityFlavor security_flavors = 6; * * * @return A list containing the securityFlavors. */ java.util.List getSecurityFlavorsList(); /** * * *
   * The security flavors allowed for mount operations.
   * The default is AUTH_SYS.
   * 
* * * repeated .google.cloud.filestore.v1beta1.NfsExportOptions.SecurityFlavor security_flavors = 6; * * * @return The count of securityFlavors. */ int getSecurityFlavorsCount(); /** * * *
   * The security flavors allowed for mount operations.
   * The default is AUTH_SYS.
   * 
* * * repeated .google.cloud.filestore.v1beta1.NfsExportOptions.SecurityFlavor security_flavors = 6; * * * @param index The index of the element to return. * @return The securityFlavors at the given index. */ com.google.cloud.filestore.v1beta1.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; * * * @return A list containing the enum numeric values on the wire for securityFlavors. */ java.util.List getSecurityFlavorsValueList(); /** * * *
   * The security flavors allowed for mount operations.
   * The default is AUTH_SYS.
   * 
* * * repeated .google.cloud.filestore.v1beta1.NfsExportOptions.SecurityFlavor security_flavors = 6; * * * @param index The index of the value to return. * @return The enum numeric value on the wire of securityFlavors at the given index. */ int getSecurityFlavorsValue(int index); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy