Interface ResourceErrorDetailOrBuilder (0.23.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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the resourceInfo field is set.