public static interface GrpcRoute.FaultInjectionPolicy.DelayOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getFixedDelay()
public abstract Duration getFixedDelay()
Specify a fixed delay before forwarding the request.
optional .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.
optional .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]
optional int32 percentage = 2;
Returns | |
---|---|
Type | Description |
int |
The percentage. |
hasFixedDelay()
public abstract boolean hasFixedDelay()
Specify a fixed delay before forwarding the request.
optional .google.protobuf.Duration fixed_delay = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the fixedDelay field is set. |
hasPercentage()
public abstract boolean hasPercentage()
The percentage of traffic on which delay will be injected.
The value must be between [0, 100]
optional int32 percentage = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the percentage field is set. |