Class NetworksGetEffectiveFirewallsResponse.Builder (1.65.0)

public static final class NetworksGetEffectiveFirewallsResponse.Builder extends GeneratedMessageV3.Builder<NetworksGetEffectiveFirewallsResponse.Builder> implements NetworksGetEffectiveFirewallsResponseOrBuilder

Protobuf type google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllFirewallPolicys(Iterable<? extends NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy> values)

public NetworksGetEffectiveFirewallsResponse.Builder addAllFirewallPolicys(Iterable<? extends NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy> values)

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy>
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder

addAllFirewalls(Iterable<? extends Firewall> values)

public NetworksGetEffectiveFirewallsResponse.Builder addAllFirewalls(Iterable<? extends Firewall> values)

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.Firewall>
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder

addFirewallPolicys(NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy value)

public NetworksGetEffectiveFirewallsResponse.Builder addFirewallPolicys(NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy value)

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Parameter
Name Description
value NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder

addFirewallPolicys(NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder builderForValue)

public NetworksGetEffectiveFirewallsResponse.Builder addFirewallPolicys(NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder builderForValue)

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Parameter
Name Description
builderForValue NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder

addFirewallPolicys(int index, NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy value)

public NetworksGetEffectiveFirewallsResponse.Builder addFirewallPolicys(int index, NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy value)

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Parameters
Name Description
index int
value NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder

addFirewallPolicys(int index, NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder builderForValue)

public NetworksGetEffectiveFirewallsResponse.Builder addFirewallPolicys(int index, NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder builderForValue)

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Parameters
Name Description
index int
builderForValue NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder

addFirewallPolicysBuilder()

public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addFirewallPolicysBuilder()

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Returns
Type Description
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

addFirewallPolicysBuilder(int index)

public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addFirewallPolicysBuilder(int index)

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Parameter
Name Description
index int
Returns
Type Description
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

addFirewalls(Firewall value)

public NetworksGetEffectiveFirewallsResponse.Builder addFirewalls(Firewall value)

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Parameter
Name Description
value Firewall
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder

addFirewalls(Firewall.Builder builderForValue)

public NetworksGetEffectiveFirewallsResponse.Builder addFirewalls(Firewall.Builder builderForValue)

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Parameter
Name Description
builderForValue Firewall.Builder
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder

addFirewalls(int index, Firewall value)

public NetworksGetEffectiveFirewallsResponse.Builder addFirewalls(int index, Firewall value)

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Parameters
Name Description
index int
value Firewall
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder

addFirewalls(int index, Firewall.Builder builderForValue)

public NetworksGetEffectiveFirewallsResponse.Builder addFirewalls(int index, Firewall.Builder builderForValue)

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Parameters
Name Description
index int
builderForValue Firewall.Builder
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder

addFirewallsBuilder()

public Firewall.Builder addFirewallsBuilder()

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Returns
Type Description
Firewall.Builder

addFirewallsBuilder(int index)

public Firewall.Builder addFirewallsBuilder(int index)

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Parameter
Name Description
index int
Returns
Type Description
Firewall.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NetworksGetEffectiveFirewallsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder
Overrides

build()

public NetworksGetEffectiveFirewallsResponse build()
Returns
Type Description
NetworksGetEffectiveFirewallsResponse

buildPartial()

public NetworksGetEffectiveFirewallsResponse buildPartial()
Returns
Type Description
NetworksGetEffectiveFirewallsResponse

clear()

public NetworksGetEffectiveFirewallsResponse.Builder clear()
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NetworksGetEffectiveFirewallsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder
Overrides

clearFirewallPolicys()

public NetworksGetEffectiveFirewallsResponse.Builder clearFirewallPolicys()

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder

clearFirewalls()

public NetworksGetEffectiveFirewallsResponse.Builder clearFirewalls()

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public NetworksGetEffectiveFirewallsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder
Overrides

clone()

public NetworksGetEffectiveFirewallsResponse.Builder clone()
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder
Overrides

getDefaultInstanceForType()

