Send feedback
Class NfsShare.AllowedClient (0.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.4.0 keyboard_arrow_down
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
public static final int ALLOWED_CLIENTS_CIDR_FIELD_NUMBER
Field Value
public static final int ALLOW_DEV_FIELD_NUMBER
Field Value
public static final int ALLOW_SUID_FIELD_NUMBER
Field Value
public static final int MOUNT_PERMISSIONS_FIELD_NUMBER
Field Value
public static final int NETWORK_FIELD_NUMBER
Field Value
public static final int NO_ROOT_SQUASH_FIELD_NUMBER
Field Value
public static final int SHARE_IP_FIELD_NUMBER
Field Value
Static Methods
public static NfsShare . AllowedClient getDefaultInstance ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns
public static NfsShare . AllowedClient . Builder newBuilder ()
Returns
public static NfsShare . AllowedClient . Builder newBuilder ( NfsShare . AllowedClient prototype )
Parameter
Returns
public static NfsShare . AllowedClient parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static NfsShare . AllowedClient parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static NfsShare . AllowedClient parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
public static NfsShare . AllowedClient parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static NfsShare . AllowedClient parseFrom ( ByteString data )
Parameter
Returns
Exceptions
public static NfsShare . AllowedClient parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static NfsShare . AllowedClient parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static NfsShare . AllowedClient parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static NfsShare . AllowedClient parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static NfsShare . AllowedClient parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static NfsShare . AllowedClient parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
public static NfsShare . AllowedClient parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Parser<NfsShare . AllowedClient > parser ()
Returns
Methods
public boolean equals ( Object obj )
Parameter
Returns
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 ()
Returns
public NfsShare . MountPermissions getMountPermissions ()
Mount permissions.
.google.cloud.baremetalsolution.v2.NfsShare.MountPermissions mount_permissions = 4;
Returns
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
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 ()
Returns
Overrides
public int getSerializedSize ()
Returns
Overrides
public String getShareIp ()
The IP address of the share on this network.
string share_ip = 2;
Returns
Type Description String The shareIp.
public ByteString getShareIpBytes ()
The IP address of the share on this network.
string share_ip = 2;
Returns
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public NfsShare . AllowedClient . Builder newBuilderForType ()
Returns
protected NfsShare . AllowedClient . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public NfsShare . AllowedClient . Builder toBuilder ()
Returns
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
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 2025-01-28 UTC.
Need to tell us more?
[[["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 2025-01-28 UTC."],[],[]]