public final class SimpleExportPolicyRule extends GeneratedMessageV3 implements SimpleExportPolicyRuleOrBuilder
SimpleExportPolicyRule
An export policy rule describing various export options.
Protobuf type google.cloud.netapp.v1beta1.SimpleExportPolicyRule
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ACCESS_TYPE_FIELD_NUMBER
public static final int ACCESS_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ALLOWED_CLIENTS_FIELD_NUMBER
public static final int ALLOWED_CLIENTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
HAS_ROOT_ACCESS_FIELD_NUMBER
public static final int HAS_ROOT_ACCESS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
KERBEROS_5I_READ_ONLY_FIELD_NUMBER
public static final int KERBEROS_5I_READ_ONLY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
KERBEROS_5I_READ_WRITE_FIELD_NUMBER
public static final int KERBEROS_5I_READ_WRITE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
KERBEROS_5P_READ_ONLY_FIELD_NUMBER
public static final int KERBEROS_5P_READ_ONLY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
KERBEROS_5P_READ_WRITE_FIELD_NUMBER
public static final int KERBEROS_5P_READ_WRITE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
KERBEROS_5_READ_ONLY_FIELD_NUMBER
public static final int KERBEROS_5_READ_ONLY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
KERBEROS_5_READ_WRITE_FIELD_NUMBER
public static final int KERBEROS_5_READ_WRITE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NFSV3_FIELD_NUMBER
public static final int NFSV3_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NFSV4_FIELD_NUMBER
public static final int NFSV4_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static SimpleExportPolicyRule getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SimpleExportPolicyRule.Builder newBuilder()
newBuilder(SimpleExportPolicyRule prototype)
public static SimpleExportPolicyRule.Builder newBuilder(SimpleExportPolicyRule prototype)
public static SimpleExportPolicyRule parseDelimitedFrom(InputStream input)
public static SimpleExportPolicyRule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SimpleExportPolicyRule parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SimpleExportPolicyRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SimpleExportPolicyRule parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SimpleExportPolicyRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SimpleExportPolicyRule parseFrom(CodedInputStream input)
public static SimpleExportPolicyRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SimpleExportPolicyRule parseFrom(InputStream input)
public static SimpleExportPolicyRule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SimpleExportPolicyRule parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SimpleExportPolicyRule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SimpleExportPolicyRule> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAccessType()
public AccessType getAccessType()
Access type (ReadWrite, ReadOnly, None)
optional .google.cloud.netapp.v1beta1.AccessType access_type = 3;
getAccessTypeValue()
public int getAccessTypeValue()
Access type (ReadWrite, ReadOnly, None)
optional .google.cloud.netapp.v1beta1.AccessType access_type = 3;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for accessType.
|
getAllowedClients()
public String getAllowedClients()
Comma separated list of allowed clients IP addresses
optional string allowed_clients = 1;
Returns |
---|
Type | Description |
String | The allowedClients.
|
getAllowedClientsBytes()
public ByteString getAllowedClientsBytes()
Comma separated list of allowed clients IP addresses
optional string allowed_clients = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for allowedClients.
|
getDefaultInstanceForType()
public SimpleExportPolicyRule getDefaultInstanceForType()
getHasRootAccess()
public String getHasRootAccess()
Whether Unix root access will be granted.
optional string has_root_access = 2;
Returns |
---|
Type | Description |
String | The hasRootAccess.
|
getHasRootAccessBytes()
public ByteString getHasRootAccessBytes()
Whether Unix root access will be granted.
optional string has_root_access = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for hasRootAccess.
|
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;
Returns |
---|
Type | Description |
boolean | The kerberos5iReadOnly.
|
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;
Returns |
---|
Type | Description |
boolean | The kerberos5iReadWrite.
|
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;
Returns |
---|
Type | Description |
boolean | The kerberos5pReadOnly.
|
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;
Returns |
---|
Type | Description |
boolean | The kerberos5pReadWrite.
|
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;
Returns |
---|
Type | Description |
boolean | The kerberos5ReadOnly.
|
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;
Returns |
---|
Type | Description |
boolean | The kerberos5ReadWrite.
|
getNfsv3()
public boolean getNfsv3()
NFS V3 protocol.
optional bool nfsv3 = 4;
Returns |
---|
Type | Description |
boolean | The nfsv3.
|
getNfsv4()
public boolean getNfsv4()
NFS V4 protocol.
optional bool nfsv4 = 5;
Returns |
---|
Type | Description |
boolean | The nfsv4.
|
getParserForType()
public Parser<SimpleExportPolicyRule> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasAccessType()
public boolean hasAccessType()
Access type (ReadWrite, ReadOnly, None)
optional .google.cloud.netapp.v1beta1.AccessType access_type = 3;
Returns |
---|
Type | Description |
boolean | Whether the accessType field is set.
|
hasAllowedClients()
public boolean hasAllowedClients()
Comma separated list of allowed clients IP addresses
optional string allowed_clients = 1;
Returns |
---|
Type | Description |
boolean | Whether the allowedClients field is set.
|
hasHasRootAccess()
public boolean hasHasRootAccess()
Whether Unix root access will be granted.
optional string has_root_access = 2;
Returns |
---|
Type | Description |
boolean | Whether the hasRootAccess field is set.
|
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;
Returns |
---|
Type | Description |
boolean | Whether the kerberos5iReadOnly field is set.
|
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;
Returns |
---|
Type | Description |
boolean | Whether the kerberos5iReadWrite field is set.
|
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;
Returns |
---|
Type | Description |
boolean | Whether the kerberos5pReadOnly field is set.
|
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;
Returns |
---|
Type | Description |
boolean | Whether the kerberos5pReadWrite field is set.
|
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;
Returns |
---|
Type | Description |
boolean | Whether the kerberos5ReadOnly field is set.
|
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;
Returns |
---|
Type | Description |
boolean | Whether the kerberos5ReadWrite field is set.
|
hasNfsv3()
public boolean hasNfsv3()
NFS V3 protocol.
optional bool nfsv3 = 4;
Returns |
---|
Type | Description |
boolean | Whether the nfsv3 field is set.
|
hasNfsv4()
public boolean hasNfsv4()
NFS V4 protocol.
optional bool nfsv4 = 5;
Returns |
---|
Type | Description |
boolean | Whether the nfsv4 field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SimpleExportPolicyRule.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SimpleExportPolicyRule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SimpleExportPolicyRule.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides