Class VolumeConfig.NfsExport (0.47.0)

public static final class VolumeConfig.NfsExport extends GeneratedMessageV3 implements VolumeConfig.NfsExportOrBuilder

A NFS export entry.

Protobuf type google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport

Static Fields

ALLOW_DEV_FIELD_NUMBER

public static final int ALLOW_DEV_FIELD_NUMBER
Field Value
Type Description
int

ALLOW_SUID_FIELD_NUMBER

public static final int ALLOW_SUID_FIELD_NUMBER
Field Value
Type Description
int

CIDR_FIELD_NUMBER

public static final int CIDR_FIELD_NUMBER
Field Value
Type Description
int

MACHINE_ID_FIELD_NUMBER

public static final int MACHINE_ID_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_ID_FIELD_NUMBER

public static final int NETWORK_ID_FIELD_NUMBER
Field Value
Type Description
int

NO_ROOT_SQUASH_FIELD_NUMBER

public static final int NO_ROOT_SQUASH_FIELD_NUMBER
Field Value
Type Description
int

PERMISSIONS_FIELD_NUMBER

public static final int PERMISSIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VolumeConfig.NfsExport getDefaultInstance()
Returns
Type Description
VolumeConfig.NfsExport

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static VolumeConfig.NfsExport.Builder newBuilder()
Returns
Type Description
VolumeConfig.NfsExport.Builder

newBuilder(VolumeConfig.NfsExport prototype)

public static VolumeConfig.NfsExport.Builder newBuilder(VolumeConfig.NfsExport prototype)
Parameter
Name Description
prototype VolumeConfig.NfsExport
Returns
Type Description
VolumeConfig.NfsExport.Builder

parseDelimitedFrom(InputStream input)

public static VolumeConfig.NfsExport parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VolumeConfig.NfsExport
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VolumeConfig.NfsExport parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VolumeConfig.NfsExport
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VolumeConfig.NfsExport parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VolumeConfig.NfsExport
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VolumeConfig.NfsExport parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VolumeConfig.NfsExport
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VolumeConfig.NfsExport parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VolumeConfig.NfsExport
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VolumeConfig.NfsExport parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VolumeConfig.NfsExport
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VolumeConfig.NfsExport parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VolumeConfig.NfsExport
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VolumeConfig.NfsExport parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VolumeConfig.NfsExport
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VolumeConfig.NfsExport parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VolumeConfig.NfsExport
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VolumeConfig.NfsExport parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VolumeConfig.NfsExport
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VolumeConfig.NfsExport parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VolumeConfig.NfsExport
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VolumeConfig.NfsExport parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VolumeConfig.NfsExport
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VolumeConfig.NfsExport> parser()
Returns
Type Description
Parser<NfsExport>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAllowDev()

public boolean getAllowDev()

Allow dev flag in NfsShare AllowedClientsRequest.

bool allow_dev = 7;

Returns
Type Description
boolean

The allowDev.

getAllowSuid()

public boolean getAllowSuid()

Allow the setuid flag.

bool allow_suid = 6;

Returns
Type Description
boolean

The allowSuid.

getCidr()

public String getCidr()

A CIDR range.

string cidr = 3;

Returns
Type Description
String

The cidr.

getCidrBytes()

public ByteString getCidrBytes()

A CIDR range.

string cidr = 3;

Returns
Type Description
ByteString

The bytes for cidr.

getClientCase()

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

getDefaultInstanceForType()

public VolumeConfig.NfsExport getDefaultInstanceForType()
Returns
Type Description
VolumeConfig.NfsExport

getMachineId()

public 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 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 String getNetworkId()

Network to use to publish the export.

string network_id = 1;

Returns
Type Description
String

The networkId.

getNetworkIdBytes()

public ByteString getNetworkIdBytes()

Network to use to publish the export.

string network_id = 1;

Returns
Type Description
ByteString

The bytes for networkId.

getNoRootSquash()

public 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.

getParserForType()

public Parser<VolumeConfig.NfsExport> getParserForType()
Returns
Type Description
Parser<NfsExport>
Overrides

getPermissions()

public 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 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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCidr()

public boolean hasCidr()

A CIDR range.

string cidr = 3;

Returns
Type Description
boolean

Whether the cidr field is set.

hasMachineId()

public 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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VolumeConfig.NfsExport.Builder newBuilderForType()
Returns
Type Description
VolumeConfig.NfsExport.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VolumeConfig.NfsExport.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VolumeConfig.NfsExport.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VolumeConfig.NfsExport.Builder toBuilder()
Returns
Type Description
VolumeConfig.NfsExport.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException