public static final class ResourceErrorDetail.Builder extends GeneratedMessageV3.Builder<ResourceErrorDetail.Builder> implements ResourceErrorDetailOrBuilder
Provides details for errors and the corresponding resources.
Protobuf type google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllErrorDetails(Iterable<? extends ErrorDetail> values)
public ResourceErrorDetail.Builder addAllErrorDetails(Iterable<? extends ErrorDetail> values)
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 |
values | Iterable<? extends com.google.cloud.bigquery.migration.v2alpha.ErrorDetail>
|
Returns
addErrorDetails(ErrorDetail value)
public ResourceErrorDetail.Builder addErrorDetails(ErrorDetail value)
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
addErrorDetails(ErrorDetail.Builder builderForValue)
public ResourceErrorDetail.Builder addErrorDetails(ErrorDetail.Builder builderForValue)
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
addErrorDetails(int index, ErrorDetail value)
public ResourceErrorDetail.Builder addErrorDetails(int index, ErrorDetail value)
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
addErrorDetails(int index, ErrorDetail.Builder builderForValue)
public ResourceErrorDetail.Builder addErrorDetails(int index, ErrorDetail.Builder builderForValue)
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
addErrorDetailsBuilder()
public ErrorDetail.Builder addErrorDetailsBuilder()
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
addErrorDetailsBuilder(int index)
public ErrorDetail.Builder addErrorDetailsBuilder(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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourceErrorDetail.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ResourceErrorDetail build()
Returns
buildPartial()
public ResourceErrorDetail buildPartial()
Returns
clear()
public ResourceErrorDetail.Builder clear()
Returns
Overrides
clearErrorCount()
public ResourceErrorDetail.Builder clearErrorCount()
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
clearErrorDetails()
public ResourceErrorDetail.Builder clearErrorDetails()
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public ResourceErrorDetail.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourceErrorDetail.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearResourceInfo()
public ResourceErrorDetail.Builder clearResourceInfo()
Required. Information about the resource where the error is located.
.google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public ResourceErrorDetail.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ResourceErrorDetail getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getErrorCount()
public 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 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
Returns
getErrorDetailsBuilder(int index)
public ErrorDetail.Builder getErrorDetailsBuilder(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
Returns
getErrorDetailsBuilderList()
public List<ErrorDetail.Builder> getErrorDetailsBuilderList()
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getErrorDetailsCount()
public 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
getErrorDetailsList()
public 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
getErrorDetailsOrBuilder(int index)
public 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
Returns
getErrorDetailsOrBuilderList()
public 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 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.
|
getResourceInfoBuilder()
public ResourceInfo.Builder getResourceInfoBuilder()
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.Builder | |
getResourceInfoOrBuilder()
public 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 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ResourceErrorDetail other)
public ResourceErrorDetail.Builder mergeFrom(ResourceErrorDetail other)
Parameter
Returns
public ResourceErrorDetail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ResourceErrorDetail.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeResourceInfo(ResourceInfo value)
public ResourceErrorDetail.Builder mergeResourceInfo(ResourceInfo value)
Required. Information about the resource where the error is located.
.google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | com.google.rpc.ResourceInfo
|
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourceErrorDetail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeErrorDetails(int index)
public ResourceErrorDetail.Builder removeErrorDetails(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
Returns
setErrorCount(int value)
public ResourceErrorDetail.Builder setErrorCount(int value)
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];
Parameter
Name | Description |
value | int
The errorCount to set.
|
Returns
setErrorDetails(int index, ErrorDetail value)
public ResourceErrorDetail.Builder setErrorDetails(int index, ErrorDetail value)
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
setErrorDetails(int index, ErrorDetail.Builder builderForValue)
public ResourceErrorDetail.Builder setErrorDetails(int index, ErrorDetail.Builder builderForValue)
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2alpha.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ResourceErrorDetail.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourceErrorDetail.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setResourceInfo(ResourceInfo value)
public ResourceErrorDetail.Builder setResourceInfo(ResourceInfo value)
Required. Information about the resource where the error is located.
.google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | com.google.rpc.ResourceInfo
|
Returns
setResourceInfo(ResourceInfo.Builder builderForValue)
public ResourceErrorDetail.Builder setResourceInfo(ResourceInfo.Builder builderForValue)
Required. Information about the resource where the error is located.
.google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
builderForValue | com.google.rpc.ResourceInfo.Builder
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourceErrorDetail.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides