Interface ResourcePoliciesScopedListOrBuilder (1.7.2)

public interface ResourcePoliciesScopedListOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getResourcePolicies(int index)

public abstract ResourcePolicy getResourcePolicies(int index)

A list of resourcePolicies contained in this scope.

repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;

Parameter
NameDescription
indexint
Returns
TypeDescription
ResourcePolicy

getResourcePoliciesCount()

public abstract int getResourcePoliciesCount()

A list of resourcePolicies contained in this scope.

repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;

Returns
TypeDescription
int

getResourcePoliciesList()

public abstract List<ResourcePolicy> getResourcePoliciesList()

A list of resourcePolicies contained in this scope.

repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;

Returns
TypeDescription
List<ResourcePolicy>

getResourcePoliciesOrBuilder(int index)

public abstract ResourcePolicyOrBuilder getResourcePoliciesOrBuilder(int index)

A list of resourcePolicies contained in this scope.

repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;

Parameter
NameDescription
indexint
Returns
TypeDescription
ResourcePolicyOrBuilder

getResourcePoliciesOrBuilderList()

public abstract List<? extends ResourcePolicyOrBuilder> getResourcePoliciesOrBuilderList()

A list of resourcePolicies contained in this scope.

repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;

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

getWarning()

public abstract Warning getWarning()

Informational warning which replaces the list of resourcePolicies when the list is empty.

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

Returns
TypeDescription
Warning

The warning.

getWarningOrBuilder()

public abstract WarningOrBuilder getWarningOrBuilder()

Informational warning which replaces the list of resourcePolicies when the list is empty.

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

Returns
TypeDescription
WarningOrBuilder

hasWarning()

public abstract boolean hasWarning()

Informational warning which replaces the list of resourcePolicies when the list is empty.

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

Returns
TypeDescription
boolean

Whether the warning field is set.