Class ResourceErrorDetail (0.83.0)

publicfinalclass ResourceErrorDetailextendsGeneratedMessageV3implementsResourceErrorDetailOrBuilder

Provides details for errors and the corresponding resources.

Protobuf type google.cloud.bigquery.migration.v2alpha.ResourceErrorDetail

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

ERROR_COUNT_FIELD_NUMBER

publicstaticfinalintERROR_COUNT_FIELD_NUMBER
Field Value
Type Description
int

ERROR_DETAILS_FIELD_NUMBER

publicstaticfinalintERROR_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_INFO_FIELD_NUMBER

publicstaticfinalintRESOURCE_INFO_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticResourceErrorDetailgetDefaultInstance()
Returns
Type Description
ResourceErrorDetail

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticResourceErrorDetail.BuildernewBuilder()
Returns
Type Description
ResourceErrorDetail.Builder

newBuilder(ResourceErrorDetail prototype)

publicstaticResourceErrorDetail.BuildernewBuilder(ResourceErrorDetailprototype)
Parameter
Name Description
prototype ResourceErrorDetail
Returns
Type Description
ResourceErrorDetail.Builder

parseDelimitedFrom(InputStream input)

publicstaticResourceErrorDetailparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ResourceErrorDetail
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticResourceErrorDetailparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceErrorDetail
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticResourceErrorDetailparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
ResourceErrorDetail
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticResourceErrorDetailparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceErrorDetail
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticResourceErrorDetailparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
ResourceErrorDetail
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticResourceErrorDetailparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceErrorDetail
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticResourceErrorDetailparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ResourceErrorDetail
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticResourceErrorDetailparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceErrorDetail
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticResourceErrorDetailparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ResourceErrorDetail
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticResourceErrorDetailparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceErrorDetail
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticResourceErrorDetailparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ResourceErrorDetail
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticResourceErrorDetailparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceErrorDetail
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<ResourceErrorDetail>parser()
Returns
Type Description
Parser<ResourceErrorDetail>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicResourceErrorDetailgetDefaultInstanceForType()
Returns
Type Description
ResourceErrorDetail

getErrorCount()

publicintgetErrorCount()

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)

publicErrorDetailgetErrorDetails(intindex)

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()

publicintgetErrorDetailsCount()

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()

publicList<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)

publicErrorDetailOrBuildergetErrorDetailsOrBuilder(intindex)

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()

publicList<?extendsErrorDetailOrBuilder>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>

getParserForType()

publicParser<ResourceErrorDetail>getParserForType()
Returns
Type Description
Parser<ResourceErrorDetail>
Overrides

getResourceInfo()

publicResourceInfogetResourceInfo()

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()

publicResourceInfoOrBuildergetResourceInfoOrBuilder()

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

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hasResourceInfo()

publicbooleanhasResourceInfo()

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.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicResourceErrorDetail.BuildernewBuilderForType()
Returns
Type Description
ResourceErrorDetail.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedResourceErrorDetail.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ResourceErrorDetail.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicResourceErrorDetail.BuildertoBuilder()
Returns
Type Description
ResourceErrorDetail.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.