- 0.51.0 (latest)
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.8
- 0.2.1
- 0.1.1
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NfsShare.AllowedClient.BuilderImplements
NfsShare.AllowedClientOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NfsShare.AllowedClient.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
NfsShare.AllowedClient.Builder |
build()
public NfsShare.AllowedClient build()
Returns | |
---|---|
Type | Description |
NfsShare.AllowedClient |
buildPartial()
public NfsShare.AllowedClient buildPartial()
Returns | |
---|---|
Type | Description |
NfsShare.AllowedClient |
clear()
public NfsShare.AllowedClient.Builder clear()
Returns | |
---|---|
Type | Description |
NfsShare.AllowedClient.Builder |
clearAllowDev()
public NfsShare.AllowedClient.Builder clearAllowDev()
Allow dev flag. Which controls whether to allow creation of devices.
bool allow_dev = 5;
Returns | |
---|---|
Type | Description |
NfsShare.AllowedClient.Builder | This builder for chaining. |
clearAllowSuid()
public NfsShare.AllowedClient.Builder clearAllowSuid()
Allow the setuid flag.
bool allow_suid = 6;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
NfsShare.AllowedClient.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NfsShare.AllowedClient.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
NfsShare.AllowedClient.Builder |
clearMountPermissions()
public NfsShare.AllowedClient.Builder clearMountPermissions()
Mount permissions.
.google.cloud.baremetalsolution.v2.NfsShare.MountPermissions mount_permissions = 4;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
NfsShare.AllowedClient.Builder | This builder for chaining. |
clearNfsPath()
public NfsShare.AllowedClient.Builder clearNfsPath()
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 |
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 | |
---|---|
Type | Description |
NfsShare.AllowedClient.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NfsShare.AllowedClient.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
NfsShare.AllowedClient.Builder |
clearShareIp()
public NfsShare.AllowedClient.Builder clearShareIp()
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 |
NfsShare.AllowedClient.Builder | This builder for chaining. |
clone()
public NfsShare.AllowedClient.Builder clone()
Returns | |
---|---|
Type | Description |
NfsShare.AllowedClient.Builder |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(NfsShare.AllowedClient other)
public NfsShare.AllowedClient.Builder mergeFrom(NfsShare.AllowedClient other)
Parameter | |
---|---|
Name | Description |
other | NfsShare.AllowedClient |
Returns | |
---|---|
Type | Description |
NfsShare.AllowedClient.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NfsShare.AllowedClient.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
NfsShare.AllowedClient.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public NfsShare.AllowedClient.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
NfsShare.AllowedClient.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NfsShare.AllowedClient.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NfsShare.AllowedClient.Builder |
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 | |
---|---|
Name | Description |
value | boolean The allowDev to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | boolean The allowSuid to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The allowedClientsCidr to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for allowedClientsCidr to set. |
Returns | |
---|---|
Type | Description |
NfsShare.AllowedClient.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NfsShare.AllowedClient.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
NfsShare.AllowedClient.Builder |
setMountPermissions(NfsShare.MountPermissions value)
public NfsShare.AllowedClient.Builder setMountPermissions(NfsShare.MountPermissions value)
Mount permissions.
.google.cloud.baremetalsolution.v2.NfsShare.MountPermissions mount_permissions = 4;
Parameter | |
---|---|
Name | Description |
value | NfsShare.MountPermissions The mountPermissions to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for mountPermissions to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The network to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for network to set. |
Returns | |
---|---|
Type | Description |
NfsShare.AllowedClient.Builder | This builder for chaining. |
setNfsPath(String value)
public NfsShare.AllowedClient.Builder setNfsPath(String value)
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];
Parameter | |
---|---|
Name | Description |
value | String The nfsPath to set. |
Returns | |
---|---|
Type | Description |
NfsShare.AllowedClient.Builder | This builder for chaining. |
setNfsPathBytes(ByteString value)
public NfsShare.AllowedClient.Builder setNfsPathBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for nfsPath to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | boolean The noRootSquash to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
NfsShare.AllowedClient.Builder |
setShareIp(String value)
public NfsShare.AllowedClient.Builder setShareIp(String value)
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];
Parameter | |
---|---|
Name | Description |
value | String The shareIp to set. |
Returns | |
---|---|
Type | Description |
NfsShare.AllowedClient.Builder | This builder for chaining. |
setShareIpBytes(ByteString value)
public NfsShare.AllowedClient.Builder setShareIpBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for shareIp to set. |
Returns | |
---|---|
Type | Description |
NfsShare.AllowedClient.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final NfsShare.AllowedClient.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NfsShare.AllowedClient.Builder |