Class InstancesGetEffectiveFirewallsResponse.Builder (1.53.0)

public static final class InstancesGetEffectiveFirewallsResponse.Builder extends GeneratedMessageV3.Builder<InstancesGetEffectiveFirewallsResponse.Builder> implements InstancesGetEffectiveFirewallsResponseOrBuilder

Protobuf type google.cloud.compute.v1.InstancesGetEffectiveFirewallsResponse

Static Methods

getDescriptor()

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

Methods

addAllFirewallPolicys(Iterable<? extends InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy> values)

public InstancesGetEffectiveFirewallsResponse.Builder addAllFirewallPolicys(Iterable<? extends InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy> values)

Effective firewalls from firewall policies.

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

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

addAllFirewalls(Iterable<? extends Firewall> values)

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

Effective firewalls on the instance.

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

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

addFirewallPolicys(InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy value)

public InstancesGetEffectiveFirewallsResponse.Builder addFirewallPolicys(InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy value)

Effective firewalls from firewall policies.

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

Parameter
Name Description
value InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
Returns
Type Description
InstancesGetEffectiveFirewallsResponse.Builder

addFirewallPolicys(InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder builderForValue)

public InstancesGetEffectiveFirewallsResponse.Builder addFirewallPolicys(InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder builderForValue)

Effective firewalls from firewall policies.

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

Parameter
Name Description
builderForValue InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder
Returns
Type Description
InstancesGetEffectiveFirewallsResponse.Builder

addFirewallPolicys(int index, InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy value)

public InstancesGetEffectiveFirewallsResponse.Builder addFirewallPolicys(int index, InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy value)

Effective firewalls from firewall policies.

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

Parameters
Name Description
index int
value InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
Returns
Type Description
InstancesGetEffectiveFirewallsResponse.Builder

addFirewallPolicys(int index, InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder builderForValue)

public InstancesGetEffectiveFirewallsResponse.Builder addFirewallPolicys(int index, InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder builderForValue)

Effective firewalls from firewall policies.

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

Parameters
Name Description
index int
builderForValue InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder
Returns
Type Description
InstancesGetEffectiveFirewallsResponse.Builder

addFirewallPolicysBuilder()

public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addFirewallPolicysBuilder()

Effective firewalls from firewall policies.

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

Returns
Type Description
InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

addFirewallPolicysBuilder(int index)

public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addFirewallPolicysBuilder(int index)

Effective firewalls from firewall policies.

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

Parameter
Name Description
index int
Returns
Type Description
InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

addFirewalls(Firewall value)

public InstancesGetEffectiveFirewallsResponse.Builder addFirewalls(Firewall value)

Effective firewalls on the instance.

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

Parameter
Name Description
value Firewall
Returns
Type Description
InstancesGetEffectiveFirewallsResponse.Builder

addFirewalls(Firewall.Builder builderForValue)

public InstancesGetEffectiveFirewallsResponse.Builder addFirewalls(Firewall.Builder builderForValue)

Effective firewalls on the instance.

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

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

addFirewalls(int index, Firewall value)

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

Effective firewalls on the instance.

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

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

addFirewalls(int index, Firewall.Builder builderForValue)

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

Effective firewalls on the instance.

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

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

addFirewallsBuilder()

public Firewall.Builder addFirewallsBuilder()

Effective firewalls on the instance.

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 instance.

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 InstancesGetEffectiveFirewallsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InstancesGetEffectiveFirewallsResponse.Builder
Overrides

build()

public InstancesGetEffectiveFirewallsResponse build()
Returns
Type Description
InstancesGetEffectiveFirewallsResponse

buildPartial()

public InstancesGetEffectiveFirewallsResponse buildPartial()
Returns
Type Description
InstancesGetEffectiveFirewallsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFirewallPolicys()

public InstancesGetEffectiveFirewallsResponse.Builder clearFirewallPolicys()

Effective firewalls from firewall policies.

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

Returns
Type Description
InstancesGetEffectiveFirewallsResponse.Builder

clearFirewalls()

public InstancesGetEffectiveFirewallsResponse.Builder clearFirewalls()

Effective firewalls on the instance.

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

Returns
Type Description
InstancesGetEffectiveFirewallsResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public InstancesGetEffectiveFirewallsResponse getDefaultInstanceForType()
Returns
Type Description
InstancesGetEffectiveFirewallsResponse

getDescriptorForType()

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

getFirewallPolicys(int index)

public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy getFirewallPolicys(int index)

Effective firewalls from firewall policies.

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

Parameter
Name Description
index int
Returns
Type Description
InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy

getFirewallPolicysBuilder(int index)

public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder getFirewallPolicysBuilder(int index)

Effective firewalls from firewall policies.

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

Parameter
Name Description
index int
Returns
Type Description
InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

getFirewallPolicysBuilderList()

public List<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder> getFirewallPolicysBuilderList()

Effective firewalls from firewall policies.

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

Returns
Type Description
List<Builder>

getFirewallPolicysCount()

public int getFirewallPolicysCount()

Effective firewalls from firewall policies.

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

Returns
Type Description
int

getFirewallPolicysList()

public List<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy> getFirewallPolicysList()

Effective firewalls from firewall policies.

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

Returns
Type Description
List<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy>

getFirewallPolicysOrBuilder(int index)

public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder getFirewallPolicysOrBuilder(int index)

Effective firewalls from firewall policies.

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

Parameter
Name Description
index int
Returns
Type Description
InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder

getFirewallPolicysOrBuilderList()

public List<? extends InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder> getFirewallPolicysOrBuilderList()

Effective firewalls from firewall policies.

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

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

getFirewalls(int index)

public Firewall getFirewalls(int index)

Effective firewalls on the instance.

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 instance.

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 instance.

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

Returns
Type Description
List<Builder>

getFirewallsCount()

public int getFirewallsCount()

Effective firewalls on the instance.

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

Returns
Type Description
int

getFirewallsList()

public List<Firewall> getFirewallsList()

Effective firewalls on the instance.

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 instance.

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 instance.

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(InstancesGetEffectiveFirewallsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeFirewallPolicys(int index)

public InstancesGetEffectiveFirewallsResponse.Builder removeFirewallPolicys(int index)

Effective firewalls from firewall policies.

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

Parameter
Name Description
index int
Returns
Type Description
InstancesGetEffectiveFirewallsResponse.Builder

removeFirewalls(int index)

public InstancesGetEffectiveFirewallsResponse.Builder removeFirewalls(int index)

Effective firewalls on the instance.

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

Parameter
Name Description
index int
Returns
Type Description
InstancesGetEffectiveFirewallsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFirewallPolicys(int index, InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy value)

public InstancesGetEffectiveFirewallsResponse.Builder setFirewallPolicys(int index, InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy value)

Effective firewalls from firewall policies.

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

Parameters
Name Description
index int
value InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
Returns
Type Description
InstancesGetEffectiveFirewallsResponse.Builder

setFirewallPolicys(int index, InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder builderForValue)

public InstancesGetEffectiveFirewallsResponse.Builder setFirewallPolicys(int index, InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder builderForValue)

Effective firewalls from firewall policies.

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

Parameters
Name Description
index int
builderForValue InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder
Returns
Type Description
InstancesGetEffectiveFirewallsResponse.Builder

setFirewalls(int index, Firewall value)

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

Effective firewalls on the instance.

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

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

setFirewalls(int index, Firewall.Builder builderForValue)

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

Effective firewalls on the instance.

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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