Send feedback
Class GrpcRoute.FaultInjectionPolicy.Delay (0.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.11.0 keyboard_arrow_down
public static final class GrpcRoute . FaultInjectionPolicy . Delay extends GeneratedMessageV3 implements GrpcRoute . FaultInjectionPolicy . DelayOrBuilder
Specification of how client requests are delayed as part of fault
injection before being sent to a destination.
Protobuf type google.cloud.networkservices.v1.GrpcRoute.FaultInjectionPolicy.Delay
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
FIXED_DELAY_FIELD_NUMBER
public static final int FIXED_DELAY_FIELD_NUMBER
Field Value
Type
Description
int
PERCENTAGE_FIELD_NUMBER
public static final int PERCENTAGE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static GrpcRoute . FaultInjectionPolicy . Delay getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static GrpcRoute . FaultInjectionPolicy . Delay . Builder newBuilder ()
newBuilder(GrpcRoute.FaultInjectionPolicy.Delay prototype)
public static GrpcRoute . FaultInjectionPolicy . Delay . Builder newBuilder ( GrpcRoute . FaultInjectionPolicy . Delay prototype )
public static GrpcRoute . FaultInjectionPolicy . Delay parseDelimitedFrom ( InputStream input )
public static GrpcRoute . FaultInjectionPolicy . Delay parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static GrpcRoute . FaultInjectionPolicy . Delay parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GrpcRoute . FaultInjectionPolicy . Delay parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static GrpcRoute . FaultInjectionPolicy . Delay parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GrpcRoute . FaultInjectionPolicy . Delay parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static GrpcRoute . FaultInjectionPolicy . Delay parseFrom ( CodedInputStream input )
public static GrpcRoute . FaultInjectionPolicy . Delay parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static GrpcRoute . FaultInjectionPolicy . Delay parseFrom ( InputStream input )
public static GrpcRoute . FaultInjectionPolicy . Delay parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static GrpcRoute . FaultInjectionPolicy . Delay parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GrpcRoute . FaultInjectionPolicy . Delay parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<GrpcRoute . FaultInjectionPolicy . Delay > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public GrpcRoute . FaultInjectionPolicy . Delay getDefaultInstanceForType ()
getFixedDelay()
public 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 DurationOrBuilder getFixedDelayOrBuilder ()
Specify a fixed delay before forwarding the request.
optional .google.protobuf.Duration fixed_delay = 1;
getParserForType()
public Parser<GrpcRoute . FaultInjectionPolicy . Delay > getParserForType ()
Overrides
getPercentage()
public 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.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasFixedDelay()
public 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 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.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public GrpcRoute . FaultInjectionPolicy . Delay . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GrpcRoute . FaultInjectionPolicy . Delay . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public GrpcRoute . FaultInjectionPolicy . Delay . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]