public static final class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder extends GeneratedMessage.Builder<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder> implements RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder Protobuf type
google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.BuilderImplements
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPacketMirroringRules(Iterable<? extends FirewallPolicyRule> values)
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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.FirewallPolicyRule> |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
addAllRules(Iterable<? extends FirewallPolicyRule> values)
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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.FirewallPolicyRule> |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
addPacketMirroringRules(FirewallPolicyRule value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
FirewallPolicyRule |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
addPacketMirroringRules(FirewallPolicyRule.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FirewallPolicyRule.Builder |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
addPacketMirroringRules(int index, FirewallPolicyRule value)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
FirewallPolicyRule |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
addPacketMirroringRules(int index, FirewallPolicyRule.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
FirewallPolicyRule.Builder |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
addPacketMirroringRulesBuilder()
public FirewallPolicyRule.Builder addPacketMirroringRulesBuilder()Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356;
| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRule.Builder |
|
addPacketMirroringRulesBuilder(int index)
public FirewallPolicyRule.Builder addPacketMirroringRulesBuilder(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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRule.Builder |
|
addRules(FirewallPolicyRule value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
FirewallPolicyRule |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
addRules(FirewallPolicyRule.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FirewallPolicyRule.Builder |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
addRules(int index, FirewallPolicyRule value)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
FirewallPolicyRule |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
addRules(int index, FirewallPolicyRule.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
FirewallPolicyRule.Builder |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
addRulesBuilder()
public FirewallPolicyRule.Builder addRulesBuilder()Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRule.Builder |
|
addRulesBuilder(int index)
public FirewallPolicyRule.Builder addRulesBuilder(int index)Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRule.Builder |
|
build()
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy build()| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy |
|
buildPartial()
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy buildPartial()| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy |
|
clear()
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clear()| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
clearDisplayName()
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearDisplayName()Output only. [Output Only] The display name of the firewall policy.
optional string display_name = 4473832;
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
clearName()
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearName()Output only. [Output Only] The name of the firewall policy.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
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;
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
clearPriority()
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearPriority()Output only. [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
optional int32 priority = 445151652;
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
clearRules()
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearRules()Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
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 | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Output only. [Output Only] The display name of the firewall policy.
optional string display_name = 4473832;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Output only. [Output Only] The display name of the firewall policy.
optional string display_name = 4473832;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getName()
public String getName()Output only. [Output Only] The name of the firewall policy.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Output only. [Output Only] The name of the firewall policy.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPacketMirroringRules(int index)
public FirewallPolicyRule getPacketMirroringRules(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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRule |
|
getPacketMirroringRulesBuilder(int index)
public FirewallPolicyRule.Builder getPacketMirroringRulesBuilder(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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRule.Builder |
|
getPacketMirroringRulesBuilderList()
public List<FirewallPolicyRule.Builder> getPacketMirroringRulesBuilderList()Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
int |
|
getPacketMirroringRulesList()
public List<FirewallPolicyRule> getPacketMirroringRulesList()Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356;
| Returns | |
|---|---|
| Type | Description |
List<FirewallPolicyRule> |
|
getPacketMirroringRulesOrBuilder(int index)
public FirewallPolicyRuleOrBuilder getPacketMirroringRulesOrBuilder(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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRuleOrBuilder |
|
getPacketMirroringRulesOrBuilderList()
public List<? extends FirewallPolicyRuleOrBuilder> getPacketMirroringRulesOrBuilderList()Output only. [Output only] The packet mirroring rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder> |
|
getPriority()
public int getPriority()Output only. [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
optional int32 priority = 445151652;
| Returns | |
|---|---|
| Type | Description |
int |
The priority. |
getRules(int index)
public FirewallPolicyRule getRules(int index)Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRule |
|
getRulesBuilder(int index)
public FirewallPolicyRule.Builder getRulesBuilder(int index)Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRule.Builder |
|
getRulesBuilderList()
public List<FirewallPolicyRule.Builder> getRulesBuilderList()Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getRulesCount()
public int getRulesCount()Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Returns | |
|---|---|
| Type | Description |
int |
|
getRulesList()
public List<FirewallPolicyRule> getRulesList()Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Returns | |
|---|---|
| Type | Description |
List<FirewallPolicyRule> |
|
getRulesOrBuilder(int index)
public FirewallPolicyRuleOrBuilder getRulesOrBuilder(int index)Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRuleOrBuilder |
|
getRulesOrBuilderList()
public List<? extends FirewallPolicyRuleOrBuilder> getRulesOrBuilderList()Output only. [Output only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder> |
|
getType()
public String 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;
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
public 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |
hasDisplayName()
public boolean hasDisplayName()Output only. [Output Only] The display name of the firewall policy.
optional string display_name = 4473832;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the displayName field is set. |
hasName()
public boolean hasName()Output only. [Output Only] The name of the firewall policy.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the name field is set. |
hasPriority()
public boolean hasPriority()Output only. [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
optional int32 priority = 445151652;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the priority field is set. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the type field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy other)
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder mergeFrom(RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy other)| Parameter | |
|---|---|
| Name | Description |
other |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
removePacketMirroringRules(int index)
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
removeRules(int index)
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
setDisplayName(String value)
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setDisplayName(String value)Output only. [Output Only] The display name of the firewall policy.
optional string display_name = 4473832;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setDisplayNameBytes(ByteString value)Output only. [Output Only] The display name of the firewall policy.
optional string display_name = 4473832;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
setName(String value)
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setName(String value)Output only. [Output Only] The name of the firewall policy.
optional string name = 3373707;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setNameBytes(ByteString value)Output only. [Output Only] The name of the firewall policy.
optional string name = 3373707;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
setPacketMirroringRules(int index, FirewallPolicyRule value)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
FirewallPolicyRule |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
setPacketMirroringRules(int index, FirewallPolicyRule.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
FirewallPolicyRule.Builder |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
setPriority(int value)
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setPriority(int value)Output only. [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
optional int32 priority = 445151652;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe priority to set. |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
setRules(int index, FirewallPolicyRule value)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
FirewallPolicyRule |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
setRules(int index, FirewallPolicyRule.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
FirewallPolicyRule.Builder |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
setType(String value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe type to set. |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setTypeBytes(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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for type to set. |
| Returns | |
|---|---|
| Type | Description |
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |