Interface HttpFaultDelayOrBuilder (1.65.0)

public interface HttpFaultDelayOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFixedDelay()

public abstract Duration getFixedDelay()

Specifies the value of the fixed delay interval.

optional .google.cloud.compute.v1.Duration fixed_delay = 317037816;

Returns
Type Description
Duration

The fixedDelay.

getFixedDelayOrBuilder()

public abstract DurationOrBuilder getFixedDelayOrBuilder()

Specifies the value of the fixed delay interval.

optional .google.cloud.compute.v1.Duration fixed_delay = 317037816;

Returns
Type Description
DurationOrBuilder

getPercentage()

public abstract double getPercentage()

The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive.

optional double percentage = 151909018;

Returns
Type Description
double

The percentage.

hasFixedDelay()

public abstract boolean hasFixedDelay()

Specifies the value of the fixed delay interval.

optional .google.cloud.compute.v1.Duration fixed_delay = 317037816;

Returns
Type Description
boolean

Whether the fixedDelay field is set.

hasPercentage()

public abstract boolean hasPercentage()

The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive.

optional double percentage = 151909018;

Returns
Type Description
boolean

Whether the percentage field is set.