Interface InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder (1.50.0)

public interface InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisplayName()

public abstract String getDisplayName()

[Output Only] Deprecated, please use short name instead. The display name of the firewall policy.

optional string display_name = 4473832;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

[Output Only] Deprecated, please use short name instead. The display name of the firewall policy.

optional string display_name = 4473832;

Returns
TypeDescription
ByteString

The bytes for displayName.

getName()

public abstract String getName()

[Output Only] The name of the firewall policy.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract 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 abstract 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

getRulesCount()

public abstract int getRulesCount()

The rules that apply to the network.

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

Returns
TypeDescription
int

getRulesList()

public abstract 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 abstract 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 abstract 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>

getShortName()

public abstract String getShortName()

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

optional string short_name = 492051566;

Returns
TypeDescription
String

The shortName.

getShortNameBytes()

public abstract ByteString getShortNameBytes()

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

optional string short_name = 492051566;

Returns
TypeDescription
ByteString

The bytes for shortName.

getType()

public abstract 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 abstract 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 abstract boolean hasDisplayName()

[Output Only] Deprecated, please use short name instead. The display name of the firewall policy.

optional string display_name = 4473832;

Returns
TypeDescription
boolean

Whether the displayName field is set.

hasName()

public abstract boolean hasName()

[Output Only] The name of the firewall policy.

optional string name = 3373707;

Returns
TypeDescription
boolean

Whether the name field is set.

hasShortName()

public abstract boolean hasShortName()

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

optional string short_name = 492051566;

Returns
TypeDescription
boolean

Whether the shortName field is set.

hasType()

public abstract 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.