Interface VolumeConfig.NfsExportOrBuilder (0.54.0)

public static interface VolumeConfig.NfsExportOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowDev()

public abstract boolean getAllowDev()

Allow dev flag in NfsShare AllowedClientsRequest.

bool allow_dev = 7;

Returns
Type Description
boolean

The allowDev.

getAllowSuid()

public abstract boolean getAllowSuid()

Allow the setuid flag.

bool allow_suid = 6;

Returns
Type Description
boolean

The allowSuid.

getCidr()

public abstract String getCidr()

A CIDR range.

string cidr = 3;

Returns
Type Description
String

The cidr.

getCidrBytes()

public abstract ByteString getCidrBytes()

A CIDR range.

string cidr = 3;

Returns
Type Description
ByteString

The bytes for cidr.

getClientCase()

public abstract VolumeConfig.NfsExport.ClientCase getClientCase()
Returns
Type Description
VolumeConfig.NfsExport.ClientCase

getMachineId()

public abstract String getMachineId()

Either a single machine, identified by an ID, or a comma-separated list of machine IDs.

string machine_id = 2;

Returns
Type Description
String

The machineId.

getMachineIdBytes()

public abstract ByteString getMachineIdBytes()

Either a single machine, identified by an ID, or a comma-separated list of machine IDs.

string machine_id = 2;

Returns
Type Description
ByteString

The bytes for machineId.

getNetworkId()

public abstract String getNetworkId()

Network to use to publish the export.

string network_id = 1;

Returns
Type Description
String

The networkId.

getNetworkIdBytes()

public abstract ByteString getNetworkIdBytes()

Network to use to publish the export.

string network_id = 1;

Returns
Type Description
ByteString

The bytes for networkId.

getNoRootSquash()

public abstract 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
Type Description
boolean

The noRootSquash.

getPermissions()

public abstract VolumeConfig.NfsExport.Permissions getPermissions()

Export permissions.

.google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport.Permissions permissions = 4;

Returns
Type Description
VolumeConfig.NfsExport.Permissions

The permissions.

getPermissionsValue()

public abstract int getPermissionsValue()

Export permissions.

.google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport.Permissions permissions = 4;

Returns
Type Description
int

The enum numeric value on the wire for permissions.

hasCidr()

public abstract boolean hasCidr()

A CIDR range.

string cidr = 3;

Returns
Type Description
boolean

Whether the cidr field is set.

hasMachineId()

public abstract boolean hasMachineId()

Either a single machine, identified by an ID, or a comma-separated list of machine IDs.

string machine_id = 2;

Returns
Type Description
boolean

Whether the machineId field is set.