Class ErrorDetail.Builder (0.16.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.16.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  ErrorDetail . Builder   extends   GeneratedMessageV3 . Builder<ErrorDetail . Builder >  implements   ErrorDetailOrBuilder  
   Provides details for errors, e.g. issues that where encountered when
 processing a subtask.
 Protobuf type google.cloud.bigquery.migration.v2.ErrorDetail
    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
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ErrorDetail . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   ErrorDetail   build ()  
  
  buildPartial() 
  
    
public   ErrorDetail   buildPartial ()  
  
  clear() 
  
    
public   ErrorDetail . Builder   clear ()  
  
  Overrides 
  
  clearErrorInfo() 
  
    
public   ErrorDetail . Builder   clearErrorInfo ()  
   Required. Describes the cause of the error with structured detail.
 .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field) 
  
    
public   ErrorDetail . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearLocation() 
  
    
public   ErrorDetail . Builder   clearLocation ()  
   Optional. The exact location within the resource (if applicable).
 
 .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];
 
clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   ErrorDetail . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clone() 
  
    
public   ErrorDetail . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   ErrorDetail   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getErrorInfo() 
  
    
public   ErrorInfo   getErrorInfo ()  
   Required. Describes the cause of the error with structured detail.
 .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        com.google.rpc.ErrorInfo The errorInfo.
 
     
  
  getErrorInfoBuilder() 
  
    
public   ErrorInfo . Builder   getErrorInfoBuilder ()  
   Required. Describes the cause of the error with structured detail.
 .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        com.google.rpc.ErrorInfo.Builder  
     
  
  getErrorInfoOrBuilder() 
  
    
public   ErrorInfoOrBuilder   getErrorInfoOrBuilder ()  
   Required. Describes the cause of the error with structured detail.
 .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        com.google.rpc.ErrorInfoOrBuilder  
     
  
  getLocation() 
  
    
public   ErrorLocation   getLocation ()  
   Optional. The exact location within the resource (if applicable).
 
 .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];
 
getLocationBuilder() 
  
    
public   ErrorLocation . Builder   getLocationBuilder ()  
   Optional. The exact location within the resource (if applicable).
 
 .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];
 
getLocationOrBuilder() 
  
    
public   ErrorLocationOrBuilder   getLocationOrBuilder ()  
   Optional. The exact location within the resource (if applicable).
 
 .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];
 
hasErrorInfo() 
  
    
public   boolean   hasErrorInfo ()  
   Required. Describes the cause of the error with structured detail.
 .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the errorInfo field is set.
 
     
  
  hasLocation() 
  
    
public   boolean   hasLocation ()  
   Optional. The exact location within the resource (if applicable).
 
 .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the location field is set.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeErrorInfo(ErrorInfo value) 
  
    
public   ErrorDetail . Builder   mergeErrorInfo ( ErrorInfo   value )  
   Required. Describes the cause of the error with structured detail.
 .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameter  
      
        Name Description  
      
        valuecom.google.rpc.ErrorInfo  
     
  
  
  mergeFrom(ErrorDetail other) 
  
    
public   ErrorDetail . Builder   mergeFrom ( ErrorDetail   other )  
  
  
  
    
public   ErrorDetail . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   ErrorDetail . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeLocation(ErrorLocation value) 
  
    
public   ErrorDetail . Builder   mergeLocation ( ErrorLocation   value )  
   Optional. The exact location within the resource (if applicable).
 
 .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];
 
mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ErrorDetail . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setErrorInfo(ErrorInfo value) 
  
    
public   ErrorDetail . Builder   setErrorInfo ( ErrorInfo   value )  
   Required. Describes the cause of the error with structured detail.
 .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameter  
      
        Name Description  
      
        valuecom.google.rpc.ErrorInfo  
     
  
  
  setErrorInfo(ErrorInfo.Builder builderForValue) 
  
    
public   ErrorDetail . Builder   setErrorInfo ( ErrorInfo . Builder   builderForValue )  
   Required. Describes the cause of the error with structured detail.
 .google.rpc.ErrorInfo error_info = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameter  
      
        Name Description  
      
        builderForValuecom.google.rpc.ErrorInfo.Builder  
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ErrorDetail . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setLocation(ErrorLocation value) 
  
    
public   ErrorDetail . Builder   setLocation ( ErrorLocation   value )  
   Optional. The exact location within the resource (if applicable).
 
 .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];
 
setLocation(ErrorLocation.Builder builderForValue) 
  
    
public   ErrorDetail . Builder   setLocation ( ErrorLocation . Builder   builderForValue )  
   Optional. The exact location within the resource (if applicable).
 
 .google.cloud.bigquery.migration.v2.ErrorLocation location = 1 [(.google.api.field_behavior) = OPTIONAL];
 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   ErrorDetail . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ErrorDetail . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-10-28 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]