Interface ResourcePoliciesScopedListOrBuilder (1.63.0)

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
Name Description
index int
Returns
Type Description
ResourcePolicy

getResourcePoliciesCount()

public abstract int getResourcePoliciesCount()

A list of resourcePolicies contained in this scope.

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

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

Whether the warning field is set.