public NetworksGetEffectiveFirewallsResponse getDefaultInstanceForType()
Returns
Type Description
NetworksGetEffectiveFirewallsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFirewallPolicys(int index)

public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy getFirewallPolicys(int index)

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Parameter
Name Description
index int
Returns
Type Description
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy

getFirewallPolicysBuilder(int index)

public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder getFirewallPolicysBuilder(int index)

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Parameter
Name Description
index int
Returns
Type Description
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

getFirewallPolicysBuilderList()

public List<NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder> getFirewallPolicysBuilderList()

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Returns
Type Description
List<Builder>

getFirewallPolicysCount()

public int getFirewallPolicysCount()

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Returns
Type Description
int

getFirewallPolicysList()

public List<NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy> getFirewallPolicysList()

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Returns
Type Description
List<NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy>

getFirewallPolicysOrBuilder(int index)

public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder getFirewallPolicysOrBuilder(int index)

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Parameter
Name Description
index int
Returns
Type Description
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder

getFirewallPolicysOrBuilderList()

public List<? extends NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder> getFirewallPolicysOrBuilderList()

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder>

getFirewalls(int index)

public Firewall getFirewalls(int index)

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Parameter
Name Description
index int
Returns
Type Description
Firewall

getFirewallsBuilder(int index)

public Firewall.Builder getFirewallsBuilder(int index)

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Parameter
Name Description
index int
Returns
Type Description
Firewall.Builder

getFirewallsBuilderList()

public List<Firewall.Builder> getFirewallsBuilderList()

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Returns
Type Description
List<Builder>

getFirewallsCount()

public int getFirewallsCount()

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Returns
Type Description
int

getFirewallsList()

public List<Firewall> getFirewallsList()

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Returns
Type Description
List<Firewall>

getFirewallsOrBuilder(int index)

public FirewallOrBuilder getFirewallsOrBuilder(int index)

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Parameter
Name Description
index int
Returns
Type Description
FirewallOrBuilder

getFirewallsOrBuilderList()

public List<? extends FirewallOrBuilder> getFirewallsOrBuilderList()

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.FirewallOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NetworksGetEffectiveFirewallsResponse other)

public NetworksGetEffectiveFirewallsResponse.Builder mergeFrom(NetworksGetEffectiveFirewallsResponse other)
Parameter
Name Description
other NetworksGetEffectiveFirewallsResponse
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NetworksGetEffectiveFirewallsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NetworksGetEffectiveFirewallsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NetworksGetEffectiveFirewallsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder
Overrides

removeFirewallPolicys(int index)

public NetworksGetEffectiveFirewallsResponse.Builder removeFirewallPolicys(int index)

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Parameter
Name Description
index int
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder

removeFirewalls(int index)

public NetworksGetEffectiveFirewallsResponse.Builder removeFirewalls(int index)

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Parameter
Name Description
index int
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NetworksGetEffectiveFirewallsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder
Overrides

setFirewallPolicys(int index, NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy value)

public NetworksGetEffectiveFirewallsResponse.Builder setFirewallPolicys(int index, NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy value)

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Parameters
Name Description
index int
value NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder

setFirewallPolicys(int index, NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder builderForValue)

public NetworksGetEffectiveFirewallsResponse.Builder setFirewallPolicys(int index, NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder builderForValue)

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Parameters
Name Description
index int
builderForValue NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder

setFirewalls(int index, Firewall value)

public NetworksGetEffectiveFirewallsResponse.Builder setFirewalls(int index, Firewall value)

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Parameters
Name Description
index int
value Firewall
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder

setFirewalls(int index, Firewall.Builder builderForValue)

public NetworksGetEffectiveFirewallsResponse.Builder setFirewalls(int index, Firewall.Builder builderForValue)

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Parameters
Name Description
index int
builderForValue Firewall.Builder
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NetworksGetEffectiveFirewallsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NetworksGetEffectiveFirewallsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NetworksGetEffectiveFirewallsResponse.Builder
Overrides