Interface VolumeConfig.NfsExportOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VolumeConfig.NfsExport
,VolumeConfig.NfsExport.Builder
- Enclosing class:
- VolumeConfig
public static interface VolumeConfig.NfsExportOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getAllowDev()
Allow dev flag in NfsShare AllowedClientsRequest.boolean
getAllowSuid()
Allow the setuid flag.String
getCidr()
A CIDR range.com.google.protobuf.ByteString
getCidrBytes()
A CIDR range.VolumeConfig.NfsExport.ClientCase
getClientCase()
String
getMachineId()
Either a single machine, identified by an ID, or a comma-separated list of machine IDs.com.google.protobuf.ByteString
getMachineIdBytes()
Either a single machine, identified by an ID, or a comma-separated list of machine IDs.String
getNetworkId()
Network to use to publish the export.com.google.protobuf.ByteString
getNetworkIdBytes()
Network to use to publish the export.boolean
getNoRootSquash()
Disable root squashing, which is a feature of NFS.VolumeConfig.NfsExport.Permissions
getPermissions()
Export permissions.int
getPermissionsValue()
Export permissions.boolean
hasCidr()
A CIDR range.boolean
hasMachineId()
Either a single machine, identified by an ID, or a comma-separated list of machine IDs.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNetworkId
String getNetworkId()
Network to use to publish the export.
string network_id = 1;
- Returns:
- The networkId.
-
getNetworkIdBytes
com.google.protobuf.ByteString getNetworkIdBytes()
Network to use to publish the export.
string network_id = 1;
- Returns:
- The bytes for networkId.
-
hasMachineId
boolean hasMachineId()
Either a single machine, identified by an ID, or a comma-separated list of machine IDs.
string machine_id = 2;
- Returns:
- Whether the machineId field is set.
-
getMachineId
String getMachineId()
Either a single machine, identified by an ID, or a comma-separated list of machine IDs.
string machine_id = 2;
- Returns:
- The machineId.
-
getMachineIdBytes
com.google.protobuf.ByteString getMachineIdBytes()
Either a single machine, identified by an ID, or a comma-separated list of machine IDs.
string machine_id = 2;
- Returns:
- The bytes for machineId.
-
hasCidr
boolean hasCidr()
A CIDR range.
string cidr = 3;
- Returns:
- Whether the cidr field is set.
-
getCidr
String getCidr()
A CIDR range.
string cidr = 3;
- Returns:
- The cidr.
-
getCidrBytes
com.google.protobuf.ByteString getCidrBytes()
A CIDR range.
string cidr = 3;
- Returns:
- The bytes for cidr.
-
getPermissionsValue
int getPermissionsValue()
Export permissions.
.google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport.Permissions permissions = 4;
- Returns:
- The enum numeric value on the wire for permissions.
-
getPermissions
VolumeConfig.NfsExport.Permissions getPermissions()
Export permissions.
.google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport.Permissions permissions = 4;
- Returns:
- The permissions.
-
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 = 5;
- Returns:
- The noRootSquash.
-
getAllowSuid
boolean getAllowSuid()
Allow the setuid flag.
bool allow_suid = 6;
- Returns:
- The allowSuid.
-
getAllowDev
boolean getAllowDev()
Allow dev flag in NfsShare AllowedClientsRequest.
bool allow_dev = 7;
- Returns:
- The allowDev.
-
getClientCase
VolumeConfig.NfsExport.ClientCase getClientCase()
-
-