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()
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>
|
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];
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];
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];
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];
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];
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourceErrorDetail.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ResourceErrorDetail build()
buildPartial()
public ResourceErrorDetail buildPartial()
clear()
public ResourceErrorDetail.Builder clear()
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];
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];
clearField(Descriptors.FieldDescriptor field)
public ResourceErrorDetail.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourceErrorDetail.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public ResourceErrorDetail.Builder clone()
Overrides
getDefaultInstanceForType()
public ResourceErrorDetail getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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];
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 |
---|
Type | Description |
int | |
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];
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 |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ResourceErrorDetail other)
public ResourceErrorDetail.Builder mergeFrom(ResourceErrorDetail other)
public ResourceErrorDetail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ResourceErrorDetail.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourceErrorDetail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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.
|
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public ResourceErrorDetail.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourceErrorDetail.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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
|
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
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourceErrorDetail.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides