public final class ResourceErrorDetail extends GeneratedMessageV3 implements ResourceErrorDetailOrBuilder
Provides details for errors and the corresponding resources.
Protobuf type google.cloud.bigquery.migration.v2.ResourceErrorDetail
Static Fields
ERROR_COUNT_FIELD_NUMBER
public static final int ERROR_COUNT_FIELD_NUMBER
Field Value
ERROR_DETAILS_FIELD_NUMBER
public static final int ERROR_DETAILS_FIELD_NUMBER
Field Value
RESOURCE_INFO_FIELD_NUMBER
public static final int RESOURCE_INFO_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ResourceErrorDetail getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ResourceErrorDetail.Builder newBuilder()
Returns
newBuilder(ResourceErrorDetail prototype)
public static ResourceErrorDetail.Builder newBuilder(ResourceErrorDetail prototype)
Parameter
Returns
public static ResourceErrorDetail parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResourceErrorDetail parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ResourceErrorDetail parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResourceErrorDetail parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ResourceErrorDetail parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResourceErrorDetail parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResourceErrorDetail parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ResourceErrorDetail parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResourceErrorDetail parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResourceErrorDetail parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ResourceErrorDetail parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ResourceErrorDetail parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ResourceErrorDetail> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ResourceErrorDetail getDefaultInstanceForType()
Returns
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.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getErrorDetailsCount()
public int getErrorDetailsCount()
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2.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.v2.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.v2.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.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
List<? extends com.google.cloud.bigquery.migration.v2.ErrorDetailOrBuilder> | |
getParserForType()
public Parser<ResourceErrorDetail> getParserForType()
Returns
Overrides
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.
|
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 | |
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ResourceErrorDetail.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ResourceErrorDetail.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ResourceErrorDetail.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions