public static final class HttpRoute.FaultInjectionPolicy.Builder extends GeneratedMessageV3.Builder<HttpRoute.FaultInjectionPolicy.Builder> implements HttpRoute.FaultInjectionPolicyOrBuilder
The specification for fault injection introduced into traffic to test the
resiliency of clients to destination service failure. As part of fault
injection, when clients send requests to a destination, delays can be
introduced by client proxy on a percentage of requests before sending those
requests to the destination service. Similarly requests can be aborted by
client proxy for a percentage of requests.
Protobuf type google.events.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HttpRoute.FaultInjectionPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public HttpRoute.FaultInjectionPolicy build()
buildPartial()
public HttpRoute.FaultInjectionPolicy buildPartial()
clear()
public HttpRoute.FaultInjectionPolicy.Builder clear()
Overrides
clearAbort()
public HttpRoute.FaultInjectionPolicy.Builder clearAbort()
The specification for aborting to client requests.
.google.events.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Abort abort = 2;
clearDelay()
public HttpRoute.FaultInjectionPolicy.Builder clearDelay()
The specification for injecting delay to client requests.
.google.events.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Delay delay = 1;
clearField(Descriptors.FieldDescriptor field)
public HttpRoute.FaultInjectionPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public HttpRoute.FaultInjectionPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public HttpRoute.FaultInjectionPolicy.Builder clone()
Overrides
getAbort()
public HttpRoute.FaultInjectionPolicy.Abort getAbort()
The specification for aborting to client requests.
.google.events.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Abort abort = 2;
getAbortBuilder()
public HttpRoute.FaultInjectionPolicy.Abort.Builder getAbortBuilder()
The specification for aborting to client requests.
.google.events.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Abort abort = 2;
getAbortOrBuilder()
public HttpRoute.FaultInjectionPolicy.AbortOrBuilder getAbortOrBuilder()
The specification for aborting to client requests.
.google.events.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Abort abort = 2;
getDefaultInstanceForType()
public HttpRoute.FaultInjectionPolicy getDefaultInstanceForType()
getDelay()
public HttpRoute.FaultInjectionPolicy.Delay getDelay()
The specification for injecting delay to client requests.
.google.events.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Delay delay = 1;
getDelayBuilder()
public HttpRoute.FaultInjectionPolicy.Delay.Builder getDelayBuilder()
The specification for injecting delay to client requests.
.google.events.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Delay delay = 1;
getDelayOrBuilder()
public HttpRoute.FaultInjectionPolicy.DelayOrBuilder getDelayOrBuilder()
The specification for injecting delay to client requests.
.google.events.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Delay delay = 1;
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
hasAbort()
public boolean hasAbort()
The specification for aborting to client requests.
.google.events.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Abort abort = 2;
Returns |
Type |
Description |
boolean |
Whether the abort field is set.
|
hasDelay()
public boolean hasDelay()
The specification for injecting delay to client requests.
.google.events.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Delay delay = 1;
Returns |
Type |
Description |
boolean |
Whether the delay field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAbort(HttpRoute.FaultInjectionPolicy.Abort value)
public HttpRoute.FaultInjectionPolicy.Builder mergeAbort(HttpRoute.FaultInjectionPolicy.Abort value)
The specification for aborting to client requests.
.google.events.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Abort abort = 2;
mergeDelay(HttpRoute.FaultInjectionPolicy.Delay value)
public HttpRoute.FaultInjectionPolicy.Builder mergeDelay(HttpRoute.FaultInjectionPolicy.Delay value)
The specification for injecting delay to client requests.
.google.events.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Delay delay = 1;
mergeFrom(HttpRoute.FaultInjectionPolicy other)
public HttpRoute.FaultInjectionPolicy.Builder mergeFrom(HttpRoute.FaultInjectionPolicy other)
public HttpRoute.FaultInjectionPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public HttpRoute.FaultInjectionPolicy.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HttpRoute.FaultInjectionPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAbort(HttpRoute.FaultInjectionPolicy.Abort value)
public HttpRoute.FaultInjectionPolicy.Builder setAbort(HttpRoute.FaultInjectionPolicy.Abort value)
The specification for aborting to client requests.
.google.events.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Abort abort = 2;
setAbort(HttpRoute.FaultInjectionPolicy.Abort.Builder builderForValue)
public HttpRoute.FaultInjectionPolicy.Builder setAbort(HttpRoute.FaultInjectionPolicy.Abort.Builder builderForValue)
The specification for aborting to client requests.
.google.events.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Abort abort = 2;
setDelay(HttpRoute.FaultInjectionPolicy.Delay value)
public HttpRoute.FaultInjectionPolicy.Builder setDelay(HttpRoute.FaultInjectionPolicy.Delay value)
The specification for injecting delay to client requests.
.google.events.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Delay delay = 1;
setDelay(HttpRoute.FaultInjectionPolicy.Delay.Builder builderForValue)
public HttpRoute.FaultInjectionPolicy.Builder setDelay(HttpRoute.FaultInjectionPolicy.Delay.Builder builderForValue)
The specification for injecting delay to client requests.
.google.events.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Delay delay = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public HttpRoute.FaultInjectionPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HttpRoute.FaultInjectionPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final HttpRoute.FaultInjectionPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides