Interface VolumeConfig.NfsExportOrBuilder (0.31.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
TypeDescription
boolean

The allowDev.

getAllowSuid()

public abstract boolean getAllowSuid()

Allow the setuid flag.

bool allow_suid = 6;

Returns
TypeDescription
boolean

The allowSuid.

getCidr()

public abstract String getCidr()

A CIDR range.

string cidr = 3;

Returns
TypeDescription
String

The cidr.

getCidrBytes()

public abstract ByteString getCidrBytes()

A CIDR range.

string cidr = 3;

Returns
TypeDescription
ByteString

The bytes for cidr.

getClientCase()

public abstract VolumeConfig.NfsExport.ClientCase getClientCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for machineId.

getNetworkId()

public abstract String getNetworkId()

Network to use to publish the export.

string network_id = 1;

Returns
TypeDescription
String

The networkId.

getNetworkIdBytes()

public abstract ByteString getNetworkIdBytes()

Network to use to publish the export.

string network_id = 1;

Returns
TypeDescription
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
TypeDescription
boolean

The noRootSquash.

getPermissions()

public abstract VolumeConfig.NfsExport.Permissions getPermissions()

Export permissions.

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

Returns
TypeDescription
VolumeConfig.NfsExport.Permissions

The permissions.

getPermissionsValue()

public abstract int getPermissionsValue()

Export permissions.

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

Returns
TypeDescription
int

The enum numeric value on the wire for permissions.

hasCidr()

public abstract boolean hasCidr()

A CIDR range.

string cidr = 3;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the machineId field is set.