public final class ErrorDetail extends GeneratedMessageV3 implements ErrorDetailOrBuilder
Provides details for errors, e.g. issues that where encountered when
processing a subtask.
Protobuf type google.cloud.bigquery.migration.v2.ErrorDetail
Static Fields
ERROR_INFO_FIELD_NUMBER
public static final int ERROR_INFO_FIELD_NUMBER
Field Value
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ErrorDetail getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ErrorDetail.Builder newBuilder()
Returns
newBuilder(ErrorDetail prototype)
public static ErrorDetail.Builder newBuilder(ErrorDetail prototype)
Parameter
Returns
public static ErrorDetail parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ErrorDetail parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ErrorDetail parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ErrorDetail parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ErrorDetail parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ErrorDetail parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ErrorDetail parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ErrorDetail parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ErrorDetail parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ErrorDetail parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ErrorDetail parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ErrorDetail parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ErrorDetail> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ErrorDetail getDefaultInstanceForType()
Returns
getErrorInfo()
public ErrorInfo getErrorInfo()
Required. Describes the cause of the error with structured detail.
.google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
com.google.rpc.ErrorInfo | The errorInfo.
|
getErrorInfoOrBuilder()
public ErrorInfoOrBuilder getErrorInfoOrBuilder()
Required. Describes the cause of the error with structured detail.
.google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
com.google.rpc.ErrorInfoOrBuilder | |
getLocation()
public ErrorLocation getLocation()
Optional. The exact location within the resource (if applicable).
.google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
getLocationOrBuilder()
public ErrorLocationOrBuilder getLocationOrBuilder()
Optional. The exact location within the resource (if applicable).
.google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
getParserForType()
public Parser<ErrorDetail> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasErrorInfo()
public boolean hasErrorInfo()
Required. Describes the cause of the error with structured detail.
.google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the errorInfo field is set.
|
hasLocation()
public boolean hasLocation()
Optional. The exact location within the resource (if applicable).
.google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the location field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ErrorDetail.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ErrorDetail.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ErrorDetail.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions