Class ExportPolicy (0.1.0)

public final class ExportPolicy extends GeneratedMessageV3 implements ExportPolicyOrBuilder

ExportPolicy Defined the export policy for the volume.

Protobuf type google.cloud.netapp.v1beta1.ExportPolicy

Static Fields

RULES_FIELD_NUMBER

public static final int RULES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ExportPolicy getDefaultInstance()
Returns
TypeDescription
ExportPolicy

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ExportPolicy.Builder newBuilder()
Returns
TypeDescription
ExportPolicy.Builder

newBuilder(ExportPolicy prototype)

public static ExportPolicy.Builder newBuilder(ExportPolicy prototype)
Parameter
NameDescription
prototypeExportPolicy
Returns
TypeDescription
ExportPolicy.Builder

parseDelimitedFrom(InputStream input)

public static ExportPolicy parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExportPolicy
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportPolicy
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ExportPolicy parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ExportPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExportPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExportPolicy parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ExportPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExportPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExportPolicy parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ExportPolicy
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportPolicy
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ExportPolicy parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExportPolicy
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportPolicy
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ExportPolicy parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ExportPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExportPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportPolicy
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ExportPolicy> parser()
Returns
TypeDescription
Parser<ExportPolicy>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ExportPolicy getDefaultInstanceForType()
Returns
TypeDescription
ExportPolicy

getParserForType()

public Parser<ExportPolicy> getParserForType()
Returns
TypeDescription
Parser<ExportPolicy>
Overrides

getRules(int index)

public SimpleExportPolicyRule getRules(int index)

Required. List of export policy rules

repeated .google.cloud.netapp.v1beta1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
SimpleExportPolicyRule

getRulesCount()

public int getRulesCount()

Required. List of export policy rules

repeated .google.cloud.netapp.v1beta1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getRulesList()

public List<SimpleExportPolicyRule> getRulesList()

Required. List of export policy rules

repeated .google.cloud.netapp.v1beta1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<SimpleExportPolicyRule>

getRulesOrBuilder(int index)

public SimpleExportPolicyRuleOrBuilder getRulesOrBuilder(int index)

Required. List of export policy rules

repeated .google.cloud.netapp.v1beta1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
SimpleExportPolicyRuleOrBuilder

getRulesOrBuilderList()

public List<? extends SimpleExportPolicyRuleOrBuilder> getRulesOrBuilderList()

Required. List of export policy rules

repeated .google.cloud.netapp.v1beta1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.cloud.netapp.v1beta1.SimpleExportPolicyRuleOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ExportPolicy.Builder newBuilderForType()
Returns
TypeDescription
ExportPolicy.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExportPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ExportPolicy.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ExportPolicy.Builder toBuilder()
Returns
TypeDescription
ExportPolicy.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException