@Generated(value="by GAPIC") @BetaApi public final class Errors extends Object implements ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
Errors.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
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 ApiMessage
@Nullable public ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface 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.