public static final class ExportPolicy.Builder extends GeneratedMessageV3.Builder<ExportPolicy.Builder> implements ExportPolicyOrBuilder
Defines the export policy for the volume.
Protobuf type google.cloud.netapp.v1.ExportPolicy
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllRules(Iterable<? extends SimpleExportPolicyRule> values)
public ExportPolicy.Builder addAllRules(Iterable<? extends SimpleExportPolicyRule> values)
Required. List of export policy rules
repeated .google.cloud.netapp.v1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.netapp.v1.SimpleExportPolicyRule>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExportPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addRules(SimpleExportPolicyRule value)
public ExportPolicy.Builder addRules(SimpleExportPolicyRule value)
Required. List of export policy rules
repeated .google.cloud.netapp.v1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];
addRules(SimpleExportPolicyRule.Builder builderForValue)
public ExportPolicy.Builder addRules(SimpleExportPolicyRule.Builder builderForValue)
Required. List of export policy rules
repeated .google.cloud.netapp.v1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];
addRules(int index, SimpleExportPolicyRule value)
public ExportPolicy.Builder addRules(int index, SimpleExportPolicyRule value)
Required. List of export policy rules
repeated .google.cloud.netapp.v1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];
addRules(int index, SimpleExportPolicyRule.Builder builderForValue)
public ExportPolicy.Builder addRules(int index, SimpleExportPolicyRule.Builder builderForValue)
Required. List of export policy rules
repeated .google.cloud.netapp.v1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];
addRulesBuilder()
public SimpleExportPolicyRule.Builder addRulesBuilder()
Required. List of export policy rules
repeated .google.cloud.netapp.v1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];
addRulesBuilder(int index)
public SimpleExportPolicyRule.Builder addRulesBuilder(int index)
Required. List of export policy rules
repeated .google.cloud.netapp.v1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
build()
public ExportPolicy build()
buildPartial()
public ExportPolicy buildPartial()
clear()
public ExportPolicy.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ExportPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRules()
public ExportPolicy.Builder clearRules()
Required. List of export policy rules
repeated .google.cloud.netapp.v1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public ExportPolicy.Builder clone()
Overrides
getDefaultInstanceForType()
public ExportPolicy getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRules(int index)
public SimpleExportPolicyRule getRules(int index)
Required. List of export policy rules
repeated .google.cloud.netapp.v1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getRulesBuilder(int index)
public SimpleExportPolicyRule.Builder getRulesBuilder(int index)
Required. List of export policy rules
repeated .google.cloud.netapp.v1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getRulesBuilderList()
public List<SimpleExportPolicyRule.Builder> getRulesBuilderList()
Required. List of export policy rules
repeated .google.cloud.netapp.v1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];
getRulesCount()
public int getRulesCount()
Required. List of export policy rules
repeated .google.cloud.netapp.v1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getRulesList()
public List<SimpleExportPolicyRule> getRulesList()
Required. List of export policy rules
repeated .google.cloud.netapp.v1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];
getRulesOrBuilder(int index)
public SimpleExportPolicyRuleOrBuilder getRulesOrBuilder(int index)
Required. List of export policy rules
repeated .google.cloud.netapp.v1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getRulesOrBuilderList()
public List<? extends SimpleExportPolicyRuleOrBuilder> getRulesOrBuilderList()
Required. List of export policy rules
repeated .google.cloud.netapp.v1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.netapp.v1.SimpleExportPolicyRuleOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ExportPolicy other)
public ExportPolicy.Builder mergeFrom(ExportPolicy other)
public ExportPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ExportPolicy.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeRules(int index)
public ExportPolicy.Builder removeRules(int index)
Required. List of export policy rules
repeated .google.cloud.netapp.v1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ExportPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExportPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRules(int index, SimpleExportPolicyRule value)
public ExportPolicy.Builder setRules(int index, SimpleExportPolicyRule value)
Required. List of export policy rules
repeated .google.cloud.netapp.v1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];
setRules(int index, SimpleExportPolicyRule.Builder builderForValue)
public ExportPolicy.Builder setRules(int index, SimpleExportPolicyRule.Builder builderForValue)
Required. List of export policy rules
repeated .google.cloud.netapp.v1.SimpleExportPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides