- 1.86.0 (latest)
 - 1.85.0
 - 1.84.0
 - 1.83.0
 - 1.82.0
 - 1.80.0
 - 1.78.0
 - 1.77.0
 - 1.74.0
 - 1.73.0
 - 1.72.0
 - 1.70.0
 - 1.69.0
 - 1.68.0
 - 1.67.0
 - 1.66.0
 - 1.65.0
 - 1.64.0
 - 1.63.0
 - 1.62.0
 - 1.61.0
 - 1.59.0
 - 1.58.0
 - 1.57.0
 - 1.56.0
 - 1.55.0
 - 1.54.0
 - 1.53.0
 - 1.52.0
 - 1.51.0
 - 1.50.0
 - 1.49.0
 - 1.47.0
 - 1.46.0
 - 1.45.0
 - 1.44.0
 - 1.43.0
 - 1.42.0
 - 1.41.0
 - 1.40.0
 - 1.39.0
 - 1.38.0
 - 1.37.0
 - 1.34.0
 - 1.33.0
 - 1.32.0
 - 1.31.0
 - 1.30.0
 - 1.29.0
 - 1.28.0
 - 1.27.0
 - 1.26.0
 - 1.25.0
 - 1.24.0
 - 1.23.0
 - 1.22.0
 - 1.21.0
 - 1.20.0
 - 1.19.0
 - 1.18.0
 - 1.17.0
 - 1.16.0
 - 1.15.0
 - 1.14.0
 - 1.13.0
 - 1.12.1
 - 1.11.0
 - 1.9.1
 - 1.8.1
 - 1.7.2
 - 1.6.0-beta
 
public static final class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder extends GeneratedMessageV3.Builder<NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder> implements NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder Protobuf type 
 google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description | 
Descriptor | 
        
Methods
addAllRules(Iterable<? extends FirewallPolicyRule> values)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addAllRules(Iterable<? extends FirewallPolicyRule> values)The rules that apply to the network.
 repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Name | Description | 
values | 
        Iterable<? extends com.google.cloud.compute.v1.FirewallPolicyRule> | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        
addRules(FirewallPolicyRule value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addRules(FirewallPolicyRule value)The rules that apply to the network.
 repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Name | Description | 
value | 
        FirewallPolicyRule | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        
addRules(FirewallPolicyRule.Builder builderForValue)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addRules(FirewallPolicyRule.Builder builderForValue)The rules that apply to the network.
 repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Name | Description | 
builderForValue | 
        FirewallPolicyRule.Builder | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        
addRules(int index, FirewallPolicyRule value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addRules(int index, FirewallPolicyRule value)The rules that apply to the network.
 repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Name | Description | 
index | 
        int | 
      
value | 
        FirewallPolicyRule | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        
addRules(int index, FirewallPolicyRule.Builder builderForValue)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addRules(int index, FirewallPolicyRule.Builder builderForValue)The rules that apply to the network.
 repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        FirewallPolicyRule.Builder | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        
addRulesBuilder()
public FirewallPolicyRule.Builder addRulesBuilder()The rules that apply to the network.
 repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Type | Description | 
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;
| Name | Description | 
index | 
        int | 
      
| Type | Description | 
FirewallPolicyRule.Builder | 
        
build()
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy build()| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy | 
        
buildPartial()
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy buildPartial()| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy | 
        
clear()
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clear()| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        
clearDisplayName()
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearDisplayName()[Output Only] Deprecated, please use short name instead. The display name of the firewall policy.
 optional string display_name = 4473832;
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description | 
field | 
        FieldDescriptor | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        
clearName()
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearName()[Output Only] The name of the firewall policy.
 optional string name = 3373707;
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        
clearRules()
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearRules()The rules that apply to the network.
 repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        
clearShortName()
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearShortName()[Output Only] The short name of the firewall policy.
 optional string short_name = 492051566;
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        This builder for chaining.  | 
      
clearType()
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearType()[Output Only] The type of the firewall policy. Check the Type enum for the list of possible values.
 optional string type = 3575610;
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        This builder for chaining.  | 
      
clone()
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clone()| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        
getDefaultInstanceForType()
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy getDefaultInstanceForType()| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy | 
        
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description | 
Descriptor | 
        
getDisplayName()
public String getDisplayName()[Output Only] Deprecated, please use short name instead. The display name of the firewall policy.
 optional string display_name = 4473832;
| Type | Description | 
String | 
        The displayName.  | 
      
getDisplayNameBytes()
public ByteString getDisplayNameBytes()[Output Only] Deprecated, please use short name instead. The display name of the firewall policy.
 optional string display_name = 4473832;
| Type | Description | 
ByteString | 
        The bytes for displayName.  | 
      
getName()
public String getName()[Output Only] The name of the firewall policy.
 optional string name = 3373707;
| Type | Description | 
String | 
        The name.  | 
      
getNameBytes()
public ByteString getNameBytes()[Output Only] The name of the firewall policy.
 optional string name = 3373707;
| Type | Description | 
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;
| Name | Description | 
index | 
        int | 
      
| Type | Description | 
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;
| Name | Description | 
index | 
        int | 
      
| Type | Description | 
FirewallPolicyRule.Builder | 
        
getRulesBuilderList()
public List<FirewallPolicyRule.Builder> getRulesBuilderList()The rules that apply to the network.
 repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Type | Description | 
List<Builder> | 
        
getRulesCount()
public int getRulesCount()The rules that apply to the network.
 repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Type | Description | 
int | 
        
getRulesList()
public List<FirewallPolicyRule> getRulesList()The rules that apply to the network.
 repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Type | Description | 
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;
| Name | Description | 
index | 
        int | 
      
| Type | Description | 
FirewallPolicyRuleOrBuilder | 
        
getRulesOrBuilderList()
public List<? extends FirewallPolicyRuleOrBuilder> getRulesOrBuilderList()The rules that apply to the network.
 repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Type | Description | 
List<? extends com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder> | 
        
getShortName()
public String getShortName()[Output Only] The short name of the firewall policy.
 optional string short_name = 492051566;
| Type | Description | 
String | 
        The shortName.  | 
      
getShortNameBytes()
public ByteString getShortNameBytes()[Output Only] The short name of the firewall policy.
 optional string short_name = 492051566;
| Type | Description | 
ByteString | 
        The bytes for shortName.  | 
      
getType()
public String getType()[Output Only] The type of the firewall policy. Check the Type enum for the list of possible values.
 optional string type = 3575610;
| Type | Description | 
String | 
        The type.  | 
      
getTypeBytes()
public ByteString getTypeBytes()[Output Only] The type of the firewall policy. Check the Type enum for the list of possible values.
 optional string type = 3575610;
| Type | Description | 
ByteString | 
        The bytes for type.  | 
      
hasDisplayName()
public boolean hasDisplayName()[Output Only] Deprecated, please use short name instead. The display name of the firewall policy.
 optional string display_name = 4473832;
| Type | Description | 
boolean | 
        Whether the displayName field is set.  | 
      
hasName()
public boolean hasName()[Output Only] The name of the firewall policy.
 optional string name = 3373707;
| Type | Description | 
boolean | 
        Whether the name field is set.  | 
      
hasShortName()
public boolean hasShortName()[Output Only] The short name of the firewall policy.
 optional string short_name = 492051566;
| Type | Description | 
boolean | 
        Whether the shortName field is set.  | 
      
hasType()
public boolean hasType()[Output Only] The type of the firewall policy. Check the Type enum for the list of possible values.
 optional string type = 3575610;
| Type | Description | 
boolean | 
        Whether the type field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description | 
FieldAccessorTable | 
        
isInitialized()
public final boolean isInitialized()| Type | Description | 
boolean | 
        
mergeFrom(NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy other)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder mergeFrom(NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy other)| Name | Description | 
other | 
        NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        
| Type | Description | 
IOException | 
        
mergeFrom(Message other)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder mergeFrom(Message other)| Name | Description | 
other | 
        Message | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        
removeRules(int index)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder removeRules(int index)The rules that apply to the network.
 repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Name | Description | 
index | 
        int | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        
setDisplayName(String value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setDisplayName(String value)[Output Only] Deprecated, please use short name instead. The display name of the firewall policy.
 optional string display_name = 4473832;
| Name | Description | 
value | 
        StringThe displayName to set.  | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        This builder for chaining.  | 
      
setDisplayNameBytes(ByteString value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setDisplayNameBytes(ByteString value)[Output Only] Deprecated, please use short name instead. The display name of the firewall policy.
 optional string display_name = 4473832;
| Name | Description | 
value | 
        ByteStringThe bytes for displayName to set.  | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        
setName(String value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setName(String value)[Output Only] The name of the firewall policy.
 optional string name = 3373707;
| Name | Description | 
value | 
        StringThe name to set.  | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        This builder for chaining.  | 
      
setNameBytes(ByteString value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setNameBytes(ByteString value)[Output Only] The name of the firewall policy.
 optional string name = 3373707;
| Name | Description | 
value | 
        ByteStringThe bytes for name to set.  | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        
setRules(int index, FirewallPolicyRule value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setRules(int index, FirewallPolicyRule value)The rules that apply to the network.
 repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Name | Description | 
index | 
        int | 
      
value | 
        FirewallPolicyRule | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        
setRules(int index, FirewallPolicyRule.Builder builderForValue)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setRules(int index, FirewallPolicyRule.Builder builderForValue)The rules that apply to the network.
 repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        FirewallPolicyRule.Builder | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        
setShortName(String value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setShortName(String value)[Output Only] The short name of the firewall policy.
 optional string short_name = 492051566;
| Name | Description | 
value | 
        StringThe shortName to set.  | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        This builder for chaining.  | 
      
setShortNameBytes(ByteString value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setShortNameBytes(ByteString value)[Output Only] The short name of the firewall policy.
 optional string short_name = 492051566;
| Name | Description | 
value | 
        ByteStringThe bytes for shortName to set.  | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        This builder for chaining.  | 
      
setType(String value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setType(String value)[Output Only] The type of the firewall policy. Check the Type enum for the list of possible values.
 optional string type = 3575610;
| Name | Description | 
value | 
        StringThe type to set.  | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        This builder for chaining.  | 
      
setTypeBytes(ByteString value)
public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setTypeBytes(ByteString value)[Output Only] The type of the firewall policy. Check the Type enum for the list of possible values.
 optional string type = 3575610;
| Name | Description | 
value | 
        ByteStringThe bytes for type to set.  | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Type | Description | 
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder |