Interface HttpFaultDelayOrBuilder (1.44.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the percentage field is set.