Class InstancesGetEffectiveFirewallsResponse.Builder (1.8.1)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.Firewall>
Returns
TypeDescription
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
NameDescription
valueInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
Returns
TypeDescription
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
NameDescription
builderForValueInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder
Returns
TypeDescription
InstancesGetEffectiveFirewallsResponse.Builder

addFirewallPolicysBuilder()

public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addFirewallPolicysBuilder()

Effective firewalls from firewall policies.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueFirewall
Returns
TypeDescription
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
NameDescription
builderForValueFirewall.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueFirewall
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFirewall.Builder
Returns
TypeDescription
InstancesGetEffectiveFirewallsResponse.Builder

addFirewallsBuilder()

public Firewall.Builder addFirewallsBuilder()

Effective firewalls on the instance.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Firewall.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InstancesGetEffectiveFirewallsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InstancesGetEffectiveFirewallsResponse.Builder
Overrides

build()

public InstancesGetEffectiveFirewallsResponse build()
Returns
TypeDescription
InstancesGetEffectiveFirewallsResponse

buildPartial()

public InstancesGetEffectiveFirewallsResponse buildPartial()
Returns
TypeDescription
InstancesGetEffectiveFirewallsResponse

clear()

public InstancesGetEffectiveFirewallsResponse.Builder clear()
Returns
TypeDescription
InstancesGetEffectiveFirewallsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InstancesGetEffectiveFirewallsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
InstancesGetEffectiveFirewallsResponse.Builder
Overrides

clearFirewallPolicys()

public InstancesGetEffectiveFirewallsResponse.Builder clearFirewallPolicys()

Effective firewalls from firewall policies.

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

Returns
TypeDescription
InstancesGetEffectiveFirewallsResponse.Builder

clearFirewalls()

public InstancesGetEffectiveFirewallsResponse.Builder clearFirewalls()

Effective firewalls on the instance.

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

Returns
TypeDescription
InstancesGetEffectiveFirewallsResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public InstancesGetEffectiveFirewallsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InstancesGetEffectiveFirewallsResponse.Builder
Overrides

clone()

public InstancesGetEffectiveFirewallsResponse.Builder clone()
Returns
TypeDescription
InstancesGetEffectiveFirewallsResponse.Builder
Overrides

getDefaultInstanceForType()

public InstancesGetEffectiveFirewallsResponse getDefaultInstanceForType()
Returns
TypeDescription
InstancesGetEffectiveFirewallsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

getFirewallPolicysBuilderList()

public List<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder> getFirewallPolicysBuilderList()

Effective firewalls from firewall policies.

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

Returns
TypeDescription
List<Builder>

getFirewallPolicysCount()

public int getFirewallPolicysCount()

Effective firewalls from firewall policies.

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

Returns
TypeDescription
int

getFirewallPolicysList()

public List<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy> getFirewallPolicysList()

Effective firewalls from firewall policies.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder

getFirewallPolicysOrBuilderList()

public List<? extends InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder> getFirewallPolicysOrBuilderList()

Effective firewalls from firewall policies.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Firewall

getFirewallsBuilder(int index)

public Firewall.Builder getFirewallsBuilder(int index)

Effective firewalls on the instance.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Firewall.Builder

getFirewallsBuilderList()

public List<Firewall.Builder> getFirewallsBuilderList()

Effective firewalls on the instance.

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

Returns
TypeDescription
List<Builder>

getFirewallsCount()

public int getFirewallsCount()

Effective firewalls on the instance.

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

Returns
TypeDescription
int

getFirewallsList()

public List<Firewall> getFirewallsList()

Effective firewalls on the instance.

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

Returns
TypeDescription
List<Firewall>

getFirewallsOrBuilder(int index)

public FirewallOrBuilder getFirewallsOrBuilder(int index)

Effective firewalls on the instance.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FirewallOrBuilder

getFirewallsOrBuilderList()

public List<? extends FirewallOrBuilder> getFirewallsOrBuilderList()

Effective firewalls on the instance.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InstancesGetEffectiveFirewallsResponse other)

public InstancesGetEffectiveFirewallsResponse.Builder mergeFrom(InstancesGetEffectiveFirewallsResponse other)
Parameter
NameDescription
otherInstancesGetEffectiveFirewallsResponse
Returns
TypeDescription
InstancesGetEffectiveFirewallsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InstancesGetEffectiveFirewallsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstancesGetEffectiveFirewallsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InstancesGetEffectiveFirewallsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InstancesGetEffectiveFirewallsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstancesGetEffectiveFirewallsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InstancesGetEffectiveFirewallsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InstancesGetEffectiveFirewallsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueFirewall
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFirewall.Builder
Returns
TypeDescription
InstancesGetEffectiveFirewallsResponse.Builder

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

public InstancesGetEffectiveFirewallsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InstancesGetEffectiveFirewallsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InstancesGetEffectiveFirewallsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InstancesGetEffectiveFirewallsResponse.Builder
Overrides