Interface HttpRoute.FaultInjectionPolicyOrBuilder (0.10.0)

public static interface HttpRoute.FaultInjectionPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAbort()

public abstract HttpRoute.FaultInjectionPolicy.Abort getAbort()

The specification for aborting to client requests.

.google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Abort abort = 2;

Returns
Type Description
HttpRoute.FaultInjectionPolicy.Abort

The abort.

getAbortOrBuilder()

public abstract HttpRoute.FaultInjectionPolicy.AbortOrBuilder getAbortOrBuilder()

The specification for aborting to client requests.

.google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Abort abort = 2;

Returns
Type Description
HttpRoute.FaultInjectionPolicy.AbortOrBuilder

getDelay()

public abstract HttpRoute.FaultInjectionPolicy.Delay getDelay()

The specification for injecting delay to client requests.

.google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Delay delay = 1;

Returns
Type Description
HttpRoute.FaultInjectionPolicy.Delay

The delay.

getDelayOrBuilder()

public abstract HttpRoute.FaultInjectionPolicy.DelayOrBuilder getDelayOrBuilder()

The specification for injecting delay to client requests.

.google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Delay delay = 1;

Returns
Type Description
HttpRoute.FaultInjectionPolicy.DelayOrBuilder

hasAbort()

public abstract boolean hasAbort()

The specification for aborting to client requests.

.google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Abort abort = 2;

Returns
Type Description
boolean

Whether the abort field is set.

hasDelay()

public abstract boolean hasDelay()

The specification for injecting delay to client requests.

.google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Delay delay = 1;

Returns
Type Description
boolean

Whether the delay field is set.