Package com.google.cloud.compute.v1
Interface HttpFaultDelayOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HttpFaultDelay,HttpFaultDelay.Builder
public interface HttpFaultDelayOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DurationgetFixedDelay()Specifies the value of the fixed delay interval.DurationOrBuildergetFixedDelayOrBuilder()Specifies the value of the fixed delay interval.doublegetPercentage()The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection.booleanhasFixedDelay()Specifies the value of the fixed delay interval.booleanhasPercentage()The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasFixedDelay
boolean hasFixedDelay()
Specifies the value of the fixed delay interval.
optional .google.cloud.compute.v1.Duration fixed_delay = 317037816;- Returns:
- Whether the fixedDelay field is set.
-
getFixedDelay
Duration getFixedDelay()
Specifies the value of the fixed delay interval.
optional .google.cloud.compute.v1.Duration fixed_delay = 317037816;- Returns:
- The fixedDelay.
-
getFixedDelayOrBuilder
DurationOrBuilder getFixedDelayOrBuilder()
Specifies the value of the fixed delay interval.
optional .google.cloud.compute.v1.Duration fixed_delay = 317037816;
-
hasPercentage
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:
- Whether the percentage field is set.
-
getPercentage
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:
- The percentage.
-
-