- 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 VolumeConfig.NfsExport.Builder extends GeneratedMessageV3.Builder<VolumeConfig.NfsExport.Builder> implements VolumeConfig.NfsExportOrBuilder
A NFS export entry.
Protobuf type google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VolumeConfig.NfsExport.BuilderImplements
VolumeConfig.NfsExportOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VolumeConfig.NfsExport.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
VolumeConfig.NfsExport.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public VolumeConfig.NfsExport.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VolumeConfig.NfsExport.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
VolumeConfig.NfsExport.Builder |
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. |
clone()
public VolumeConfig.NfsExport.Builder clone()
Returns | |
---|---|
Type | Description |
VolumeConfig.NfsExport.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VolumeConfig.NfsExport.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
boolean The 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 |
boolean The 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 |
String The 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 |
ByteString The bytes for cidr to set. |
Returns | |
---|---|
Type | Description |
VolumeConfig.NfsExport.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VolumeConfig.NfsExport.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
VolumeConfig.NfsExport.Builder |
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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The 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 |
boolean The 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.Permissions The 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 |
int The enum numeric value on the wire for permissions to set. |
Returns | |
---|---|
Type | Description |
VolumeConfig.NfsExport.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VolumeConfig.NfsExport.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
VolumeConfig.NfsExport.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VolumeConfig.NfsExport.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VolumeConfig.NfsExport.Builder |