Interface BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder (1.52.0)

public interface BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomPolicy()

public abstract BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy getCustomPolicy()

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

Returns
Type Description
BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy

The customPolicy.

getCustomPolicyOrBuilder()

public abstract BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder getCustomPolicyOrBuilder()

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

Returns
Type Description
BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder

getPolicy()

public abstract BackendServiceLocalityLoadBalancingPolicyConfigPolicy getPolicy()

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

Returns
Type Description
BackendServiceLocalityLoadBalancingPolicyConfigPolicy

The policy.

getPolicyOrBuilder()

public abstract BackendServiceLocalityLoadBalancingPolicyConfigPolicyOrBuilder getPolicyOrBuilder()

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

Returns
Type Description
BackendServiceLocalityLoadBalancingPolicyConfigPolicyOrBuilder

hasCustomPolicy()

public abstract boolean hasCustomPolicy()

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

Returns
Type Description
boolean

Whether the customPolicy field is set.

hasPolicy()

public abstract boolean hasPolicy()

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

Returns
Type Description
boolean

Whether the policy field is set.