Class NfsShare.AllowedClient (0.46.0)

GitHub RepositoryProduct ReferenceREST DocumentationRPC Documentation

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
Type Description
int

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

MOUNT_PERMISSIONS_FIELD_NUMBER

public static final int MOUNT_PERMISSIONS_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_FIELD_NUMBER

public static final int NETWORK_FIELD_NUMBER
Field Value
Type Description
int

NFS_PATH_FIELD_NUMBER

public static final int NFS_PATH_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

SHARE_IP_FIELD_NUMBER

public static final int SHARE_IP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NfsShare.AllowedClient getDefaultInstance()
Returns
Type Description
NfsShare.AllowedClient

getDescriptor()

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

newBuilder()

public static NfsShare.AllowedClient.Builder newBuilder()
Returns
Type Description
NfsShare.AllowedClient.Builder

newBuilder(NfsShare.AllowedClient prototype)

public static NfsShare.AllowedClient.Builder newBuilder(NfsShare.AllowedClient prototype)
Parameter
Name Description
prototype NfsShare.AllowedClient
Returns
Type Description
NfsShare.AllowedClient.Builder

parseDelimitedFrom(InputStream input)

public static NfsShare.AllowedClient parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NfsShare.AllowedClient
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static NfsShare.AllowedClient parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NfsShare.AllowedClient
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static NfsShare.AllowedClient parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NfsShare.AllowedClient
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static NfsShare.AllowedClient parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NfsShare.AllowedClient
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static NfsShare.AllowedClient parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NfsShare.AllowedClient
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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. Which controls whether to allow creation of devices.

bool allow_dev = 5;

Returns
Type Description
boolean

The allowDev.

getAllowSuid()

public boolean getAllowSuid()

Allow the setuid flag.

bool allow_suid = 6;

Returns
Type Description
boolean

The allowSuid.

getAllowedClientsCidr()

public String getAllowedClientsCidr()

The subnet of IP addresses permitted to access the share.

string allowed_clients_cidr = 3;

Returns
Type Description
String

The allowedClientsCidr.

getAllowedClientsCidrBytes()

public ByteString getAllowedClientsCidrBytes()

The subnet of IP addresses permitted to access the share.

string allowed_clients_cidr = 3;

Returns
Type Description
ByteString

The bytes for allowedClientsCidr.

getDefaultInstanceForType()

public NfsShare.AllowedClient getDefaultInstanceForType()
Returns
Type Description
NfsShare.AllowedClient

getMountPermissions()

public NfsShare.MountPermissions getMountPermissions()

Mount permissions.

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

Returns
Type Description
NfsShare.MountPermissions

The mountPermissions.

getMountPermissionsValue()

public int getMountPermissionsValue()

Mount permissions.

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

Returns
Type Description
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
Type Description
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

The network the access point sits on.

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

Returns
Type Description
ByteString

The bytes for network.

getNfsPath()

public String getNfsPath()

Output only. The path to access NFS, in format shareIP:/InstanceID InstanceID is the generated ID instead of customer provided name. example like "10.0.0.0:/g123456789-nfs001"

string nfs_path = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The nfsPath.

getNfsPathBytes()

public ByteString getNfsPathBytes()

Output only. The path to access NFS, in format shareIP:/InstanceID InstanceID is the generated ID instead of customer provided name. example like "10.0.0.0:/g123456789-nfs001"

string nfs_path = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for nfsPath.

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

The noRootSquash.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getShareIp()

public String getShareIp()

Output only. The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.

string share_ip = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The shareIp.

getShareIpBytes()

public ByteString getShareIpBytes()

Output only. The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.

string share_ip = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for shareIp.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NfsShare.AllowedClient.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NfsShare.AllowedClient.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public NfsShare.AllowedClient.Builder toBuilder()
Returns
Type Description
NfsShare.AllowedClient.Builder

writeTo(CodedOutputStream output)

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