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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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 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 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()
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 |
---|
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)
Overrides
public NfsShare.AllowedClient.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides