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
@Generated
public interface HttpFaultDelayOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the value of the fixed delay interval.Specifies the value of the fixed delay interval.doubleThe percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection.booleanSpecifies the value of the fixed delay interval.booleanThe 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.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-