Class VolumeConfig.NfsExport (0.33.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
TypeDescription
int

ALLOW_SUID_FIELD_NUMBER

public static final int ALLOW_SUID_FIELD_NUMBER
Field Value
TypeDescription
int

CIDR_FIELD_NUMBER

public static final int CIDR_FIELD_NUMBER
Field Value
TypeDescription
int

MACHINE_ID_FIELD_NUMBER

public static final int MACHINE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

NETWORK_ID_FIELD_NUMBER

public static final int NETWORK_ID_FIELD_NUMBER
Field Value
TypeDescription
int

NO_ROOT_SQUASH_FIELD_NUMBER

public static final int NO_ROOT_SQUASH_FIELD_NUMBER
Field Value
TypeDescription
int

PERMISSIONS_FIELD_NUMBER

public static final int PERMISSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VolumeConfig.NfsExport getDefaultInstance()
Returns
TypeDescription
VolumeConfig.NfsExport

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VolumeConfig.NfsExport.Builder newBuilder()
Returns
TypeDescription
VolumeConfig.NfsExport.Builder

newBuilder(VolumeConfig.NfsExport prototype)

public static VolumeConfig.NfsExport.Builder newBuilder(VolumeConfig.NfsExport prototype)
Parameter
NameDescription
prototypeVolumeConfig.NfsExport
Returns
TypeDescription
VolumeConfig.NfsExport.Builder

parseDelimitedFrom(InputStream input)

public static VolumeConfig.NfsExport parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VolumeConfig.NfsExport
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VolumeConfig.NfsExport parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VolumeConfig.NfsExport
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VolumeConfig.NfsExport parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VolumeConfig.NfsExport
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VolumeConfig.NfsExport parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VolumeConfig.NfsExport
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VolumeConfig.NfsExport parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VolumeConfig.NfsExport
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VolumeConfig.NfsExport parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VolumeConfig.NfsExport
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VolumeConfig.NfsExport parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VolumeConfig.NfsExport
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VolumeConfig.NfsExport parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VolumeConfig.NfsExport
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VolumeConfig.NfsExport parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VolumeConfig.NfsExport
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VolumeConfig.NfsExport parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VolumeConfig.NfsExport
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VolumeConfig.NfsExport parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VolumeConfig.NfsExport
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VolumeConfig.NfsExport parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VolumeConfig.NfsExport
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAllowDev()

public boolean getAllowDev()

Allow dev flag in NfsShare AllowedClientsRequest.

bool allow_dev = 7;

Returns
TypeDescription
boolean

The allowDev.

getAllowSuid()

public boolean getAllowSuid()

Allow the setuid flag.

bool allow_suid = 6;

Returns
TypeDescription
boolean

The allowSuid.

getCidr()

public String getCidr()

A CIDR range.

string cidr = 3;

Returns
TypeDescription
String

The cidr.

getCidrBytes()

public ByteString getCidrBytes()

A CIDR range.

string cidr = 3;

Returns
TypeDescription
ByteString

The bytes for cidr.

getClientCase()

public VolumeConfig.NfsExport.ClientCase getClientCase()
Returns
TypeDescription
VolumeConfig.NfsExport.ClientCase

getDefaultInstanceForType()

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

The bytes for machineId.

getNetworkId()

public String getNetworkId()

Network to use to publish the export.

string network_id = 1;

Returns
TypeDescription
String

The networkId.

getNetworkIdBytes()

public ByteString getNetworkIdBytes()

Network to use to publish the export.

string network_id = 1;

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

The noRootSquash.

getParserForType()

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

getPermissions()

public VolumeConfig.NfsExport.Permissions getPermissions()

Export permissions.

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

Returns
TypeDescription
VolumeConfig.NfsExport.Permissions

The permissions.

getPermissionsValue()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCidr()

public boolean hasCidr()

A CIDR range.

string cidr = 3;

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

Whether the machineId field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VolumeConfig.NfsExport.Builder newBuilderForType()
Returns
TypeDescription
VolumeConfig.NfsExport.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VolumeConfig.NfsExport.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VolumeConfig.NfsExport.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VolumeConfig.NfsExport.Builder toBuilder()
Returns
TypeDescription
VolumeConfig.NfsExport.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException