public Builder addElements(
          int index, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement value) {
        if (elementsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureElementsIsMutable();
          elements_.add(index, value);
          onChanged();
        } else {
          elementsBuilder_.addMessage(index, value);
        }
        return this;
      }
<pre>
An array of stack elements.
</pre>

<code>
repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1;
</code>
java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java