Class NfsShare.AllowedClient.Builder (0.3.6)

Stay organized with collections Save and categorize content based on your preferences.
public static final class NfsShare.AllowedClient.Builder extends GeneratedMessageV3.Builder<NfsShare.AllowedClient.Builder> implements NfsShare.AllowedClientOrBuilder

Represents an 'access point' for the share.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NfsShare.AllowedClient.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NfsShare.AllowedClient.Builder
Overrides

build()

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

buildPartial()

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

clear()

public NfsShare.AllowedClient.Builder clear()
Returns
TypeDescription
NfsShare.AllowedClient.Builder
Overrides

clearAllowDev()

public NfsShare.AllowedClient.Builder clearAllowDev()

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

bool allow_dev = 5;

Returns
TypeDescription
NfsShare.AllowedClient.Builder

This builder for chaining.

clearAllowSuid()

public NfsShare.AllowedClient.Builder clearAllowSuid()

Allow the setuid flag.

bool allow_suid = 6;

Returns
TypeDescription
NfsShare.AllowedClient.Builder

This builder for chaining.

clearAllowedClientsCidr()

public NfsShare.AllowedClient.Builder clearAllowedClientsCidr()

The subnet of IP addresses permitted to access the share.

string allowed_clients_cidr = 3;

Returns
TypeDescription
NfsShare.AllowedClient.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public NfsShare.AllowedClient.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NfsShare.AllowedClient.Builder
Overrides

clearMountPermissions()

public NfsShare.AllowedClient.Builder clearMountPermissions()

Mount permissions.

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

Returns
TypeDescription
NfsShare.AllowedClient.Builder

This builder for chaining.

clearNetwork()

public NfsShare.AllowedClient.Builder clearNetwork()

The network the access point sits on.

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

Returns
TypeDescription
NfsShare.AllowedClient.Builder

This builder for chaining.

clearNoRootSquash()

public NfsShare.AllowedClient.Builder clearNoRootSquash()

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
NfsShare.AllowedClient.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NfsShare.AllowedClient.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NfsShare.AllowedClient.Builder
Overrides

clearShareIp()

public NfsShare.AllowedClient.Builder clearShareIp()

The IP address of the share on this network.

string share_ip = 2;

Returns
TypeDescription
NfsShare.AllowedClient.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NfsShare.AllowedClient other)

public NfsShare.AllowedClient.Builder mergeFrom(NfsShare.AllowedClient other)
Parameter
NameDescription
otherNfsShare.AllowedClient
Returns
TypeDescription
NfsShare.AllowedClient.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NfsShare.AllowedClient.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NfsShare.AllowedClient.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NfsShare.AllowedClient.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NfsShare.AllowedClient.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NfsShare.AllowedClient.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NfsShare.AllowedClient.Builder
Overrides

setAllowDev(boolean value)

public NfsShare.AllowedClient.Builder setAllowDev(boolean value)

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

bool allow_dev = 5;

Parameter
NameDescription
valueboolean

The allowDev to set.

Returns
TypeDescription
NfsShare.AllowedClient.Builder

This builder for chaining.

setAllowSuid(boolean value)

public NfsShare.AllowedClient.Builder setAllowSuid(boolean value)

Allow the setuid flag.

bool allow_suid = 6;

Parameter
NameDescription
valueboolean

The allowSuid to set.

Returns
TypeDescription
NfsShare.AllowedClient.Builder

This builder for chaining.

setAllowedClientsCidr(String value)

public NfsShare.AllowedClient.Builder setAllowedClientsCidr(String value)

The subnet of IP addresses permitted to access the share.

string allowed_clients_cidr = 3;

Parameter
NameDescription
valueString

The allowedClientsCidr to set.

Returns
TypeDescription
NfsShare.AllowedClient.Builder

This builder for chaining.

setAllowedClientsCidrBytes(ByteString value)

public NfsShare.AllowedClient.Builder setAllowedClientsCidrBytes(ByteString value)

The subnet of IP addresses permitted to access the share.

string allowed_clients_cidr = 3;

Parameter
NameDescription
valueByteString

The bytes for allowedClientsCidr to set.

Returns
TypeDescription
NfsShare.AllowedClient.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public NfsShare.AllowedClient.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NfsShare.AllowedClient.Builder
Overrides

setMountPermissions(NfsShare.MountPermissions value)

public NfsShare.AllowedClient.Builder setMountPermissions(NfsShare.MountPermissions value)

Mount permissions.

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

Parameter
NameDescription
valueNfsShare.MountPermissions

The mountPermissions to set.

Returns
TypeDescription
NfsShare.AllowedClient.Builder

This builder for chaining.

setMountPermissionsValue(int value)

public NfsShare.AllowedClient.Builder setMountPermissionsValue(int value)

Mount permissions.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for mountPermissions to set.

Returns
TypeDescription
NfsShare.AllowedClient.Builder

This builder for chaining.

setNetwork(String value)

public NfsShare.AllowedClient.Builder setNetwork(String value)

The network the access point sits on.

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

Parameter
NameDescription
valueString

The network to set.

Returns
TypeDescription
NfsShare.AllowedClient.Builder

This builder for chaining.

setNetworkBytes(ByteString value)

public NfsShare.AllowedClient.Builder setNetworkBytes(ByteString value)

The network the access point sits on.

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

Parameter
NameDescription
valueByteString

The bytes for network to set.

Returns
TypeDescription
NfsShare.AllowedClient.Builder

This builder for chaining.

setNoRootSquash(boolean value)

public NfsShare.AllowedClient.Builder setNoRootSquash(boolean value)

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;

Parameter
NameDescription
valueboolean

The noRootSquash to set.

Returns
TypeDescription
NfsShare.AllowedClient.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NfsShare.AllowedClient.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NfsShare.AllowedClient.Builder
Overrides

setShareIp(String value)

public NfsShare.AllowedClient.Builder setShareIp(String value)

The IP address of the share on this network.

string share_ip = 2;

Parameter
NameDescription
valueString

The shareIp to set.

Returns
TypeDescription
NfsShare.AllowedClient.Builder

This builder for chaining.

setShareIpBytes(ByteString value)

public NfsShare.AllowedClient.Builder setShareIpBytes(ByteString value)

The IP address of the share on this network.

string share_ip = 2;

Parameter
NameDescription
valueByteString

The bytes for shareIp to set.

Returns
TypeDescription
NfsShare.AllowedClient.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final NfsShare.AllowedClient.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NfsShare.AllowedClient.Builder
Overrides