public static final class VolumeConfig.NfsExport extends GeneratedMessageV3 implements VolumeConfig.NfsExportOrBuilder
A NFS export entry.
Protobuf type google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
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 CIDR_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int MACHINE_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int NETWORK_ID_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 PERMISSIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static VolumeConfig.NfsExport getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static VolumeConfig.NfsExport.Builder newBuilder()
public static VolumeConfig.NfsExport.Builder newBuilder(VolumeConfig.NfsExport prototype)
public static VolumeConfig.NfsExport parseDelimitedFrom(InputStream input)
public static VolumeConfig.NfsExport parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static VolumeConfig.NfsExport parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static VolumeConfig.NfsExport parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VolumeConfig.NfsExport parseFrom(ByteString data)
public static VolumeConfig.NfsExport parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VolumeConfig.NfsExport parseFrom(CodedInputStream input)
public static VolumeConfig.NfsExport parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VolumeConfig.NfsExport parseFrom(InputStream input)
public static VolumeConfig.NfsExport parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static VolumeConfig.NfsExport parseFrom(ByteBuffer data)
public static VolumeConfig.NfsExport parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<VolumeConfig.NfsExport> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public boolean getAllowDev()
Allow dev flag in NfsShare AllowedClientsRequest.
bool allow_dev = 7;
Returns |
---|
Type | Description |
boolean | The allowDev.
|
public boolean getAllowSuid()
Allow the setuid flag.
bool allow_suid = 6;
Returns |
---|
Type | Description |
boolean | The allowSuid.
|
A CIDR range.
string cidr = 3;
Returns |
---|
Type | Description |
String | The cidr.
|
public ByteString getCidrBytes()
A CIDR range.
string cidr = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for cidr.
|
public VolumeConfig.NfsExport.ClientCase getClientCase()
public VolumeConfig.NfsExport getDefaultInstanceForType()
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.
|
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.
|
public String getNetworkId()
Network to use to publish the export.
string network_id = 1;
Returns |
---|
Type | Description |
String | The networkId.
|
public ByteString getNetworkIdBytes()
Network to use to publish the export.
string network_id = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for networkId.
|
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.
|
public Parser<VolumeConfig.NfsExport> getParserForType()
Overrides
public VolumeConfig.NfsExport.Permissions getPermissions()
Export permissions.
.google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport.Permissions permissions = 4;
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.
|
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
A CIDR range.
string cidr = 3;
Returns |
---|
Type | Description |
boolean | Whether the cidr field is set.
|
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.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public VolumeConfig.NfsExport.Builder newBuilderForType()
protected VolumeConfig.NfsExport.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public VolumeConfig.NfsExport.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides