Class ErrorDetail (0.36.0)

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.v2alpha.ErrorDetail

Static Fields

ERROR_INFO_FIELD_NUMBER

public static final int ERROR_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ErrorDetail getDefaultInstance()
Returns
TypeDescription
ErrorDetail

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ErrorDetail.Builder newBuilder()
Returns
TypeDescription
ErrorDetail.Builder

newBuilder(ErrorDetail prototype)

public static ErrorDetail.Builder newBuilder(ErrorDetail prototype)
Parameter
NameDescription
prototypeErrorDetail
Returns
TypeDescription
ErrorDetail.Builder

parseDelimitedFrom(InputStream input)

public static ErrorDetail parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ErrorDetail
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorDetail parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorDetail
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ErrorDetail parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ErrorDetail
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ErrorDetail parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorDetail
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ErrorDetail parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ErrorDetail
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ErrorDetail parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorDetail
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ErrorDetail parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ErrorDetail
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorDetail parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorDetail
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ErrorDetail parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ErrorDetail
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorDetail parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorDetail
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ErrorDetail parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ErrorDetail
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ErrorDetail parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorDetail
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ErrorDetail> parser()
Returns
TypeDescription
Parser<ErrorDetail>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ErrorDetail getDefaultInstanceForType()
Returns
TypeDescription
ErrorDetail

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
TypeDescription
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
TypeDescription
com.google.rpc.ErrorInfoOrBuilder

getLocation()

public ErrorLocation getLocation()

Optional. The exact location within the resource (if applicable).

.google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ErrorLocation

The location.

getLocationOrBuilder()

public ErrorLocationOrBuilder getLocationOrBuilder()

Optional. The exact location within the resource (if applicable).

.google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ErrorLocationOrBuilder

getParserForType()

public Parser<ErrorDetail> getParserForType()
Returns
TypeDescription
Parser<ErrorDetail>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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
TypeDescription
boolean

Whether the errorInfo field is set.

hasLocation()

public boolean hasLocation()

Optional. The exact location within the resource (if applicable).

.google.cloud.bigquery.migration.v2alpha.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the location field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ErrorDetail.Builder newBuilderForType()
Returns
TypeDescription
ErrorDetail.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ErrorDetail.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ErrorDetail.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ErrorDetail.Builder toBuilder()
Returns
TypeDescription
ErrorDetail.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException