@Generated(value="by GAPIC") @BetaApi public final class HttpFaultAbort extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
HttpFaultAbort.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
static HttpFaultAbort |
getDefaultInstance() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
Integer |
getHttpStatus()
The HTTP status code used to abort the request.
|
Double |
getPercentage()
The percentage of traffic (connections/operations/requests) which will be aborted as part of
fault injection.
|
int |
hashCode() |
static HttpFaultAbort.Builder |
newBuilder() |
static HttpFaultAbort.Builder |
newBuilder(HttpFaultAbort prototype) |
HttpFaultAbort.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 Integer getHttpStatus()
public Double getPercentage()
public static HttpFaultAbort.Builder newBuilder()
public static HttpFaultAbort.Builder newBuilder(HttpFaultAbort prototype)
public HttpFaultAbort.Builder toBuilder()
public static HttpFaultAbort getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.