Class NfsShare.AllowedClient (0.15.0)

public static final class NfsShare.AllowedClient extends GeneratedMessageV3 implements NfsShare.AllowedClientOrBuilder

Represents an 'access point' for the share.

Protobuf type google.cloud.baremetalsolution.v2.NfsShare.AllowedClient

Static Fields

ALLOWED_CLIENTS_CIDR_FIELD_NUMBER

public static final int ALLOWED_CLIENTS_CIDR_FIELD_NUMBER
Field Value
TypeDescription
int

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

MOUNT_PERMISSIONS_FIELD_NUMBER

public static final int MOUNT_PERMISSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

NETWORK_FIELD_NUMBER

public static final int NETWORK_FIELD_NUMBER
Field Value
TypeDescription
int

NO_ROOT_SQUASH_FIELD_NUMBER

public static final int NO_ROOT_SQUASH_FIELD_NUMBER
Field Value
TypeDescription
int

SHARE_IP_FIELD_NUMBER

public static final int SHARE_IP_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NfsShare.AllowedClient getDefaultInstance()
Returns
TypeDescription
NfsShare.AllowedClient

getDescriptor()

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

newBuilder()

public static NfsShare.AllowedClient.Builder newBuilder()
Returns
TypeDescription
NfsShare.AllowedClient.Builder

newBuilder(NfsShare.AllowedClient prototype)

public static NfsShare.AllowedClient.Builder newBuilder(NfsShare.AllowedClient prototype)
Parameter
NameDescription
prototypeNfsShare.AllowedClient
Returns
TypeDescription
NfsShare.AllowedClient.Builder

parseDelimitedFrom(InputStream input)

public static NfsShare.AllowedClient parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NfsShare.AllowedClient
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static NfsShare.AllowedClient parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NfsShare.AllowedClient
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static NfsShare.AllowedClient parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NfsShare.AllowedClient
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static NfsShare.AllowedClient parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NfsShare.AllowedClient
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static NfsShare.AllowedClient parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NfsShare.AllowedClient
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<NfsShare.AllowedClient> parser()
Returns
TypeDescription
Parser<AllowedClient>

Methods

equals(Object obj)

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

getAllowDev()

public boolean getAllowDev()

Allow dev flag. Which controls whether to allow creation of devices.

bool allow_dev = 5;

Returns
TypeDescription
boolean

The allowDev.

getAllowSuid()

public boolean getAllowSuid()

Allow the setuid flag.

bool allow_suid = 6;

Returns
TypeDescription
boolean

The allowSuid.

getAllowedClientsCidr()

public String getAllowedClientsCidr()

The subnet of IP addresses permitted to access the share.

string allowed_clients_cidr = 3;

Returns
TypeDescription
String

The allowedClientsCidr.

getAllowedClientsCidrBytes()

public ByteString getAllowedClientsCidrBytes()

The subnet of IP addresses permitted to access the share.

string allowed_clients_cidr = 3;

Returns
TypeDescription
ByteString

The bytes for allowedClientsCidr.

getDefaultInstanceForType()

public NfsShare.AllowedClient getDefaultInstanceForType()
Returns
TypeDescription
NfsShare.AllowedClient

getMountPermissions()

public NfsShare.MountPermissions getMountPermissions()

Mount permissions.

.google.cloud.baremetalsolution.v2.NfsShare.MountPermissions mount_permissions = 4;

Returns
TypeDescription
NfsShare.MountPermissions

The mountPermissions.

getMountPermissionsValue()

public int getMountPermissionsValue()

Mount permissions.

.google.cloud.baremetalsolution.v2.NfsShare.MountPermissions mount_permissions = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for mountPermissions.

getNetwork()

public String getNetwork()

The network the access point sits on.

string network = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

The network the access point sits on.

string network = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for network.

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 = 7;

Returns
TypeDescription
boolean

The noRootSquash.

getParserForType()

public Parser<NfsShare.AllowedClient> getParserForType()
Returns
TypeDescription
Parser<AllowedClient>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getShareIp()

public String getShareIp()

The IP address of the share on this network.

string share_ip = 2;

Returns
TypeDescription
String

The shareIp.

getShareIpBytes()

public ByteString getShareIpBytes()

The IP address of the share on this network.

string share_ip = 2;

Returns
TypeDescription
ByteString

The bytes for shareIp.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 NfsShare.AllowedClient.Builder newBuilderForType()
Returns
TypeDescription
NfsShare.AllowedClient.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NfsShare.AllowedClient.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NfsShare.AllowedClient.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public NfsShare.AllowedClient.Builder toBuilder()
Returns
TypeDescription
NfsShare.AllowedClient.Builder

writeTo(CodedOutputStream output)

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