Interface InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder (1.65.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
Type Description
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
Type Description
ByteString

The bytes for displayName.

getName()

public abstract String getName()

[Output Only] The name of the firewall policy.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

[Output Only] The name of the firewall policy.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

getPriority()

public abstract int getPriority()

[Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.

optional int32 priority = 445151652;

Returns
Type Description
int

The priority.

getRules(int index)

public abstract FirewallPolicyRule getRules(int index)

[Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.

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

Parameter
Name Description
index int
Returns
Type Description
FirewallPolicyRule

getRulesCount()

public abstract int getRulesCount()

[Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.

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

Returns
Type Description
int

getRulesList()

public abstract List<FirewallPolicyRule> getRulesList()

[Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.

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

Returns
Type Description
List<FirewallPolicyRule>

getRulesOrBuilder(int index)

public abstract FirewallPolicyRuleOrBuilder getRulesOrBuilder(int index)

[Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.

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

Parameter
Name Description
index int
Returns
Type Description
FirewallPolicyRuleOrBuilder

getRulesOrBuilderList()

public abstract List<? extends FirewallPolicyRuleOrBuilder> getRulesOrBuilderList()

[Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.

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

Returns
Type Description
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
Type Description
String

The shortName.

getShortNameBytes()

public abstract ByteString getShortNameBytes()

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

optional string short_name = 492051566;

Returns
Type Description
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, SYSTEM_GLOBAL, SYSTEM_REGIONAL. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
Type Description
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

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

optional string type = 3575610;

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the name field is set.

hasPriority()

public abstract boolean hasPriority()

[Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.

optional int32 priority = 445151652;

Returns
Type Description
boolean

Whether the priority field is set.

hasShortName()

public abstract boolean hasShortName()

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

optional string short_name = 492051566;

Returns
Type Description
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, SYSTEM_GLOBAL, SYSTEM_REGIONAL. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
Type Description
boolean

Whether the type field is set.