Package com.google.cloud.compute.v1
Class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder>
com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder
- All Implemented Interfaces:
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
public static final class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder>
implements RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder
Protobuf type
google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy-
Method Summary
Modifier and TypeMethodDescriptionaddAllPacketMirroringRules(Iterable<? extends FirewallPolicyRule> values) Output only.addAllRules(Iterable<? extends FirewallPolicyRule> values) Output only.addPacketMirroringRules(int index, FirewallPolicyRule value) Output only.addPacketMirroringRules(int index, FirewallPolicyRule.Builder builderForValue) Output only.Output only.addPacketMirroringRules(FirewallPolicyRule.Builder builderForValue) Output only.Output only.addPacketMirroringRulesBuilder(int index) Output only.addRules(int index, FirewallPolicyRule value) Output only.addRules(int index, FirewallPolicyRule.Builder builderForValue) Output only.addRules(FirewallPolicyRule value) Output only.addRules(FirewallPolicyRule.Builder builderForValue) Output only.Output only.addRulesBuilder(int index) Output only.build()clear()Output only.Output only.Output only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.getPacketMirroringRules(int index) Output only.getPacketMirroringRulesBuilder(int index) Output only.Output only.intOutput only.Output only.getPacketMirroringRulesOrBuilder(int index) Output only.List<? extends FirewallPolicyRuleOrBuilder>Output only.intOutput only.getRules(int index) Output only.getRulesBuilder(int index) Output only.Output only.intOutput only.Output only.getRulesOrBuilder(int index) Output only.List<? extends FirewallPolicyRuleOrBuilder>Output only.getType()Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanhasName()Output only.booleanOutput only.booleanhasType()Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removePacketMirroringRules(int index) Output only.removeRules(int index) Output only.setDisplayName(String value) Output only.setDisplayNameBytes(com.google.protobuf.ByteString value) Output only.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setPacketMirroringRules(int index, FirewallPolicyRule value) Output only.setPacketMirroringRules(int index, FirewallPolicyRule.Builder builderForValue) Output only.setPriority(int value) Output only.setRules(int index, FirewallPolicyRule value) Output only.setRules(int index, FirewallPolicyRule.Builder builderForValue) Output only.Output only.setTypeBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder>
-
clear
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clear()- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder>
-
getDefaultInstanceForType
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy getDefaultInstanceForType()- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy buildPartial()- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder>
-
mergeFrom
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder>- Throws:
IOException
-
hasDisplayName
public boolean hasDisplayName()Output only. [Output Only] The display name of the firewall policy.
optional string display_name = 4473832;- Specified by:
hasDisplayNamein interfaceRegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- Whether the displayName field is set.
-
getDisplayName
Output only. [Output Only] The display name of the firewall policy.
optional string display_name = 4473832;- Specified by:
getDisplayNamein interfaceRegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Output only. [Output Only] The display name of the firewall policy.
optional string display_name = 4473832;- Specified by:
getDisplayNameBytesin interfaceRegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setDisplayName(String value) Output only. [Output Only] The display name of the firewall policy.
optional string display_name = 4473832;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearDisplayName()Output only. [Output Only] The display name of the firewall policy.
optional string display_name = 4473832;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setDisplayNameBytes(com.google.protobuf.ByteString value) Output only. [Output Only] The display name of the firewall policy.
optional string display_name = 4473832;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()Output only. [Output Only] The name of the firewall policy.
optional string name = 3373707;- Specified by:
hasNamein interfaceRegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- Whether the name field is set.
-
getName
Output only. [Output Only] The name of the firewall policy.
optional string name = 3373707;- Specified by:
getNamein interfaceRegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. [Output Only] The name of the firewall policy.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceRegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- The bytes for name.
-
setName
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setName(String value) Output only. [Output Only] The name of the firewall policy.
optional string name = 3373707;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearName()Output only. [Output Only] The name of the firewall policy.
optional string name = 3373707;- Returns:
- This builder for chaining.
-
setNameBytes
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setNameBytes(com.google.protobuf.ByteString value) Output only. [Output Only] The name of the firewall policy.
optional string name = 3373707;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getPacketMirroringRulesList
Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
getPacketMirroringRulesCount
public int getPacketMirroringRulesCount()Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
getPacketMirroringRules
Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
setPacketMirroringRules
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setPacketMirroringRules(int index, FirewallPolicyRule value) Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
setPacketMirroringRules
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setPacketMirroringRules(int index, FirewallPolicyRule.Builder builderForValue) Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
addPacketMirroringRules
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addPacketMirroringRules(FirewallPolicyRule value) Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
addPacketMirroringRules
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addPacketMirroringRules(int index, FirewallPolicyRule value) Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
addPacketMirroringRules
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addPacketMirroringRules(FirewallPolicyRule.Builder builderForValue) Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
addPacketMirroringRules
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addPacketMirroringRules(int index, FirewallPolicyRule.Builder builderForValue) Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
addAllPacketMirroringRules
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addAllPacketMirroringRules(Iterable<? extends FirewallPolicyRule> values) Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
clearPacketMirroringRules
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearPacketMirroringRules()Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
removePacketMirroringRules
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder removePacketMirroringRules(int index) Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
getPacketMirroringRulesBuilder
Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
getPacketMirroringRulesOrBuilder
Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
getPacketMirroringRulesOrBuilderList
Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
addPacketMirroringRulesBuilder
Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
addPacketMirroringRulesBuilder
Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
getPacketMirroringRulesBuilderList
Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
hasPriority
public boolean hasPriority()Output only. [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
optional int32 priority = 445151652;- Specified by:
hasPriorityin interfaceRegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- Whether the priority field is set.
-
getPriority
public int getPriority()Output only. [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
optional int32 priority = 445151652;- Specified by:
getPriorityin interfaceRegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- The priority.
-
setPriority
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setPriority(int value) Output only. [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
optional int32 priority = 445151652;- Parameters:
value- The priority to set.- Returns:
- This builder for chaining.
-
clearPriority
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearPriority()Output only. [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
optional int32 priority = 445151652;- Returns:
- This builder for chaining.
-
getRulesList
Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;- Specified by:
getRulesListin interfaceRegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder
-
getRulesCount
public int getRulesCount()Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;- Specified by:
getRulesCountin interfaceRegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder
-
getRules
Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;- Specified by:
getRulesin interfaceRegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder
-
setRules
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setRules(int index, FirewallPolicyRule value) Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
setRules
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setRules(int index, FirewallPolicyRule.Builder builderForValue) Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
addRules
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addRules(FirewallPolicyRule value) Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
addRules
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addRules(int index, FirewallPolicyRule value) Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
addRules
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addRules(FirewallPolicyRule.Builder builderForValue) Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
addRules
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addRules(int index, FirewallPolicyRule.Builder builderForValue) Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
addAllRules
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addAllRules(Iterable<? extends FirewallPolicyRule> values) Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
clearRules
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearRules()Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
removeRules
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder removeRules(int index) Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
getRulesBuilder
Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
getRulesOrBuilder
Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;- Specified by:
getRulesOrBuilderin interfaceRegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder
-
getRulesOrBuilderList
Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;- Specified by:
getRulesOrBuilderListin interfaceRegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder
-
addRulesBuilder
Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
addRulesBuilder
Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
getRulesBuilderList
Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
hasType
public boolean hasType()Output only. [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. Check the Type enum for the list of possible values.
optional string type = 3575610;- Specified by:
hasTypein interfaceRegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- Whether the type field is set.
-
getType
Output only. [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. Check the Type enum for the list of possible values.
optional string type = 3575610;- Specified by:
getTypein interfaceRegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()Output only. [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. Check the Type enum for the list of possible values.
optional string type = 3575610;- Specified by:
getTypeBytesin interfaceRegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- The bytes for type.
-
setType
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setType(String value) Output only. [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. Check the Type enum for the list of possible values.
optional string type = 3575610;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearType()Output only. [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- This builder for chaining.
-
setTypeBytes
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setTypeBytes(com.google.protobuf.ByteString value) Output only. [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. Check the Type enum for the list of possible values.
optional string type = 3575610;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-