Interface SecurityPoliciesScopedListOrBuilder (1.56.0)

public interface SecurityPoliciesScopedListOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSecurityPolicies(int index)

public abstract SecurityPolicy getSecurityPolicies(int index)

A list of SecurityPolicies contained in this scope.

repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicy

getSecurityPoliciesCount()

public abstract int getSecurityPoliciesCount()

A list of SecurityPolicies contained in this scope.

repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;

Returns
Type Description
int

getSecurityPoliciesList()

public abstract List<SecurityPolicy> getSecurityPoliciesList()

A list of SecurityPolicies contained in this scope.

repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;

Returns
Type Description
List<SecurityPolicy>

getSecurityPoliciesOrBuilder(int index)

public abstract SecurityPolicyOrBuilder getSecurityPoliciesOrBuilder(int index)

A list of SecurityPolicies contained in this scope.

repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicyOrBuilder

getSecurityPoliciesOrBuilderList()

public abstract List<? extends SecurityPolicyOrBuilder> getSecurityPoliciesOrBuilderList()

A list of SecurityPolicies contained in this scope.

repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.SecurityPolicyOrBuilder>

getWarning()

public abstract Warning getWarning()

Informational warning which replaces the list of security policies when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
Warning

The warning.

getWarningOrBuilder()

public abstract WarningOrBuilder getWarningOrBuilder()

Informational warning which replaces the list of security policies when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
WarningOrBuilder

hasWarning()

public abstract boolean hasWarning()

Informational warning which replaces the list of security policies when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
boolean

Whether the warning field is set.