Interface HttpRoute.FaultInjectionPolicy.DelayOrBuilder (0.7.0)

public static interface HttpRoute.FaultInjectionPolicy.DelayOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFixedDelay()

public abstract Duration getFixedDelay()

Specify a fixed delay before forwarding the request.

.google.protobuf.Duration fixed_delay = 1;

Returns
Type Description
Duration

The fixedDelay.

getFixedDelayOrBuilder()

public abstract DurationOrBuilder getFixedDelayOrBuilder()

Specify a fixed delay before forwarding the request.

.google.protobuf.Duration fixed_delay = 1;

Returns
Type Description
DurationOrBuilder

getPercentage()

public abstract int getPercentage()

The percentage of traffic on which delay will be injected.

The value must be between [0, 100]

int32 percentage = 2;

Returns
Type Description
int

The percentage.

hasFixedDelay()

public abstract boolean hasFixedDelay()

Specify a fixed delay before forwarding the request.

.google.protobuf.Duration fixed_delay = 1;

Returns
Type Description
boolean

Whether the fixedDelay field is set.