Interface ResourceErrorDetailOrBuilder (0.57.0)

public interface ResourceErrorDetailOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getErrorCount()

public abstract int getErrorCount()

Required. How many errors there are in total for the resource. Truncation can be indicated by having an error_count that is higher than the size of error_details.

int32 error_count = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The errorCount.

getErrorDetails(int index)

public abstract ErrorDetail getErrorDetails(int index)

Required. The error details for the resource.

repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ErrorDetail

getErrorDetailsCount()

public abstract int getErrorDetailsCount()

Required. The error details for the resource.

repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getErrorDetailsList()

public abstract List<ErrorDetail> getErrorDetailsList()

Required. The error details for the resource.

repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<ErrorDetail>

getErrorDetailsOrBuilder(int index)

public abstract ErrorDetailOrBuilder getErrorDetailsOrBuilder(int index)

Required. The error details for the resource.

repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ErrorDetailOrBuilder

getErrorDetailsOrBuilderList()

public abstract List<? extends ErrorDetailOrBuilder> getErrorDetailsOrBuilderList()

Required. The error details for the resource.

repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.bigquery.migration.v2alpha.ErrorDetailOrBuilder>

getResourceInfo()

public abstract ResourceInfo getResourceInfo()

Required. Information about the resource where the error is located.

.google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.rpc.ResourceInfo

The resourceInfo.

getResourceInfoOrBuilder()

public abstract ResourceInfoOrBuilder getResourceInfoOrBuilder()

Required. Information about the resource where the error is located.

.google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.rpc.ResourceInfoOrBuilder

hasResourceInfo()

public abstract boolean hasResourceInfo()

Required. Information about the resource where the error is located.

.google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the resourceInfo field is set.