public static final class NfsShare.AllowedClient.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NfsShare.AllowedClient.Builder> implements NfsShare.AllowedClientOrBuilder
Represents an 'access point' for the share.Protobuf type
google.cloud.baremetalsolution.v2.NfsShare.AllowedClient| Modifier and Type | Method and Description |
|---|---|
NfsShare.AllowedClient.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NfsShare.AllowedClient |
build() |
NfsShare.AllowedClient |
buildPartial() |
NfsShare.AllowedClient.Builder |
clear() |
NfsShare.AllowedClient.Builder |
clearAllowDev()
Allow dev flag.
|
NfsShare.AllowedClient.Builder |
clearAllowedClientsCidr()
The subnet of IP addresses permitted to access the share.
|
NfsShare.AllowedClient.Builder |
clearAllowSuid()
Allow the setuid flag.
|
NfsShare.AllowedClient.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
NfsShare.AllowedClient.Builder |
clearMountPermissions()
Mount permissions.
|
NfsShare.AllowedClient.Builder |
clearNetwork()
The network the access point sits on.
|
NfsShare.AllowedClient.Builder |
clearNoRootSquash()
Disable root squashing, which is a feature of NFS.
|
NfsShare.AllowedClient.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
NfsShare.AllowedClient.Builder |
clearShareIp()
The IP address of the share on this network.
|
NfsShare.AllowedClient.Builder |
clone() |
boolean |
getAllowDev()
Allow dev flag.
|
String |
getAllowedClientsCidr()
The subnet of IP addresses permitted to access the share.
|
com.google.protobuf.ByteString |
getAllowedClientsCidrBytes()
The subnet of IP addresses permitted to access the share.
|
boolean |
getAllowSuid()
Allow the setuid flag.
|
NfsShare.AllowedClient |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
NfsShare.MountPermissions |
getMountPermissions()
Mount permissions.
|
int |
getMountPermissionsValue()
Mount permissions.
|
String |
getNetwork()
The network the access point sits on.
|
com.google.protobuf.ByteString |
getNetworkBytes()
The network the access point sits on.
|
boolean |
getNoRootSquash()
Disable root squashing, which is a feature of NFS.
|
String |
getShareIp()
The IP address of the share on this network.
|
com.google.protobuf.ByteString |
getShareIpBytes()
The IP address of the share on this network.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
NfsShare.AllowedClient.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NfsShare.AllowedClient.Builder |
mergeFrom(com.google.protobuf.Message other) |
NfsShare.AllowedClient.Builder |
mergeFrom(NfsShare.AllowedClient other) |
NfsShare.AllowedClient.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
NfsShare.AllowedClient.Builder |
setAllowDev(boolean value)
Allow dev flag.
|
NfsShare.AllowedClient.Builder |
setAllowedClientsCidr(String value)
The subnet of IP addresses permitted to access the share.
|
NfsShare.AllowedClient.Builder |
setAllowedClientsCidrBytes(com.google.protobuf.ByteString value)
The subnet of IP addresses permitted to access the share.
|
NfsShare.AllowedClient.Builder |
setAllowSuid(boolean value)
Allow the setuid flag.
|
NfsShare.AllowedClient.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NfsShare.AllowedClient.Builder |
setMountPermissions(NfsShare.MountPermissions value)
Mount permissions.
|
NfsShare.AllowedClient.Builder |
setMountPermissionsValue(int value)
Mount permissions.
|
NfsShare.AllowedClient.Builder |
setNetwork(String value)
The network the access point sits on.
|
NfsShare.AllowedClient.Builder |
setNetworkBytes(com.google.protobuf.ByteString value)
The network the access point sits on.
|
NfsShare.AllowedClient.Builder |
setNoRootSquash(boolean value)
Disable root squashing, which is a feature of NFS.
|
NfsShare.AllowedClient.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
NfsShare.AllowedClient.Builder |
setShareIp(String value)
The IP address of the share on this network.
|
NfsShare.AllowedClient.Builder |
setShareIpBytes(com.google.protobuf.ByteString value)
The IP address of the share on this network.
|
NfsShare.AllowedClient.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<NfsShare.AllowedClient.Builder>public NfsShare.AllowedClient.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<NfsShare.AllowedClient.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<NfsShare.AllowedClient.Builder>public NfsShare.AllowedClient getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic NfsShare.AllowedClient build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic NfsShare.AllowedClient buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic NfsShare.AllowedClient.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<NfsShare.AllowedClient.Builder>public NfsShare.AllowedClient.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<NfsShare.AllowedClient.Builder>public NfsShare.AllowedClient.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<NfsShare.AllowedClient.Builder>public NfsShare.AllowedClient.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<NfsShare.AllowedClient.Builder>public NfsShare.AllowedClient.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NfsShare.AllowedClient.Builder>public NfsShare.AllowedClient.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NfsShare.AllowedClient.Builder>public NfsShare.AllowedClient.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NfsShare.AllowedClient.Builder>public NfsShare.AllowedClient.Builder mergeFrom(NfsShare.AllowedClient other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<NfsShare.AllowedClient.Builder>public NfsShare.AllowedClient.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NfsShare.AllowedClient.Builder>IOExceptionpublic String getNetwork()
The network the access point sits on.
string network = 1 [(.google.api.resource_reference) = { ... }getNetwork in interface NfsShare.AllowedClientOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
The network the access point sits on.
string network = 1 [(.google.api.resource_reference) = { ... }getNetworkBytes in interface NfsShare.AllowedClientOrBuilderpublic NfsShare.AllowedClient.Builder setNetwork(String value)
The network the access point sits on.
string network = 1 [(.google.api.resource_reference) = { ... }value - The network to set.public NfsShare.AllowedClient.Builder clearNetwork()
The network the access point sits on.
string network = 1 [(.google.api.resource_reference) = { ... }public NfsShare.AllowedClient.Builder setNetworkBytes(com.google.protobuf.ByteString value)
The network the access point sits on.
string network = 1 [(.google.api.resource_reference) = { ... }value - The bytes for network to set.public String getShareIp()
The IP address of the share on this network.
string share_ip = 2;getShareIp in interface NfsShare.AllowedClientOrBuilderpublic com.google.protobuf.ByteString getShareIpBytes()
The IP address of the share on this network.
string share_ip = 2;getShareIpBytes in interface NfsShare.AllowedClientOrBuilderpublic NfsShare.AllowedClient.Builder setShareIp(String value)
The IP address of the share on this network.
string share_ip = 2;value - The shareIp to set.public NfsShare.AllowedClient.Builder clearShareIp()
The IP address of the share on this network.
string share_ip = 2;public NfsShare.AllowedClient.Builder setShareIpBytes(com.google.protobuf.ByteString value)
The IP address of the share on this network.
string share_ip = 2;value - The bytes for shareIp to set.public String getAllowedClientsCidr()
The subnet of IP addresses permitted to access the share.
string allowed_clients_cidr = 3;getAllowedClientsCidr in interface NfsShare.AllowedClientOrBuilderpublic com.google.protobuf.ByteString getAllowedClientsCidrBytes()
The subnet of IP addresses permitted to access the share.
string allowed_clients_cidr = 3;getAllowedClientsCidrBytes in interface NfsShare.AllowedClientOrBuilderpublic NfsShare.AllowedClient.Builder setAllowedClientsCidr(String value)
The subnet of IP addresses permitted to access the share.
string allowed_clients_cidr = 3;value - The allowedClientsCidr to set.public NfsShare.AllowedClient.Builder clearAllowedClientsCidr()
The subnet of IP addresses permitted to access the share.
string allowed_clients_cidr = 3;public NfsShare.AllowedClient.Builder setAllowedClientsCidrBytes(com.google.protobuf.ByteString value)
The subnet of IP addresses permitted to access the share.
string allowed_clients_cidr = 3;value - The bytes for allowedClientsCidr to set.public int getMountPermissionsValue()
Mount permissions.
.google.cloud.baremetalsolution.v2.NfsShare.MountPermissions mount_permissions = 4;
getMountPermissionsValue in interface NfsShare.AllowedClientOrBuilderpublic NfsShare.AllowedClient.Builder setMountPermissionsValue(int value)
Mount permissions.
.google.cloud.baremetalsolution.v2.NfsShare.MountPermissions mount_permissions = 4;
value - The enum numeric value on the wire for mountPermissions to set.public NfsShare.MountPermissions getMountPermissions()
Mount permissions.
.google.cloud.baremetalsolution.v2.NfsShare.MountPermissions mount_permissions = 4;
getMountPermissions in interface NfsShare.AllowedClientOrBuilderpublic NfsShare.AllowedClient.Builder setMountPermissions(NfsShare.MountPermissions value)
Mount permissions.
.google.cloud.baremetalsolution.v2.NfsShare.MountPermissions mount_permissions = 4;
value - The mountPermissions to set.public NfsShare.AllowedClient.Builder clearMountPermissions()
Mount permissions.
.google.cloud.baremetalsolution.v2.NfsShare.MountPermissions mount_permissions = 4;
public boolean getAllowDev()
Allow dev flag. Which controls whether to allow creation of devices.
bool allow_dev = 5;getAllowDev in interface NfsShare.AllowedClientOrBuilderpublic NfsShare.AllowedClient.Builder setAllowDev(boolean value)
Allow dev flag. Which controls whether to allow creation of devices.
bool allow_dev = 5;value - The allowDev to set.public NfsShare.AllowedClient.Builder clearAllowDev()
Allow dev flag. Which controls whether to allow creation of devices.
bool allow_dev = 5;public boolean getAllowSuid()
Allow the setuid flag.
bool allow_suid = 6;getAllowSuid in interface NfsShare.AllowedClientOrBuilderpublic NfsShare.AllowedClient.Builder setAllowSuid(boolean value)
Allow the setuid flag.
bool allow_suid = 6;value - The allowSuid to set.public NfsShare.AllowedClient.Builder clearAllowSuid()
Allow the setuid flag.
bool allow_suid = 6;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;getNoRootSquash in interface NfsShare.AllowedClientOrBuilderpublic 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;value - The noRootSquash to set.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;public final NfsShare.AllowedClient.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NfsShare.AllowedClient.Builder>public final NfsShare.AllowedClient.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NfsShare.AllowedClient.Builder>Copyright © 2022 Google LLC. All rights reserved.