public static final class VolumeConfig.NfsExport.Builder extends GeneratedMessage.Builder<VolumeConfig.NfsExport.Builder> implements VolumeConfig.NfsExportOrBuilderA NFS export entry.
Protobuf type google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > VolumeConfig.NfsExport.BuilderImplements
VolumeConfig.NfsExportOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public VolumeConfig.NfsExport build()| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport |
|
buildPartial()
public VolumeConfig.NfsExport buildPartial()| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport |
|
clear()
public VolumeConfig.NfsExport.Builder clear()| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
|
clearAllowDev()
public VolumeConfig.NfsExport.Builder clearAllowDev()Allow dev flag in NfsShare AllowedClientsRequest.
bool allow_dev = 7;
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
This builder for chaining. |
clearAllowSuid()
public VolumeConfig.NfsExport.Builder clearAllowSuid()Allow the setuid flag.
bool allow_suid = 6;
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
This builder for chaining. |
clearCidr()
public VolumeConfig.NfsExport.Builder clearCidr()A CIDR range.
string cidr = 3;
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
This builder for chaining. |
clearClient()
public VolumeConfig.NfsExport.Builder clearClient()| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
|
clearMachineId()
public VolumeConfig.NfsExport.Builder clearMachineId()Either a single machine, identified by an ID, or a comma-separated list of machine IDs.
string machine_id = 2;
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
This builder for chaining. |
clearNetworkId()
public VolumeConfig.NfsExport.Builder clearNetworkId()Network to use to publish the export.
string network_id = 1;
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
This builder for chaining. |
clearNoRootSquash()
public VolumeConfig.NfsExport.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 = 5;
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
This builder for chaining. |
clearPermissions()
public VolumeConfig.NfsExport.Builder clearPermissions()Export permissions.
.google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport.Permissions permissions = 4;
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
This builder for chaining. |
getAllowDev()
public boolean getAllowDev()Allow dev flag in NfsShare AllowedClientsRequest.
bool allow_dev = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
The allowDev. |
getAllowSuid()
public boolean getAllowSuid()Allow the setuid flag.
bool allow_suid = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
The allowSuid. |
getCidr()
public String getCidr()A CIDR range.
string cidr = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The cidr. |
getCidrBytes()
public ByteString getCidrBytes()A CIDR range.
string cidr = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for cidr. |
getClientCase()
public VolumeConfig.NfsExport.ClientCase getClientCase()| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.ClientCase |
|
getDefaultInstanceForType()
public VolumeConfig.NfsExport getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMachineId()
public String getMachineId()Either a single machine, identified by an ID, or a comma-separated list of machine IDs.
string machine_id = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The machineId. |
getMachineIdBytes()
public ByteString getMachineIdBytes()Either a single machine, identified by an ID, or a comma-separated list of machine IDs.
string machine_id = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for machineId. |
getNetworkId()
public String getNetworkId()Network to use to publish the export.
string network_id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The networkId. |
getNetworkIdBytes()
public ByteString getNetworkIdBytes()Network to use to publish the export.
string network_id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for networkId. |
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 = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
The noRootSquash. |
getPermissions()
public VolumeConfig.NfsExport.Permissions getPermissions()Export permissions.
.google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport.Permissions permissions = 4;
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Permissions |
The permissions. |
getPermissionsValue()
public int getPermissionsValue()Export permissions.
.google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport.Permissions permissions = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for permissions. |
hasCidr()
public boolean hasCidr()A CIDR range.
string cidr = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the cidr field is set. |
hasMachineId()
public boolean hasMachineId()Either a single machine, identified by an ID, or a comma-separated list of machine IDs.
string machine_id = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the machineId field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(VolumeConfig.NfsExport other)
public VolumeConfig.NfsExport.Builder mergeFrom(VolumeConfig.NfsExport other)| Parameter | |
|---|---|
| Name | Description |
other |
VolumeConfig.NfsExport |
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VolumeConfig.NfsExport.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VolumeConfig.NfsExport.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
|
setAllowDev(boolean value)
public VolumeConfig.NfsExport.Builder setAllowDev(boolean value)Allow dev flag in NfsShare AllowedClientsRequest.
bool allow_dev = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe allowDev to set. |
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
This builder for chaining. |
setAllowSuid(boolean value)
public VolumeConfig.NfsExport.Builder setAllowSuid(boolean value)Allow the setuid flag.
bool allow_suid = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe allowSuid to set. |
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
This builder for chaining. |
setCidr(String value)
public VolumeConfig.NfsExport.Builder setCidr(String value)A CIDR range.
string cidr = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe cidr to set. |
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
This builder for chaining. |
setCidrBytes(ByteString value)
public VolumeConfig.NfsExport.Builder setCidrBytes(ByteString value)A CIDR range.
string cidr = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for cidr to set. |
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
This builder for chaining. |
setMachineId(String value)
public VolumeConfig.NfsExport.Builder setMachineId(String value)Either a single machine, identified by an ID, or a comma-separated list of machine IDs.
string machine_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe machineId to set. |
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
This builder for chaining. |
setMachineIdBytes(ByteString value)
public VolumeConfig.NfsExport.Builder setMachineIdBytes(ByteString value)Either a single machine, identified by an ID, or a comma-separated list of machine IDs.
string machine_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for machineId to set. |
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
This builder for chaining. |
setNetworkId(String value)
public VolumeConfig.NfsExport.Builder setNetworkId(String value)Network to use to publish the export.
string network_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe networkId to set. |
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
This builder for chaining. |
setNetworkIdBytes(ByteString value)
public VolumeConfig.NfsExport.Builder setNetworkIdBytes(ByteString value)Network to use to publish the export.
string network_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for networkId to set. |
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
This builder for chaining. |
setNoRootSquash(boolean value)
public VolumeConfig.NfsExport.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 = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe noRootSquash to set. |
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
This builder for chaining. |
setPermissions(VolumeConfig.NfsExport.Permissions value)
public VolumeConfig.NfsExport.Builder setPermissions(VolumeConfig.NfsExport.Permissions value)Export permissions.
.google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport.Permissions permissions = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
VolumeConfig.NfsExport.PermissionsThe permissions to set. |
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
This builder for chaining. |
setPermissionsValue(int value)
public VolumeConfig.NfsExport.Builder setPermissionsValue(int value)Export permissions.
.google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport.Permissions permissions = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for permissions to set. |
| Returns | |
|---|---|
| Type | Description |
VolumeConfig.NfsExport.Builder |
This builder for chaining. |