Send feedback
Class NfsShare.AllowedClient (0.49.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
Represents an 'access point' for the share.
Protobuf type google.cloud.baremetalsolution.v2.NfsShare.AllowedClient
Static Fields
public static final int ALLOWED_CLIENTS_CIDR_FIELD_NUMBER
Field Value
Type
Description
int
public static final int ALLOW_DEV_FIELD_NUMBER
Field Value
Type
Description
int
public static final int ALLOW_SUID_FIELD_NUMBER
Field Value
Type
Description
int
public static final int MOUNT_PERMISSIONS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int NETWORK_FIELD_NUMBER
Field Value
Type
Description
int
public static final int NFS_PATH_FIELD_NUMBER
Field Value
Type
Description
int
public static final int NO_ROOT_SQUASH_FIELD_NUMBER
Field Value
Type
Description
int
public static final int SHARE_IP_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static NfsShare . AllowedClient getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static NfsShare . AllowedClient . Builder newBuilder ()
public static NfsShare . AllowedClient . Builder newBuilder ( NfsShare . AllowedClient prototype )
public static NfsShare . AllowedClient parseDelimitedFrom ( InputStream input )
public static NfsShare . AllowedClient parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static NfsShare . AllowedClient parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static NfsShare . AllowedClient parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static NfsShare . AllowedClient parseFrom ( ByteString data )
public static NfsShare . AllowedClient parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static NfsShare . AllowedClient parseFrom ( CodedInputStream input )
public static NfsShare . AllowedClient parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static NfsShare . AllowedClient parseFrom ( InputStream input )
public static NfsShare . AllowedClient parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static NfsShare . AllowedClient parseFrom ( ByteBuffer data )
public static NfsShare . AllowedClient parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<NfsShare . AllowedClient> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public boolean getAllowDev ()
Allow dev flag. Which controls whether to allow creation of devices.
bool allow_dev = 5;
Returns
Type
Description
boolean
The allowDev.
public boolean getAllowSuid ()
Allow the setuid flag.
bool allow_suid = 6;
Returns
Type
Description
boolean
The allowSuid.
public String getAllowedClientsCidr ()
The subnet of IP addresses permitted to access the share.
string allowed_clients_cidr = 3;
Returns
Type
Description
String
The allowedClientsCidr.
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.
public NfsShare . AllowedClient getDefaultInstanceForType ()
public NfsShare . MountPermissions getMountPermissions ()
Mount permissions.
.google.cloud.baremetalsolution.v2.NfsShare.MountPermissions mount_permissions = 4;
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.
public String getNetwork ()
The network the access point sits on.
string network = 1 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The network.
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.
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.
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.
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.
public Parser<NfsShare . AllowedClient> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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.
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.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public NfsShare . AllowedClient . Builder newBuilderForType ()
protected NfsShare . AllowedClient . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public NfsShare . AllowedClient . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-01 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-10-01 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-01 UTC."]]