@Generated(value="by GAPIC") @BetaApi public final class HttpFaultInjection extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
HttpFaultInjection.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
HttpFaultAbort |
getAbort()
The specification for how client requests are aborted as part of fault injection.
|
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
static HttpFaultInjection |
getDefaultInstance() |
HttpFaultDelay |
getDelay()
The specification for how client requests are delayed as part of fault injection, before being
sent to a backend service.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
int |
hashCode() |
static HttpFaultInjection.Builder |
newBuilder() |
static HttpFaultInjection.Builder |
newBuilder(HttpFaultInjection prototype) |
HttpFaultInjection.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public HttpFaultAbort getAbort()
public HttpFaultDelay getDelay()
public static HttpFaultInjection.Builder newBuilder()
public static HttpFaultInjection.Builder newBuilder(HttpFaultInjection prototype)
public HttpFaultInjection.Builder toBuilder()
public static HttpFaultInjection getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.