public final class ResourceErrorDetail extends GeneratedMessageV3 implements ResourceErrorDetailOrBuilder
Provides details for errors and the corresponding resources.
Protobuf type google.cloud.bigquery.migration.v2.ResourceErrorDetail
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ERROR_COUNT_FIELD_NUMBER
public static final int ERROR_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ERROR_DETAILS_FIELD_NUMBER
public static final int ERROR_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RESOURCE_INFO_FIELD_NUMBER
public static final int RESOURCE_INFO_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ResourceErrorDetail getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ResourceErrorDetail.Builder newBuilder()
newBuilder(ResourceErrorDetail prototype)
public static ResourceErrorDetail.Builder newBuilder(ResourceErrorDetail prototype)
public static ResourceErrorDetail parseDelimitedFrom(InputStream input)
public static ResourceErrorDetail parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ResourceErrorDetail parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResourceErrorDetail parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ResourceErrorDetail parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResourceErrorDetail parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResourceErrorDetail parseFrom(CodedInputStream input)
public static ResourceErrorDetail parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ResourceErrorDetail parseFrom(InputStream input)
public static ResourceErrorDetail parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ResourceErrorDetail parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ResourceErrorDetail parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ResourceErrorDetail> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ResourceErrorDetail getDefaultInstanceForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
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];
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 |
---|
Name | Description |
index | int
|
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()
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 |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ResourceErrorDetail.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ResourceErrorDetail.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ResourceErrorDetail.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides