public static final class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder extends GeneratedMessage.Builder<NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder> implements NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder Protobuf type
google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPacketMirroringRules(Iterable<? extends FirewallPolicyRule> values)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
addAllRules(Iterable<? extends FirewallPolicyRule> values)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addAllRules(Iterable<? extends FirewallPolicyRule> values)[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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
addPacketMirroringRules(FirewallPolicyRule value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
addPacketMirroringRules(FirewallPolicyRule.Builder builderForValue)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
addPacketMirroringRules(int index, FirewallPolicyRule value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
addPacketMirroringRules(int index, FirewallPolicyRule.Builder builderForValue)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.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 NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addRules(FirewallPolicyRule value)[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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
addRules(FirewallPolicyRule.Builder builderForValue)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addRules(FirewallPolicyRule.Builder builderForValue)[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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
addRules(int index, FirewallPolicyRule value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addRules(int index, FirewallPolicyRule value)[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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
addRules(int index, FirewallPolicyRule.Builder builderForValue)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addRules(int index, FirewallPolicyRule.Builder builderForValue)[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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
addRulesBuilder()
public FirewallPolicyRule.Builder addRulesBuilder()[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] 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 NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy build()| Returns | |
|---|---|
| Type | Description |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy |
|
buildPartial()
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy buildPartial()| Returns | |
|---|---|
| Type | Description |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy |
|
clear()
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clear()| Returns | |
|---|---|
| Type | Description |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
clearDisplayName()
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearDisplayName()Output only. [Output Only] Deprecated, please use short name instead. The display name of the firewall policy.
optional string display_name = 4473832;
| Returns | |
|---|---|
| Type | Description |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
clearName()
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearName()Output only. [Output Only] The name of the firewall policy.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
clearPacketMirroringRules()
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
clearPriority()
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearPriority()Output only. [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
optional int32 priority = 445151652;
| Returns | |
|---|---|
| Type | Description |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
clearRules()
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearRules()[Output Only] The rules that apply to the network.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Returns | |
|---|---|
| Type | Description |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
clearShortName()
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearShortName()Output only. [Output Only] The short name of the firewall policy.
optional string short_name = 492051566;
| Returns | |
|---|---|
| Type | Description |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
clearType()
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearType()Output only. [Output Only] The type of the firewall policy. Check the Type enum for the list of possible values.
optional string type = 3575610;
| Returns | |
|---|---|
| Type | Description |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Output only. [Output Only] Deprecated, please use short name instead. 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] Deprecated, please use short name instead. 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] 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] 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] 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] 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] 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] 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] 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> |
|
getShortName()
public String getShortName()Output only. [Output Only] The short name of the firewall policy.
optional string short_name = 492051566;
| Returns | |
|---|---|
| Type | Description |
String |
The shortName. |
getShortNameBytes()
public ByteString getShortNameBytes()Output only. [Output Only] The short name of the firewall policy.
optional string short_name = 492051566;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for shortName. |
getType()
public String getType()Output only. [Output Only] The type of the firewall policy. 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. 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] Deprecated, please use short name instead. 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. |
hasShortName()
public boolean hasShortName()Output only. [Output Only] The short name of the firewall policy.
optional string short_name = 492051566;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the shortName field is set. |
hasType()
public boolean hasType()Output only. [Output Only] The type of the firewall policy. 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(NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy other)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder mergeFrom(NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy other)| Parameter | |
|---|---|
| Name | Description |
other |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy |
| Returns | |
|---|---|
| Type | Description |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
removePacketMirroringRules(int index)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
removeRules(int index)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder removeRules(int index)[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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
setDisplayName(String value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setDisplayName(String value)Output only. [Output Only] Deprecated, please use short name instead. The display name of the firewall policy.
optional string display_name = 4473832;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setDisplayNameBytes(ByteString value)Output only. [Output Only] Deprecated, please use short name instead. 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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
setName(String value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
setPacketMirroringRules(int index, FirewallPolicyRule value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
setPacketMirroringRules(int index, FirewallPolicyRule.Builder builderForValue)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
setPriority(int value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
setRules(int index, FirewallPolicyRule value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setRules(int index, FirewallPolicyRule value)[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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
setRules(int index, FirewallPolicyRule.Builder builderForValue)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setRules(int index, FirewallPolicyRule.Builder builderForValue)[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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
|
setShortName(String value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setShortName(String value)Output only. [Output Only] The short name of the firewall policy.
optional string short_name = 492051566;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe shortName to set. |
| Returns | |
|---|---|
| Type | Description |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
setShortNameBytes(ByteString value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setShortNameBytes(ByteString value)Output only. [Output Only] The short name of the firewall policy.
optional string short_name = 492051566;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for shortName to set. |
| Returns | |
|---|---|
| Type | Description |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
setType(String value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setType(String value)Output only. [Output Only] The type of the firewall policy. 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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setTypeBytes(ByteString value)Output only. [Output Only] The type of the firewall policy. 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 |
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |
This builder for chaining. |