Class ErrorDetail.Builder (0.6.0)

public static final class ErrorDetail.Builder extends GeneratedMessageV3.Builder<ErrorDetail.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ErrorDetail.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ErrorDetail.Builder
Overrides

build()

public ErrorDetail build()
Returns
TypeDescription
ErrorDetail

buildPartial()

public ErrorDetail buildPartial()
Returns
TypeDescription
ErrorDetail

clear()

public ErrorDetail.Builder clear()
Returns
TypeDescription
ErrorDetail.Builder
Overrides

clearErrorInfo()

public ErrorDetail.Builder clearErrorInfo()

Required. Describes the cause of the error with structured detail.

.google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ErrorDetail.Builder

clearField(Descriptors.FieldDescriptor field)

public ErrorDetail.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ErrorDetail.Builder
Overrides

clearLocation()

public ErrorDetail.Builder clearLocation()

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

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

Returns
TypeDescription
ErrorDetail.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ErrorDetail.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ErrorDetail.Builder
Overrides

clone()

public ErrorDetail.Builder clone()
Returns
TypeDescription
ErrorDetail.Builder
Overrides

getDefaultInstanceForType()

public ErrorDetail getDefaultInstanceForType()
Returns
TypeDescription
ErrorDetail

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getErrorInfoBuilder()

public ErrorInfo.Builder getErrorInfoBuilder()

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.Builder

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.

getLocationBuilder()

public ErrorLocation.Builder getLocationBuilder()

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.Builder

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeErrorInfo(ErrorInfo value)

public ErrorDetail.Builder mergeErrorInfo(ErrorInfo value)

Required. Describes the cause of the error with structured detail.

.google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuecom.google.rpc.ErrorInfo
Returns
TypeDescription
ErrorDetail.Builder

mergeFrom(ErrorDetail other)

public ErrorDetail.Builder mergeFrom(ErrorDetail other)
Parameter
NameDescription
otherErrorDetail
Returns
TypeDescription
ErrorDetail.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ErrorDetail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorDetail.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ErrorDetail.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ErrorDetail.Builder
Overrides

mergeLocation(ErrorLocation value)

public ErrorDetail.Builder mergeLocation(ErrorLocation value)

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

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

Parameter
NameDescription
valueErrorLocation
Returns
TypeDescription
ErrorDetail.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ErrorDetail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ErrorDetail.Builder
Overrides

setErrorInfo(ErrorInfo value)

public ErrorDetail.Builder setErrorInfo(ErrorInfo value)

Required. Describes the cause of the error with structured detail.

.google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuecom.google.rpc.ErrorInfo
Returns
TypeDescription
ErrorDetail.Builder

setErrorInfo(ErrorInfo.Builder builderForValue)

public ErrorDetail.Builder setErrorInfo(ErrorInfo.Builder builderForValue)

Required. Describes the cause of the error with structured detail.

.google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValuecom.google.rpc.ErrorInfo.Builder
Returns
TypeDescription
ErrorDetail.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ErrorDetail.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ErrorDetail.Builder
Overrides

setLocation(ErrorLocation value)

public ErrorDetail.Builder setLocation(ErrorLocation value)

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

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

Parameter
NameDescription
valueErrorLocation
Returns
TypeDescription
ErrorDetail.Builder

setLocation(ErrorLocation.Builder builderForValue)

public ErrorDetail.Builder setLocation(ErrorLocation.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueErrorLocation.Builder
Returns
TypeDescription
ErrorDetail.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ErrorDetail.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ErrorDetail.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ErrorDetail.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ErrorDetail.Builder
Overrides