Class ResourceErrorDetail.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ResourceErrorDetail.Builder>
com.google.cloud.bigquery.migration.v2.ResourceErrorDetail.Builder
- All Implemented Interfaces:
ResourceErrorDetailOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ResourceErrorDetail
public static final class ResourceErrorDetail.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ResourceErrorDetail.Builder>
implements ResourceErrorDetailOrBuilder
Provides details for errors and the corresponding resources.Protobuf type
google.cloud.bigquery.migration.v2.ResourceErrorDetail-
Method Summary
Modifier and TypeMethodDescriptionaddAllErrorDetails(Iterable<? extends ErrorDetail> values) Required.addErrorDetails(int index, ErrorDetail value) Required.addErrorDetails(int index, ErrorDetail.Builder builderForValue) Required.addErrorDetails(ErrorDetail value) Required.addErrorDetails(ErrorDetail.Builder builderForValue) Required.Required.addErrorDetailsBuilder(int index) Required.build()clear()Required.Required.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintRequired.getErrorDetails(int index) Required.getErrorDetailsBuilder(int index) Required.Required.intRequired.Required.getErrorDetailsOrBuilder(int index) Required.List<? extends ErrorDetailOrBuilder>Required.Required.Required.Required.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ResourceErrorDetail other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeResourceInfo(ResourceInfo value) Required.removeErrorDetails(int index) Required.setErrorCount(int value) Required.setErrorDetails(int index, ErrorDetail value) Required.setErrorDetails(int index, ErrorDetail.Builder builderForValue) Required.setResourceInfo(ResourceInfo value) Required.setResourceInfo(ResourceInfo.Builder builderForValue) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ResourceErrorDetail.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ResourceErrorDetail.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ResourceErrorDetail.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourceErrorDetail.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ResourceErrorDetail.Builder>
-
mergeFrom
public ResourceErrorDetail.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourceErrorDetail.Builder>- Throws:
IOException
-
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];- Specified by:
hasResourceInfoin interfaceResourceErrorDetailOrBuilder- Returns:
- Whether the resourceInfo field is set.
-
getResourceInfo
Required. Information about the resource where the error is located.
.google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getResourceInfoin interfaceResourceErrorDetailOrBuilder- Returns:
- The resourceInfo.
-
setResourceInfo
Required. Information about the resource where the error is located.
.google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; -
setResourceInfo
Required. Information about the resource where the error is located.
.google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; -
mergeResourceInfo
Required. Information about the resource where the error is located.
.google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; -
clearResourceInfo
Required. Information about the resource where the error is located.
.google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; -
getResourceInfoBuilder
Required. Information about the resource where the error is located.
.google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED]; -
getResourceInfoOrBuilder
Required. Information about the resource where the error is located.
.google.rpc.ResourceInfo resource_info = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getResourceInfoOrBuilderin interfaceResourceErrorDetailOrBuilder
-
getErrorDetailsList
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getErrorDetailsListin interfaceResourceErrorDetailOrBuilder
-
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];- Specified by:
getErrorDetailsCountin interfaceResourceErrorDetailOrBuilder
-
getErrorDetails
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getErrorDetailsin interfaceResourceErrorDetailOrBuilder
-
setErrorDetails
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; -
setErrorDetails
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; -
addErrorDetails
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; -
addErrorDetails
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; -
addErrorDetails
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; -
addErrorDetails
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; -
addAllErrorDetails
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; -
clearErrorDetails
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; -
removeErrorDetails
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; -
getErrorDetailsBuilder
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; -
getErrorDetailsOrBuilder
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getErrorDetailsOrBuilderin interfaceResourceErrorDetailOrBuilder
-
getErrorDetailsOrBuilderList
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getErrorDetailsOrBuilderListin interfaceResourceErrorDetailOrBuilder
-
addErrorDetailsBuilder
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; -
addErrorDetailsBuilder
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; -
getErrorDetailsBuilderList
Required. The error details for the resource.
repeated .google.cloud.bigquery.migration.v2.ErrorDetail error_details = 2 [(.google.api.field_behavior) = REQUIRED]; -
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];- Specified by:
getErrorCountin interfaceResourceErrorDetailOrBuilder- Returns:
- The errorCount.
-
setErrorCount
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];- Parameters:
value- The errorCount to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-