@Generated(value="by GAPIC") @BetaApi public final class Errors extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
Errors.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
String |
getCode()
[Output Only] The error type identifier for this error.
|
static Errors |
getDefaultInstance() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getLocation()
[Output Only] Indicates the field in the request that caused the error.
|
String |
getMessage()
[Output Only] An optional, human-readable error message.
|
int |
hashCode() |
static Errors.Builder |
newBuilder() |
static Errors.Builder |
newBuilder(Errors prototype) |
Errors.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 String getCode()
public String getLocation()
public String getMessage()
public static Errors.Builder newBuilder()
public static Errors.Builder newBuilder(Errors prototype)
public Errors.Builder toBuilder()
public static Errors getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.