Send feedback
  
   
 
  
    
      Class Execution.StackTraceElement.Builder (2.6.0)
    
    
       
    
    
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
      
     
  
  
   
  
    
  
  
    
    
    
  Version 2.6.0keyboard_arrow_down  
  
 
    
    
     
    
    
    
    
    
      
  
  
  
    
public   static   final   class  Execution . StackTraceElement . Builder   extends   GeneratedMessageV3 . Builder<Execution . StackTraceElement . Builder >  implements   Execution . StackTraceElementOrBuilder  
   
   A single stack element (frame) where an error occurred.
 Protobuf type google.cloud.workflows.executions.v1.Execution.StackTraceElement
 
  
  
  
    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 ()  
   
  Returns 
  
  Methods
   
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   Execution . StackTraceElement . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
   
  build() 
  
    
public   Execution . StackTraceElement   build ()  
   
  Returns 
  
   
  buildPartial() 
  
    
public   Execution . StackTraceElement   buildPartial ()  
   
  Returns 
  
   
  clear() 
  
    
public   Execution . StackTraceElement . Builder   clear ()  
   
  Returns 
  
  Overrides 
  
   
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   Execution . StackTraceElement . Builder   clearField ( Descriptors . FieldDescriptor   field )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   Execution . StackTraceElement . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  clearPosition() 
  
    
public   Execution . StackTraceElement . Builder   clearPosition ()  
   
   The source position information of the stack trace element.
 
 .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3;
 
 
  Returns 
  
   
  clearRoutine() 
  
    
public   Execution . StackTraceElement . Builder   clearRoutine ()  
   
   The routine where the error occurred.
 string routine = 2;
 
  Returns 
  
   
  clearStep() 
  
    
public   Execution . StackTraceElement . Builder   clearStep ()  
   
   The step the error occurred at.
 string step = 1;
 
  Returns 
  
   
  clone() 
  
    
public   Execution . StackTraceElement . Builder   clone ()  
   
  Returns 
  
  Overrides 
  
   
  getDefaultInstanceForType() 
  
    
public   Execution . StackTraceElement   getDefaultInstanceForType ()  
   
  Returns 
  
   
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
   
  Returns 
  
  Overrides 
  
   
  getPosition() 
  
    
public   Execution . StackTraceElement . Position   getPosition ()  
   
   The source position information of the stack trace element.
 
 .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3;
 
 
  Returns 
  
   
  getPositionBuilder() 
  
    
public   Execution . StackTraceElement . Position . Builder   getPositionBuilder ()  
   
   The source position information of the stack trace element.
 
 .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3;
 
 
  Returns 
  
   
  getPositionOrBuilder() 
  
    
public   Execution . StackTraceElement . PositionOrBuilder   getPositionOrBuilder ()  
   
   The source position information of the stack trace element.
 
 .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3;
 
 
  Returns 
  
   
  getRoutine() 
  
    
public   String   getRoutine ()  
   
   The routine where the error occurred.
 string routine = 2;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The routine.
 
       
     
  
   
  getRoutineBytes() 
  
    
public   ByteString   getRoutineBytes ()  
   
   The routine where the error occurred.
 string routine = 2;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for routine.
 
       
     
  
   
  getStep() 
  
   The step the error occurred at.
 string step = 1;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The step.
 
       
     
  
   
  getStepBytes() 
  
    
public   ByteString   getStepBytes ()  
   
   The step the error occurred at.
 string step = 1;
 
  Returns 
  
   
  hasPosition() 
  
    
public   boolean   hasPosition ()  
   
   The source position information of the stack trace element.
 
 .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3;
 
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        Whether the position field is set.
 
       
     
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  Returns 
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  Returns 
  
  Overrides 
  
   
  mergeFrom(Execution.StackTraceElement other) 
  
    
public   Execution . StackTraceElement . Builder   mergeFrom ( Execution . StackTraceElement   other )  
   
  Parameter 
  
  Returns 
  
   
  
  
    
public   Execution . StackTraceElement . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
  Exceptions 
  
   
  mergeFrom(Message other) 
  
    
public   Execution . StackTraceElement . Builder   mergeFrom ( Message   other )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  mergePosition(Execution.StackTraceElement.Position value) 
  
    
public   Execution . StackTraceElement . Builder   mergePosition ( Execution . StackTraceElement . Position   value )  
   
   The source position information of the stack trace element.
 
 .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3;
 
 
  Parameter 
  
  Returns 
  
   
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   Execution . StackTraceElement . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   Execution . StackTraceElement . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
   
  setPosition(Execution.StackTraceElement.Position value) 
  
    
public   Execution . StackTraceElement . Builder   setPosition ( Execution . StackTraceElement . Position   value )  
   
   The source position information of the stack trace element.
 
 .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3;
 
 
  Parameter 
  
  Returns 
  
   
  setPosition(Execution.StackTraceElement.Position.Builder builderForValue) 
  
    
public   Execution . StackTraceElement . Builder   setPosition ( Execution . StackTraceElement . Position . Builder   builderForValue )  
   
   The source position information of the stack trace element.
 
 .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3;
 
 
  Parameter 
  
  Returns 
  
   
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   Execution . StackTraceElement . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
   
  setRoutine(String value) 
  
    
public   Execution . StackTraceElement . Builder   setRoutine ( String   value )  
   
   The routine where the error occurred.
 string routine = 2;
 
  Parameter 
  
    
      
        Name  
        Description  
       
      
        value  
        String The routine to set.
 
       
     
  
  Returns 
  
   
  setRoutineBytes(ByteString value) 
  
    
public   Execution . StackTraceElement . Builder   setRoutineBytes ( ByteString   value )  
   
   The routine where the error occurred.
 string routine = 2;
 
  Parameter 
  
    
      
        Name  
        Description  
       
      
        value  
        ByteString The bytes for routine to set.
 
       
     
  
  Returns 
  
   
  setStep(String value) 
  
    
public   Execution . StackTraceElement . Builder   setStep ( String   value )  
   
   The step the error occurred at.
 string step = 1;
 
  Parameter 
  
    
      
        Name  
        Description  
       
      
        value  
        String The step to set.
 
       
     
  
  Returns 
  
   
  setStepBytes(ByteString value) 
  
    
public   Execution . StackTraceElement . Builder   setStepBytes ( ByteString   value )  
   
   The step the error occurred at.
 string step = 1;
 
  Parameter 
  
    
      
        Name  
        Description  
       
      
        value  
        ByteString The bytes for step to set.
 
       
     
  
  Returns 
  
   
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   Execution . StackTraceElement . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
   
  Parameter 
  
  Returns 
  
  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."],[],[]]