Send feedback
  
   
 
  
    
      Class CompilationResult.CompilationError (0.16.0)
    
    
       
    
    
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
      
     
  
  
   
  
    
  
  
    
    
    
  Version 0.16.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  CompilationResult . CompilationError   extends   GeneratedMessageV3   implements   CompilationResult . CompilationErrorOrBuilder  
   
   An error encountered when attempting to compile a Dataform project.
 Protobuf type google.cloud.dataform.v1alpha2.CompilationResult.CompilationError
 
  
  
  
  Static Fields
   
  
  
    
public   static   final   int   ACTION_TARGET_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  
  
    
public   static   final   int   MESSAGE_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  
  
    
public   static   final   int   PATH_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  
  
    
public   static   final   int   STACK_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Static Methods
   
   
  
  
    
public   static   CompilationResult . CompilationError   getDefaultInstance ()  
   
  
   
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  
   
  
  
    
public   static   CompilationResult . CompilationError . Builder   newBuilder ()  
   
  
   
  
  
    
public   static   CompilationResult . CompilationError . Builder   newBuilder ( CompilationResult . CompilationError   prototype )  
   
  
  
   
  
  
    
public   static   CompilationResult . CompilationError   parseDelimitedFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   CompilationResult . CompilationError   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   CompilationResult . CompilationError   parseFrom ( byte []   data )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        data 
        byte [] 
       
     
  
  
  
   
  
  
    
public   static   CompilationResult . CompilationError   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   CompilationResult . CompilationError   parseFrom ( ByteString   data )  
   
  
  
  
   
  
  
    
public   static   CompilationResult . CompilationError   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   CompilationResult . CompilationError   parseFrom ( CodedInputStream   input )  
   
  
  
  
   
  
  
    
public   static   CompilationResult . CompilationError   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   CompilationResult . CompilationError   parseFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   CompilationResult . CompilationError   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   CompilationResult . CompilationError   parseFrom ( ByteBuffer   data )  
   
  
  
  
   
  
  
    
public   static   CompilationResult . CompilationError   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   Parser<CompilationResult . CompilationError >  parser ()  
   
  
  Methods
   
   
  
  
    
public   boolean   equals ( Object   obj )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        obj 
        Object  
       
     
  
  
  Overrides 
  
   
  
  
    
public   Target   getActionTarget ()  
   
   Output only. The identifier of the action where this error occurred, if available.
 
 .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Target  
        The actionTarget.
 
       
     
  
   
  
  
    
public   TargetOrBuilder   getActionTargetOrBuilder ()  
   
   Output only. The identifier of the action where this error occurred, if available.
 
 .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  
   
  
  
    
public   CompilationResult . CompilationError   getDefaultInstanceForType ()  
   
  
   
  
  
    
public   String   getMessage ()  
   
   Output only. The error's top level message.
 string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The message.
 
       
     
  
   
  
  
    
public   ByteString   getMessageBytes ()  
   
   Output only. The error's top level message.
 string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for message.
 
       
     
  
   
  
  
    
public   Parser<CompilationResult . CompilationError >  getParserForType ()  
   
  
  Overrides 
  
   
  
  
   Output only. The path of the file where this error occurred, if available, relative to
 the project root.
 string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The path.
 
       
     
  
   
  
  
    
public   ByteString   getPathBytes ()  
   
   Output only. The path of the file where this error occurred, if available, relative to
 the project root.
 string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for path.
 
       
     
  
   
  
  
    
public   int   getSerializedSize ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  
  
   Output only. The error's full stack trace.
 string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The stack.
 
       
     
  
   
  
  
    
public   ByteString   getStackBytes ()  
   
   Output only. The error's full stack trace.
 string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for stack.
 
       
     
  
   
  
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
   
  
  Overrides 
  
   
  
  
    
public   boolean   hasActionTarget ()  
   
   Output only. The identifier of the action where this error occurred, if available.
 
 .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the actionTarget field is set.
 
       
     
  
   
  
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  
  
    
public   CompilationResult . CompilationError . Builder   newBuilderForType ()  
   
  
   
  
  
    
protected   CompilationResult . CompilationError . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  
  
  Overrides 
  
   
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Object  
         
       
     
  
  Overrides 
  
   
  
  
    
public   CompilationResult . CompilationError . Builder   toBuilder ()  
   
  
   
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
 
  
    
    
      
    
     
  
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  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-30 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]