Class SimpleExportPolicyRule (0.43.0)

publicfinalclass SimpleExportPolicyRuleextendsGeneratedMessageV3implementsSimpleExportPolicyRuleOrBuilder

An export policy rule describing various export options.

Protobuf type google.cloud.netapp.v1.SimpleExportPolicyRule

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

ACCESS_TYPE_FIELD_NUMBER

publicstaticfinalintACCESS_TYPE_FIELD_NUMBER
Field Value
Type Description
int

ALLOWED_CLIENTS_FIELD_NUMBER

publicstaticfinalintALLOWED_CLIENTS_FIELD_NUMBER
Field Value
Type Description
int

HAS_ROOT_ACCESS_FIELD_NUMBER

publicstaticfinalintHAS_ROOT_ACCESS_FIELD_NUMBER
Field Value
Type Description
int

KERBEROS_5I_READ_ONLY_FIELD_NUMBER

publicstaticfinalintKERBEROS_5I_READ_ONLY_FIELD_NUMBER
Field Value
Type Description
int

KERBEROS_5I_READ_WRITE_FIELD_NUMBER

publicstaticfinalintKERBEROS_5I_READ_WRITE_FIELD_NUMBER
Field Value
Type Description
int

KERBEROS_5P_READ_ONLY_FIELD_NUMBER

publicstaticfinalintKERBEROS_5P_READ_ONLY_FIELD_NUMBER
Field Value
Type Description
int

KERBEROS_5P_READ_WRITE_FIELD_NUMBER

publicstaticfinalintKERBEROS_5P_READ_WRITE_FIELD_NUMBER
Field Value
Type Description
int

KERBEROS_5_READ_ONLY_FIELD_NUMBER

publicstaticfinalintKERBEROS_5_READ_ONLY_FIELD_NUMBER
Field Value
Type Description
int

KERBEROS_5_READ_WRITE_FIELD_NUMBER

publicstaticfinalintKERBEROS_5_READ_WRITE_FIELD_NUMBER
Field Value
Type Description
int

NFSV3_FIELD_NUMBER

publicstaticfinalintNFSV3_FIELD_NUMBER
Field Value
Type Description
int

NFSV4_FIELD_NUMBER

publicstaticfinalintNFSV4_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticSimpleExportPolicyRulegetDefaultInstance()
Returns
Type Description
SimpleExportPolicyRule

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticSimpleExportPolicyRule.BuildernewBuilder()
Returns
Type Description
SimpleExportPolicyRule.Builder

newBuilder(SimpleExportPolicyRule prototype)

publicstaticSimpleExportPolicyRule.BuildernewBuilder(SimpleExportPolicyRuleprototype)
Parameter
Name Description
prototype SimpleExportPolicyRule
Returns
Type Description
SimpleExportPolicyRule.Builder

parseDelimitedFrom(InputStream input)

publicstaticSimpleExportPolicyRuleparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
SimpleExportPolicyRule
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSimpleExportPolicyRuleparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SimpleExportPolicyRule
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticSimpleExportPolicyRuleparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
SimpleExportPolicyRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticSimpleExportPolicyRuleparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SimpleExportPolicyRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticSimpleExportPolicyRuleparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
SimpleExportPolicyRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticSimpleExportPolicyRuleparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SimpleExportPolicyRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticSimpleExportPolicyRuleparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SimpleExportPolicyRule
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSimpleExportPolicyRuleparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SimpleExportPolicyRule
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticSimpleExportPolicyRuleparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
SimpleExportPolicyRule
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSimpleExportPolicyRuleparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SimpleExportPolicyRule
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticSimpleExportPolicyRuleparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SimpleExportPolicyRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticSimpleExportPolicyRuleparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SimpleExportPolicyRule
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<SimpleExportPolicyRule>parser()
Returns
Type Description
Parser<SimpleExportPolicyRule>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAccessType()

publicAccessTypegetAccessType()

Access type (ReadWrite, ReadOnly, None)

optional .google.cloud.netapp.v1.AccessType access_type = 3;

Returns
Type Description
AccessType

The accessType.

getAccessTypeValue()

publicintgetAccessTypeValue()

Access type (ReadWrite, ReadOnly, None)

optional .google.cloud.netapp.v1.AccessType access_type = 3;

Returns
Type Description
int

The enum numeric value on the wire for accessType.

getAllowedClients()

publicStringgetAllowedClients()

Comma separated list of allowed clients IP addresses

optional string allowed_clients = 1;

Returns
Type Description
String

The allowedClients.

getAllowedClientsBytes()

publicByteStringgetAllowedClientsBytes()

Comma separated list of allowed clients IP addresses

optional string allowed_clients = 1;

Returns
Type Description
ByteString

The bytes for allowedClients.

getDefaultInstanceForType()

publicSimpleExportPolicyRulegetDefaultInstanceForType()
Returns
Type Description
SimpleExportPolicyRule

getHasRootAccess()

publicStringgetHasRootAccess()

Whether Unix root access will be granted.

optional string has_root_access = 2;

Returns
Type Description
String

The hasRootAccess.

getHasRootAccessBytes()

publicByteStringgetHasRootAccessBytes()

Whether Unix root access will be granted.

optional string has_root_access = 2;

Returns
Type Description
ByteString

The bytes for hasRootAccess.

getKerberos5IReadOnly()

publicbooleangetKerberos5IReadOnly()

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
Type Description
boolean

The kerberos5iReadOnly.

getKerberos5IReadWrite()

publicbooleangetKerberos5IReadWrite()

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
Type Description
boolean

The kerberos5iReadWrite.

getKerberos5PReadOnly()

publicbooleangetKerberos5PReadOnly()

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
Type Description
boolean

The kerberos5pReadOnly.

getKerberos5PReadWrite()

publicbooleangetKerberos5PReadWrite()

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
Type Description
boolean

The kerberos5pReadWrite.

getKerberos5ReadOnly()

publicbooleangetKerberos5ReadOnly()

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
Type Description
boolean

The kerberos5ReadOnly.

getKerberos5ReadWrite()

publicbooleangetKerberos5ReadWrite()

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
Type Description
boolean

The kerberos5ReadWrite.

getNfsv3()

publicbooleangetNfsv3()

NFS V3 protocol.

optional bool nfsv3 = 4;

Returns
Type Description
boolean

The nfsv3.

getNfsv4()

publicbooleangetNfsv4()

NFS V4 protocol.

optional bool nfsv4 = 5;

Returns
Type Description
boolean

The nfsv4.

getParserForType()

publicParser<SimpleExportPolicyRule>getParserForType()
Returns
Type Description
Parser<SimpleExportPolicyRule>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hasAccessType()

publicbooleanhasAccessType()

Access type (ReadWrite, ReadOnly, None)

optional .google.cloud.netapp.v1.AccessType access_type = 3;

Returns
Type Description
boolean

Whether the accessType field is set.

hasAllowedClients()

publicbooleanhasAllowedClients()

Comma separated list of allowed clients IP addresses

optional string allowed_clients = 1;

Returns
Type Description
boolean

Whether the allowedClients field is set.

hasHasRootAccess()

publicbooleanhasHasRootAccess()

Whether Unix root access will be granted.

optional string has_root_access = 2;

Returns
Type Description
boolean

Whether the hasRootAccess field is set.

hasKerberos5IReadOnly()

publicbooleanhasKerberos5IReadOnly()

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
Type Description
boolean

Whether the kerberos5iReadOnly field is set.

hasKerberos5IReadWrite()

publicbooleanhasKerberos5IReadWrite()

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
Type Description
boolean

Whether the kerberos5iReadWrite field is set.

hasKerberos5PReadOnly()

publicbooleanhasKerberos5PReadOnly()

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
Type Description
boolean

Whether the kerberos5pReadOnly field is set.

hasKerberos5PReadWrite()

publicbooleanhasKerberos5PReadWrite()

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
Type Description
boolean

Whether the kerberos5pReadWrite field is set.

hasKerberos5ReadOnly()

publicbooleanhasKerberos5ReadOnly()

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
Type Description
boolean

Whether the kerberos5ReadOnly field is set.

hasKerberos5ReadWrite()

publicbooleanhasKerberos5ReadWrite()

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
Type Description
boolean

Whether the kerberos5ReadWrite field is set.

hasNfsv3()

publicbooleanhasNfsv3()

NFS V3 protocol.

optional bool nfsv3 = 4;

Returns
Type Description
boolean

Whether the nfsv3 field is set.

hasNfsv4()

publicbooleanhasNfsv4()

NFS V4 protocol.

optional bool nfsv4 = 5;

Returns
Type Description
boolean

Whether the nfsv4 field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicSimpleExportPolicyRule.BuildernewBuilderForType()
Returns
Type Description
SimpleExportPolicyRule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedSimpleExportPolicyRule.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SimpleExportPolicyRule.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicSimpleExportPolicyRule.BuildertoBuilder()
Returns
Type Description
SimpleExportPolicyRule.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.