Class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder (1.12.0)

public static final class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder extends GeneratedMessageV3.Builder<RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder> implements RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder

Protobuf type google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllRules(Iterable<? extends FirewallPolicyRule> values)

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addAllRules(Iterable<? extends FirewallPolicyRule> values)

The rules that apply to the network.

repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.FirewallPolicyRule>
Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRules(FirewallPolicyRule value)

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addRules(FirewallPolicyRule value)

The rules that apply to the network.

repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;

Parameter
NameDescription
valueFirewallPolicyRule
Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

addRules(FirewallPolicyRule.Builder builderForValue)

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addRules(FirewallPolicyRule.Builder builderForValue)

The rules that apply to the network.

repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;

Parameter
NameDescription
builderForValueFirewallPolicyRule.Builder
Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

addRules(int index, FirewallPolicyRule value)

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addRules(int index, FirewallPolicyRule value)

The rules that apply to the network.

repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;

Parameters
NameDescription
indexint
valueFirewallPolicyRule
Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

addRules(int index, FirewallPolicyRule.Builder builderForValue)

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addRules(int index, FirewallPolicyRule.Builder builderForValue)

The rules that apply to the network.

repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;

Parameters
NameDescription
indexint
builderForValueFirewallPolicyRule.Builder
Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

addRulesBuilder()

public FirewallPolicyRule.Builder addRulesBuilder()

The rules that apply to the network.

repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;

Returns
TypeDescription
FirewallPolicyRule.Builder

addRulesBuilder(int index)

public FirewallPolicyRule.Builder addRulesBuilder(int index)

The rules that apply to the network.

repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;

Parameter
NameDescription
indexint
Returns
TypeDescription
FirewallPolicyRule.Builder

build()

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy build()
Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy

buildPartial()

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy buildPartial()
Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy

clear()

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

clearDisplayName()

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearDisplayName()

[Output Only] The display name of the firewall policy.

optional string display_name = 4473832;

Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearName()

[Output Only] The name of the firewall policy.

optional string name = 3373707;

Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRules()

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearRules()

The rules that apply to the network.

repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;

Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

clearType()

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearType()

[Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy getDefaultInstanceForType()
Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

[Output Only] The display name of the firewall policy.

optional string display_name = 4473832;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

[Output Only] The display name of the firewall policy.

optional string display_name = 4473832;

Returns
TypeDescription
ByteString

The bytes for displayName.

getName()

public String getName()

[Output Only] The name of the firewall policy.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

[Output Only] The name of the firewall policy.

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

getRules(int index)

public FirewallPolicyRule getRules(int index)

The rules that apply to the network.

repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;

Parameter
NameDescription
indexint
Returns
TypeDescription
FirewallPolicyRule

getRulesBuilder(int index)

public FirewallPolicyRule.Builder getRulesBuilder(int index)

The rules that apply to the network.

repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;

Parameter
NameDescription
indexint
Returns
TypeDescription
FirewallPolicyRule.Builder

getRulesBuilderList()

public List<FirewallPolicyRule.Builder> getRulesBuilderList()

The rules that apply to the network.

repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;

Returns
TypeDescription
List<Builder>

getRulesCount()

public int getRulesCount()

The rules that apply to the network.

repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;

Returns
TypeDescription
int

getRulesList()

public List<FirewallPolicyRule> getRulesList()

The rules that apply to the network.

repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;

Returns
TypeDescription
List<FirewallPolicyRule>

getRulesOrBuilder(int index)

public FirewallPolicyRuleOrBuilder getRulesOrBuilder(int index)

The rules that apply to the network.

repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;

Parameter
NameDescription
indexint
Returns
TypeDescription
FirewallPolicyRuleOrBuilder

getRulesOrBuilderList()

public List<? extends FirewallPolicyRuleOrBuilder> getRulesOrBuilderList()

The rules that apply to the network.

repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;

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

getType()

public String getType()

[Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
TypeDescription
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

[Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
TypeDescription
ByteString

The bytes for type.

hasDisplayName()

public boolean hasDisplayName()

[Output Only] The display name of the firewall policy.

optional string display_name = 4473832;

Returns
TypeDescription
boolean

Whether the displayName field is set.

hasName()

public boolean hasName()

[Output Only] The name of the firewall policy.

optional string name = 3373707;

Returns
TypeDescription
boolean

Whether the name field is set.

hasType()

public boolean hasType()

[Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
TypeDescription
boolean

Whether the type field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy other)

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder mergeFrom(RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy other)
Parameter
NameDescription
otherRegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder
Overrides

removeRules(int index)

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder removeRules(int index)

The rules that apply to the network.

repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;

Parameter
NameDescription
indexint
Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

setDisplayName(String value)

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setDisplayName(String value)

[Output Only] The display name of the firewall policy.

optional string display_name = 4473832;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setDisplayNameBytes(ByteString value)

[Output Only] The display name of the firewall policy.

optional string display_name = 4473832;

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setName(String value)

[Output Only] The name of the firewall policy.

optional string name = 3373707;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

This builder for chaining.

setNameBytes(ByteString value)

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setNameBytes(ByteString value)

[Output Only] The name of the firewall policy.

optional string name = 3373707;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

This builder for chaining.

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

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

setRules(int index, FirewallPolicyRule value)

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setRules(int index, FirewallPolicyRule value)

The rules that apply to the network.

repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;

Parameters
NameDescription
indexint
valueFirewallPolicyRule
Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

setRules(int index, FirewallPolicyRule.Builder builderForValue)

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setRules(int index, FirewallPolicyRule.Builder builderForValue)

The rules that apply to the network.

repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;

Parameters
NameDescription
indexint
builderForValueFirewallPolicyRule.Builder
Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

setType(String value)

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setType(String value)

[Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. Check the Type enum for the list of possible values.

optional string type = 3575610;

Parameter
NameDescription
valueString

The type to set.

Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setTypeBytes(ByteString value)

[Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. Check the Type enum for the list of possible values.

optional string type = 3575610;

Parameter
NameDescription
valueByteString

The bytes for type to set.

Returns
TypeDescription
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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