Package com.google.cloud.netapp.v1
Class SimpleExportPolicyRule.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SimpleExportPolicyRule.Builder>
-
- com.google.cloud.netapp.v1.SimpleExportPolicyRule.Builder
-
- All Implemented Interfaces:
SimpleExportPolicyRuleOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- SimpleExportPolicyRule
public static final class SimpleExportPolicyRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SimpleExportPolicyRule.Builder> implements SimpleExportPolicyRuleOrBuilder
An export policy rule describing various export options.
Protobuf typegoogle.cloud.netapp.v1.SimpleExportPolicyRule
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleExportPolicyRule.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SimpleExportPolicyRule
build()
SimpleExportPolicyRule
buildPartial()
SimpleExportPolicyRule.Builder
clear()
SimpleExportPolicyRule.Builder
clearAccessType()
Access type (ReadWrite, ReadOnly, None)SimpleExportPolicyRule.Builder
clearAllowedClients()
Comma separated list of allowed clients IP addressesSimpleExportPolicyRule.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
SimpleExportPolicyRule.Builder
clearHasRootAccess()
Whether Unix root access will be granted.SimpleExportPolicyRule.Builder
clearKerberos5IReadOnly()
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification.SimpleExportPolicyRule.Builder
clearKerberos5IReadWrite()
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification.SimpleExportPolicyRule.Builder
clearKerberos5PReadOnly()
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification.SimpleExportPolicyRule.Builder
clearKerberos5PReadWrite()
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification.SimpleExportPolicyRule.Builder
clearKerberos5ReadOnly()
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification.SimpleExportPolicyRule.Builder
clearKerberos5ReadWrite()
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification.SimpleExportPolicyRule.Builder
clearNfsv3()
NFS V3 protocol.SimpleExportPolicyRule.Builder
clearNfsv4()
NFS V4 protocol.SimpleExportPolicyRule.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
SimpleExportPolicyRule.Builder
clone()
AccessType
getAccessType()
Access type (ReadWrite, ReadOnly, None)int
getAccessTypeValue()
Access type (ReadWrite, ReadOnly, None)String
getAllowedClients()
Comma separated list of allowed clients IP addressescom.google.protobuf.ByteString
getAllowedClientsBytes()
Comma separated list of allowed clients IP addressesSimpleExportPolicyRule
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getHasRootAccess()
Whether Unix root access will be granted.com.google.protobuf.ByteString
getHasRootAccessBytes()
Whether Unix root access will be granted.boolean
getKerberos5IReadOnly()
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification.boolean
getKerberos5IReadWrite()
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification.boolean
getKerberos5PReadOnly()
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification.boolean
getKerberos5PReadWrite()
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification.boolean
getKerberos5ReadOnly()
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification.boolean
getKerberos5ReadWrite()
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification.boolean
getNfsv3()
NFS V3 protocol.boolean
getNfsv4()
NFS V4 protocol.boolean
hasAccessType()
Access type (ReadWrite, ReadOnly, None)boolean
hasAllowedClients()
Comma separated list of allowed clients IP addressesboolean
hasHasRootAccess()
Whether Unix root access will be granted.boolean
hasKerberos5IReadOnly()
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification.boolean
hasKerberos5IReadWrite()
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification.boolean
hasKerberos5PReadOnly()
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification.boolean
hasKerberos5PReadWrite()
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification.boolean
hasKerberos5ReadOnly()
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification.boolean
hasKerberos5ReadWrite()
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification.boolean
hasNfsv3()
NFS V3 protocol.boolean
hasNfsv4()
NFS V4 protocol.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
SimpleExportPolicyRule.Builder
mergeFrom(SimpleExportPolicyRule other)
SimpleExportPolicyRule.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SimpleExportPolicyRule.Builder
mergeFrom(com.google.protobuf.Message other)
SimpleExportPolicyRule.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
SimpleExportPolicyRule.Builder
setAccessType(AccessType value)
Access type (ReadWrite, ReadOnly, None)SimpleExportPolicyRule.Builder
setAccessTypeValue(int value)
Access type (ReadWrite, ReadOnly, None)SimpleExportPolicyRule.Builder
setAllowedClients(String value)
Comma separated list of allowed clients IP addressesSimpleExportPolicyRule.Builder
setAllowedClientsBytes(com.google.protobuf.ByteString value)
Comma separated list of allowed clients IP addressesSimpleExportPolicyRule.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SimpleExportPolicyRule.Builder
setHasRootAccess(String value)
Whether Unix root access will be granted.SimpleExportPolicyRule.Builder
setHasRootAccessBytes(com.google.protobuf.ByteString value)
Whether Unix root access will be granted.SimpleExportPolicyRule.Builder
setKerberos5IReadOnly(boolean value)
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification.SimpleExportPolicyRule.Builder
setKerberos5IReadWrite(boolean value)
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification.SimpleExportPolicyRule.Builder
setKerberos5PReadOnly(boolean value)
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification.SimpleExportPolicyRule.Builder
setKerberos5PReadWrite(boolean value)
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification.SimpleExportPolicyRule.Builder
setKerberos5ReadOnly(boolean value)
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification.SimpleExportPolicyRule.Builder
setKerberos5ReadWrite(boolean value)
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification.SimpleExportPolicyRule.Builder
setNfsv3(boolean value)
NFS V3 protocol.SimpleExportPolicyRule.Builder
setNfsv4(boolean value)
NFS V4 protocol.SimpleExportPolicyRule.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
SimpleExportPolicyRule.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleExportPolicyRule.Builder>
-
clear
public SimpleExportPolicyRule.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleExportPolicyRule.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleExportPolicyRule.Builder>
-
getDefaultInstanceForType
public SimpleExportPolicyRule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public SimpleExportPolicyRule build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SimpleExportPolicyRule buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SimpleExportPolicyRule.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleExportPolicyRule.Builder>
-
setField
public SimpleExportPolicyRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleExportPolicyRule.Builder>
-
clearField
public SimpleExportPolicyRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleExportPolicyRule.Builder>
-
clearOneof
public SimpleExportPolicyRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleExportPolicyRule.Builder>
-
setRepeatedField
public SimpleExportPolicyRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleExportPolicyRule.Builder>
-
addRepeatedField
public SimpleExportPolicyRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleExportPolicyRule.Builder>
-
mergeFrom
public SimpleExportPolicyRule.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SimpleExportPolicyRule.Builder>
-
mergeFrom
public SimpleExportPolicyRule.Builder mergeFrom(SimpleExportPolicyRule other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleExportPolicyRule.Builder>
-
mergeFrom
public SimpleExportPolicyRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SimpleExportPolicyRule.Builder>
- Throws:
IOException
-
hasAllowedClients
public boolean hasAllowedClients()
Comma separated list of allowed clients IP addresses
optional string allowed_clients = 1;
- Specified by:
hasAllowedClients
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- Whether the allowedClients field is set.
-
getAllowedClients
public String getAllowedClients()
Comma separated list of allowed clients IP addresses
optional string allowed_clients = 1;
- Specified by:
getAllowedClients
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- The allowedClients.
-
getAllowedClientsBytes
public com.google.protobuf.ByteString getAllowedClientsBytes()
Comma separated list of allowed clients IP addresses
optional string allowed_clients = 1;
- Specified by:
getAllowedClientsBytes
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- The bytes for allowedClients.
-
setAllowedClients
public SimpleExportPolicyRule.Builder setAllowedClients(String value)
Comma separated list of allowed clients IP addresses
optional string allowed_clients = 1;
- Parameters:
value
- The allowedClients to set.- Returns:
- This builder for chaining.
-
clearAllowedClients
public SimpleExportPolicyRule.Builder clearAllowedClients()
Comma separated list of allowed clients IP addresses
optional string allowed_clients = 1;
- Returns:
- This builder for chaining.
-
setAllowedClientsBytes
public SimpleExportPolicyRule.Builder setAllowedClientsBytes(com.google.protobuf.ByteString value)
Comma separated list of allowed clients IP addresses
optional string allowed_clients = 1;
- Parameters:
value
- The bytes for allowedClients to set.- Returns:
- This builder for chaining.
-
hasHasRootAccess
public boolean hasHasRootAccess()
Whether Unix root access will be granted.
optional string has_root_access = 2;
- Specified by:
hasHasRootAccess
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- Whether the hasRootAccess field is set.
-
getHasRootAccess
public String getHasRootAccess()
Whether Unix root access will be granted.
optional string has_root_access = 2;
- Specified by:
getHasRootAccess
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- The hasRootAccess.
-
getHasRootAccessBytes
public com.google.protobuf.ByteString getHasRootAccessBytes()
Whether Unix root access will be granted.
optional string has_root_access = 2;
- Specified by:
getHasRootAccessBytes
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- The bytes for hasRootAccess.
-
setHasRootAccess
public SimpleExportPolicyRule.Builder setHasRootAccess(String value)
Whether Unix root access will be granted.
optional string has_root_access = 2;
- Parameters:
value
- The hasRootAccess to set.- Returns:
- This builder for chaining.
-
clearHasRootAccess
public SimpleExportPolicyRule.Builder clearHasRootAccess()
Whether Unix root access will be granted.
optional string has_root_access = 2;
- Returns:
- This builder for chaining.
-
setHasRootAccessBytes
public SimpleExportPolicyRule.Builder setHasRootAccessBytes(com.google.protobuf.ByteString value)
Whether Unix root access will be granted.
optional string has_root_access = 2;
- Parameters:
value
- The bytes for hasRootAccess to set.- Returns:
- This builder for chaining.
-
hasAccessType
public boolean hasAccessType()
Access type (ReadWrite, ReadOnly, None)
optional .google.cloud.netapp.v1.AccessType access_type = 3;
- Specified by:
hasAccessType
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- Whether the accessType field is set.
-
getAccessTypeValue
public int getAccessTypeValue()
Access type (ReadWrite, ReadOnly, None)
optional .google.cloud.netapp.v1.AccessType access_type = 3;
- Specified by:
getAccessTypeValue
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- The enum numeric value on the wire for accessType.
-
setAccessTypeValue
public SimpleExportPolicyRule.Builder setAccessTypeValue(int value)
Access type (ReadWrite, ReadOnly, None)
optional .google.cloud.netapp.v1.AccessType access_type = 3;
- Parameters:
value
- The enum numeric value on the wire for accessType to set.- Returns:
- This builder for chaining.
-
getAccessType
public AccessType getAccessType()
Access type (ReadWrite, ReadOnly, None)
optional .google.cloud.netapp.v1.AccessType access_type = 3;
- Specified by:
getAccessType
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- The accessType.
-
setAccessType
public SimpleExportPolicyRule.Builder setAccessType(AccessType value)
Access type (ReadWrite, ReadOnly, None)
optional .google.cloud.netapp.v1.AccessType access_type = 3;
- Parameters:
value
- The accessType to set.- Returns:
- This builder for chaining.
-
clearAccessType
public SimpleExportPolicyRule.Builder clearAccessType()
Access type (ReadWrite, ReadOnly, None)
optional .google.cloud.netapp.v1.AccessType access_type = 3;
- Returns:
- This builder for chaining.
-
hasNfsv3
public boolean hasNfsv3()
NFS V3 protocol.
optional bool nfsv3 = 4;
- Specified by:
hasNfsv3
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- Whether the nfsv3 field is set.
-
getNfsv3
public boolean getNfsv3()
NFS V3 protocol.
optional bool nfsv3 = 4;
- Specified by:
getNfsv3
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- The nfsv3.
-
setNfsv3
public SimpleExportPolicyRule.Builder setNfsv3(boolean value)
NFS V3 protocol.
optional bool nfsv3 = 4;
- Parameters:
value
- The nfsv3 to set.- Returns:
- This builder for chaining.
-
clearNfsv3
public SimpleExportPolicyRule.Builder clearNfsv3()
NFS V3 protocol.
optional bool nfsv3 = 4;
- Returns:
- This builder for chaining.
-
hasNfsv4
public boolean hasNfsv4()
NFS V4 protocol.
optional bool nfsv4 = 5;
- Specified by:
hasNfsv4
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- Whether the nfsv4 field is set.
-
getNfsv4
public boolean getNfsv4()
NFS V4 protocol.
optional bool nfsv4 = 5;
- Specified by:
getNfsv4
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- The nfsv4.
-
setNfsv4
public SimpleExportPolicyRule.Builder setNfsv4(boolean value)
NFS V4 protocol.
optional bool nfsv4 = 5;
- Parameters:
value
- The nfsv4 to set.- Returns:
- This builder for chaining.
-
clearNfsv4
public SimpleExportPolicyRule.Builder clearNfsv4()
NFS V4 protocol.
optional bool nfsv4 = 5;
- Returns:
- This builder for chaining.
-
hasKerberos5ReadOnly
public boolean hasKerberos5ReadOnly()
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode.
optional bool kerberos_5_read_only = 6;
- Specified by:
hasKerberos5ReadOnly
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- Whether the kerberos5ReadOnly field is set.
-
getKerberos5ReadOnly
public boolean getKerberos5ReadOnly()
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode.
optional bool kerberos_5_read_only = 6;
- Specified by:
getKerberos5ReadOnly
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- The kerberos5ReadOnly.
-
setKerberos5ReadOnly
public SimpleExportPolicyRule.Builder setKerberos5ReadOnly(boolean value)
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode.
optional bool kerberos_5_read_only = 6;
- Parameters:
value
- The kerberos5ReadOnly to set.- Returns:
- This builder for chaining.
-
clearKerberos5ReadOnly
public SimpleExportPolicyRule.Builder clearKerberos5ReadOnly()
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode.
optional bool kerberos_5_read_only = 6;
- Returns:
- This builder for chaining.
-
hasKerberos5ReadWrite
public boolean hasKerberos5ReadWrite()
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode. The 'kerberos5ReadOnly' value be ignored if this is enabled.
optional bool kerberos_5_read_write = 7;
- Specified by:
hasKerberos5ReadWrite
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- Whether the kerberos5ReadWrite field is set.
-
getKerberos5ReadWrite
public boolean getKerberos5ReadWrite()
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode. The 'kerberos5ReadOnly' value be ignored if this is enabled.
optional bool kerberos_5_read_write = 7;
- Specified by:
getKerberos5ReadWrite
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- The kerberos5ReadWrite.
-
setKerberos5ReadWrite
public SimpleExportPolicyRule.Builder setKerberos5ReadWrite(boolean value)
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode. The 'kerberos5ReadOnly' value be ignored if this is enabled.
optional bool kerberos_5_read_write = 7;
- Parameters:
value
- The kerberos5ReadWrite to set.- Returns:
- This builder for chaining.
-
clearKerberos5ReadWrite
public SimpleExportPolicyRule.Builder clearKerberos5ReadWrite()
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode. The 'kerberos5ReadOnly' value be ignored if this is enabled.
optional bool kerberos_5_read_write = 7;
- Returns:
- This builder for chaining.
-
hasKerberos5IReadOnly
public boolean hasKerberos5IReadOnly()
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode.
optional bool kerberos_5i_read_only = 8;
- Specified by:
hasKerberos5IReadOnly
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- Whether the kerberos5iReadOnly field is set.
-
getKerberos5IReadOnly
public boolean getKerberos5IReadOnly()
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode.
optional bool kerberos_5i_read_only = 8;
- Specified by:
getKerberos5IReadOnly
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- The kerberos5iReadOnly.
-
setKerberos5IReadOnly
public SimpleExportPolicyRule.Builder setKerberos5IReadOnly(boolean value)
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode.
optional bool kerberos_5i_read_only = 8;
- Parameters:
value
- The kerberos5iReadOnly to set.- Returns:
- This builder for chaining.
-
clearKerberos5IReadOnly
public SimpleExportPolicyRule.Builder clearKerberos5IReadOnly()
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode.
optional bool kerberos_5i_read_only = 8;
- Returns:
- This builder for chaining.
-
hasKerberos5IReadWrite
public boolean hasKerberos5IReadWrite()
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode. The 'kerberos5iReadOnly' value be ignored if this is enabled.
optional bool kerberos_5i_read_write = 9;
- Specified by:
hasKerberos5IReadWrite
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- Whether the kerberos5iReadWrite field is set.
-
getKerberos5IReadWrite
public boolean getKerberos5IReadWrite()
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode. The 'kerberos5iReadOnly' value be ignored if this is enabled.
optional bool kerberos_5i_read_write = 9;
- Specified by:
getKerberos5IReadWrite
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- The kerberos5iReadWrite.
-
setKerberos5IReadWrite
public SimpleExportPolicyRule.Builder setKerberos5IReadWrite(boolean value)
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode. The 'kerberos5iReadOnly' value be ignored if this is enabled.
optional bool kerberos_5i_read_write = 9;
- Parameters:
value
- The kerberos5iReadWrite to set.- Returns:
- This builder for chaining.
-
clearKerberos5IReadWrite
public SimpleExportPolicyRule.Builder clearKerberos5IReadWrite()
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode. The 'kerberos5iReadOnly' value be ignored if this is enabled.
optional bool kerberos_5i_read_write = 9;
- Returns:
- This builder for chaining.
-
hasKerberos5PReadOnly
public boolean hasKerberos5PReadOnly()
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode.
optional bool kerberos_5p_read_only = 10;
- Specified by:
hasKerberos5PReadOnly
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- Whether the kerberos5pReadOnly field is set.
-
getKerberos5PReadOnly
public boolean getKerberos5PReadOnly()
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode.
optional bool kerberos_5p_read_only = 10;
- Specified by:
getKerberos5PReadOnly
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- The kerberos5pReadOnly.
-
setKerberos5PReadOnly
public SimpleExportPolicyRule.Builder setKerberos5PReadOnly(boolean value)
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode.
optional bool kerberos_5p_read_only = 10;
- Parameters:
value
- The kerberos5pReadOnly to set.- Returns:
- This builder for chaining.
-
clearKerberos5PReadOnly
public SimpleExportPolicyRule.Builder clearKerberos5PReadOnly()
If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode.
optional bool kerberos_5p_read_only = 10;
- Returns:
- This builder for chaining.
-
hasKerberos5PReadWrite
public boolean hasKerberos5PReadWrite()
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode. The 'kerberos5pReadOnly' value be ignored if this is enabled.
optional bool kerberos_5p_read_write = 11;
- Specified by:
hasKerberos5PReadWrite
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- Whether the kerberos5pReadWrite field is set.
-
getKerberos5PReadWrite
public boolean getKerberos5PReadWrite()
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode. The 'kerberos5pReadOnly' value be ignored if this is enabled.
optional bool kerberos_5p_read_write = 11;
- Specified by:
getKerberos5PReadWrite
in interfaceSimpleExportPolicyRuleOrBuilder
- Returns:
- The kerberos5pReadWrite.
-
setKerberos5PReadWrite
public SimpleExportPolicyRule.Builder setKerberos5PReadWrite(boolean value)
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode. The 'kerberos5pReadOnly' value be ignored if this is enabled.
optional bool kerberos_5p_read_write = 11;
- Parameters:
value
- The kerberos5pReadWrite to set.- Returns:
- This builder for chaining.
-
clearKerberos5PReadWrite
public SimpleExportPolicyRule.Builder clearKerberos5PReadWrite()
If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode. The 'kerberos5pReadOnly' value be ignored if this is enabled.
optional bool kerberos_5p_read_write = 11;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final SimpleExportPolicyRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleExportPolicyRule.Builder>
-
mergeUnknownFields
public final SimpleExportPolicyRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SimpleExportPolicyRule.Builder>
-
-