Interface NfsShare.AllowedClientOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NfsShare.AllowedClient
,NfsShare.AllowedClient.Builder
- Enclosing class:
- NfsShare
public static interface NfsShare.AllowedClientOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getAllowDev()
Allow dev flag.String
getAllowedClientsCidr()
The subnet of IP addresses permitted to access the share.com.google.protobuf.ByteString
getAllowedClientsCidrBytes()
The subnet of IP addresses permitted to access the share.boolean
getAllowSuid()
Allow the setuid flag.NfsShare.MountPermissions
getMountPermissions()
Mount permissions.int
getMountPermissionsValue()
Mount permissions.String
getNetwork()
The network the access point sits on.com.google.protobuf.ByteString
getNetworkBytes()
The network the access point sits on.String
getNfsPath()
Output only.com.google.protobuf.ByteString
getNfsPathBytes()
Output only.boolean
getNoRootSquash()
Disable root squashing, which is a feature of NFS.String
getShareIp()
Output only.com.google.protobuf.ByteString
getShareIpBytes()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNetwork
String getNetwork()
The network the access point sits on.
string network = 1 [(.google.api.resource_reference) = { ... }
- Returns:
- The network.
-
getNetworkBytes
com.google.protobuf.ByteString getNetworkBytes()
The network the access point sits on.
string network = 1 [(.google.api.resource_reference) = { ... }
- Returns:
- The bytes for network.
-
getShareIp
String getShareIp()
Output only. The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.
string share_ip = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The shareIp.
-
getShareIpBytes
com.google.protobuf.ByteString getShareIpBytes()
Output only. The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.
string share_ip = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for shareIp.
-
getAllowedClientsCidr
String getAllowedClientsCidr()
The subnet of IP addresses permitted to access the share.
string allowed_clients_cidr = 3;
- Returns:
- The allowedClientsCidr.
-
getAllowedClientsCidrBytes
com.google.protobuf.ByteString getAllowedClientsCidrBytes()
The subnet of IP addresses permitted to access the share.
string allowed_clients_cidr = 3;
- Returns:
- The bytes for allowedClientsCidr.
-
getMountPermissionsValue
int getMountPermissionsValue()
Mount permissions.
.google.cloud.baremetalsolution.v2.NfsShare.MountPermissions mount_permissions = 4;
- Returns:
- The enum numeric value on the wire for mountPermissions.
-
getMountPermissions
NfsShare.MountPermissions getMountPermissions()
Mount permissions.
.google.cloud.baremetalsolution.v2.NfsShare.MountPermissions mount_permissions = 4;
- Returns:
- The mountPermissions.
-
getAllowDev
boolean getAllowDev()
Allow dev flag. Which controls whether to allow creation of devices.
bool allow_dev = 5;
- Returns:
- The allowDev.
-
getAllowSuid
boolean getAllowSuid()
Allow the setuid flag.
bool allow_suid = 6;
- Returns:
- The allowSuid.
-
getNoRootSquash
boolean getNoRootSquash()
Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication.
bool no_root_squash = 7;
- Returns:
- The noRootSquash.
-
getNfsPath
String getNfsPath()
Output only. The path to access NFS, in format shareIP:/InstanceID InstanceID is the generated ID instead of customer provided name. example like "10.0.0.0:/g123456789-nfs001"
string nfs_path = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The nfsPath.
-
getNfsPathBytes
com.google.protobuf.ByteString getNfsPathBytes()
Output only. The path to access NFS, in format shareIP:/InstanceID InstanceID is the generated ID instead of customer provided name. example like "10.0.0.0:/g123456789-nfs001"
string nfs_path = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for nfsPath.
-
-