Interface BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder (1.16.0)

public interface BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomPolicy()

public abstract BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy getCustomPolicy()

optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368;

Returns
TypeDescription
BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy

The customPolicy.

getCustomPolicyOrBuilder()

public abstract BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder getCustomPolicyOrBuilder()

optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368;

Returns
TypeDescription
BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder

getPolicy()

public abstract BackendServiceLocalityLoadBalancingPolicyConfigPolicy getPolicy()

optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794;

Returns
TypeDescription
BackendServiceLocalityLoadBalancingPolicyConfigPolicy

The policy.

getPolicyOrBuilder()

public abstract BackendServiceLocalityLoadBalancingPolicyConfigPolicyOrBuilder getPolicyOrBuilder()

optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794;

Returns
TypeDescription
BackendServiceLocalityLoadBalancingPolicyConfigPolicyOrBuilder

hasCustomPolicy()

public abstract boolean hasCustomPolicy()

optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368;

Returns
TypeDescription
boolean

Whether the customPolicy field is set.

hasPolicy()

public abstract boolean hasPolicy()

optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794;

Returns
TypeDescription
boolean

Whether the policy field is set.