// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: tensorflow/core/protobuf/debug_event.proto

package org.tensorflow.proto.util;

/**
 * <pre>
 * Data relating to the eager execution of an op or a Graph.
 * For a op that generates N output tensors (N &gt;= 0), only one
 * Execution proto will be used to describe the execution event.
 * </pre>
 *
 * Protobuf type {@code tensorflow.Execution}
 */
public  final class Execution extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:tensorflow.Execution)
    ExecutionOrBuilder {
private static final long serialVersionUID = 0L;
  // Use Execution.newBuilder() to construct.
  private Execution(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private Execution() {
    opType_ = "";
    graphId_ = "";
    inputTensorIds_ = emptyLongList();
    outputTensorIds_ = emptyLongList();
    tensorDebugMode_ = 0;
    tensorProtos_ = java.util.Collections.emptyList();
    outputTensorDeviceIds_ = emptyIntList();
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new Execution();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private Execution(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            java.lang.String s = input.readStringRequireUtf8();

            opType_ = s;
            break;
          }
          case 16: {

            numOutputs_ = input.readInt32();
            break;
          }
          case 26: {
            java.lang.String s = input.readStringRequireUtf8();

            graphId_ = s;
            break;
          }
          case 32: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              inputTensorIds_ = newLongList();
              mutable_bitField0_ |= 0x00000001;
            }
            inputTensorIds_.addLong(input.readInt64());
            break;
          }
          case 34: {
            int length = input.readRawVarint32();
            int limit = input.pushLimit(length);
            if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
              inputTensorIds_ = newLongList();
              mutable_bitField0_ |= 0x00000001;
            }
            while (input.getBytesUntilLimit() > 0) {
              inputTensorIds_.addLong(input.readInt64());
            }
            input.popLimit(limit);
            break;
          }
          case 40: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              outputTensorIds_ = newLongList();
              mutable_bitField0_ |= 0x00000002;
            }
            outputTensorIds_.addLong(input.readInt64());
            break;
          }
          case 42: {
            int length = input.readRawVarint32();
            int limit = input.pushLimit(length);
            if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
              outputTensorIds_ = newLongList();
              mutable_bitField0_ |= 0x00000002;
            }
            while (input.getBytesUntilLimit() > 0) {
              outputTensorIds_.addLong(input.readInt64());
            }
            input.popLimit(limit);
            break;
          }
          case 48: {
            int rawValue = input.readEnum();

            tensorDebugMode_ = rawValue;
            break;
          }
          case 58: {
            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
              tensorProtos_ = new java.util.ArrayList<org.tensorflow.proto.framework.TensorProto>();
              mutable_bitField0_ |= 0x00000004;
            }
            tensorProtos_.add(
                input.readMessage(org.tensorflow.proto.framework.TensorProto.parser(), extensionRegistry));
            break;
          }
          case 66: {
            org.tensorflow.proto.util.CodeLocation.Builder subBuilder = null;
            if (codeLocation_ != null) {
              subBuilder = codeLocation_.toBuilder();
            }
            codeLocation_ = input.readMessage(org.tensorflow.proto.util.CodeLocation.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(codeLocation_);
              codeLocation_ = subBuilder.buildPartial();
            }

            break;
          }
          case 72: {
            if (!((mutable_bitField0_ & 0x00000008) != 0)) {
              outputTensorDeviceIds_ = newIntList();
              mutable_bitField0_ |= 0x00000008;
            }
            outputTensorDeviceIds_.addInt(input.readInt32());
            break;
          }
          case 74: {
            int length = input.readRawVarint32();
            int limit = input.pushLimit(length);
            if (!((mutable_bitField0_ & 0x00000008) != 0) && input.getBytesUntilLimit() > 0) {
              outputTensorDeviceIds_ = newIntList();
              mutable_bitField0_ |= 0x00000008;
            }
            while (input.getBytesUntilLimit() > 0) {
              outputTensorDeviceIds_.addInt(input.readInt32());
            }
            input.popLimit(limit);
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        inputTensorIds_.makeImmutable(); // C
      }
      if (((mutable_bitField0_ & 0x00000002) != 0)) {
        outputTensorIds_.makeImmutable(); // C
      }
      if (((mutable_bitField0_ & 0x00000004) != 0)) {
        tensorProtos_ = java.util.Collections.unmodifiableList(tensorProtos_);
      }
      if (((mutable_bitField0_ & 0x00000008) != 0)) {
        outputTensorDeviceIds_.makeImmutable(); // C
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return org.tensorflow.proto.util.DebugEventProtos.internal_static_tensorflow_Execution_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return org.tensorflow.proto.util.DebugEventProtos.internal_static_tensorflow_Execution_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            org.tensorflow.proto.util.Execution.class, org.tensorflow.proto.util.Execution.Builder.class);
  }

  public static final int OP_TYPE_FIELD_NUMBER = 1;
  private volatile java.lang.Object opType_;
  /**
   * <pre>
   * Op type (e.g., "MatMul").
   * In the case of a Graph, this is the name of the Graph.
   * </pre>
   *
   * <code>string op_type = 1;</code>
   */
  public java.lang.String getOpType() {
    java.lang.Object ref = opType_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      opType_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * Op type (e.g., "MatMul").
   * In the case of a Graph, this is the name of the Graph.
   * </pre>
   *
   * <code>string op_type = 1;</code>
   */
  public com.google.protobuf.ByteString
      getOpTypeBytes() {
    java.lang.Object ref = opType_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      opType_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int NUM_OUTPUTS_FIELD_NUMBER = 2;
  private int numOutputs_;
  /**
   * <pre>
   * Number of output tensors.
   * </pre>
   *
   * <code>int32 num_outputs = 2;</code>
   */
  public int getNumOutputs() {
    return numOutputs_;
  }

  public static final int GRAPH_ID_FIELD_NUMBER = 3;
  private volatile java.lang.Object graphId_;
  /**
   * <pre>
   * The graph that's executed: applicable only to the eager
   * execution of a FuncGraph.
   * </pre>
   *
   * <code>string graph_id = 3;</code>
   */
  public java.lang.String getGraphId() {
    java.lang.Object ref = graphId_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      graphId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * The graph that's executed: applicable only to the eager
   * execution of a FuncGraph.
   * </pre>
   *
   * <code>string graph_id = 3;</code>
   */
  public com.google.protobuf.ByteString
      getGraphIdBytes() {
    java.lang.Object ref = graphId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      graphId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int INPUT_TENSOR_IDS_FIELD_NUMBER = 4;
  private com.google.protobuf.Internal.LongList inputTensorIds_;
  /**
   * <pre>
   * IDs of the input tensors (if available).
   * </pre>
   *
   * <code>repeated int64 input_tensor_ids = 4;</code>
   */
  public java.util.List<java.lang.Long>
      getInputTensorIdsList() {
    return inputTensorIds_;
  }
  /**
   * <pre>
   * IDs of the input tensors (if available).
   * </pre>
   *
   * <code>repeated int64 input_tensor_ids = 4;</code>
   */
  public int getInputTensorIdsCount() {
    return inputTensorIds_.size();
  }
  /**
   * <pre>
   * IDs of the input tensors (if available).
   * </pre>
   *
   * <code>repeated int64 input_tensor_ids = 4;</code>
   */
  public long getInputTensorIds(int index) {
    return inputTensorIds_.getLong(index);
  }
  private int inputTensorIdsMemoizedSerializedSize = -1;

  public static final int OUTPUT_TENSOR_IDS_FIELD_NUMBER = 5;
  private com.google.protobuf.Internal.LongList outputTensorIds_;
  /**
   * <pre>
   * IDs of the output tensors (if availbable).
   * If specified, must have the same length as tensor_protos.
   * </pre>
   *
   * <code>repeated int64 output_tensor_ids = 5;</code>
   */
  public java.util.List<java.lang.Long>
      getOutputTensorIdsList() {
    return outputTensorIds_;
  }
  /**
   * <pre>
   * IDs of the output tensors (if availbable).
   * If specified, must have the same length as tensor_protos.
   * </pre>
   *
   * <code>repeated int64 output_tensor_ids = 5;</code>
   */
  public int getOutputTensorIdsCount() {
    return outputTensorIds_.size();
  }
  /**
   * <pre>
   * IDs of the output tensors (if availbable).
   * If specified, must have the same length as tensor_protos.
   * </pre>
   *
   * <code>repeated int64 output_tensor_ids = 5;</code>
   */
  public long getOutputTensorIds(int index) {
    return outputTensorIds_.getLong(index);
  }
  private int outputTensorIdsMemoizedSerializedSize = -1;

  public static final int TENSOR_DEBUG_MODE_FIELD_NUMBER = 6;
  private int tensorDebugMode_;
  /**
   * <pre>
   * Type of the tensor value encapsulated in this proto.
   * </pre>
   *
   * <code>.tensorflow.TensorDebugMode tensor_debug_mode = 6;</code>
   */
  public int getTensorDebugModeValue() {
    return tensorDebugMode_;
  }
  /**
   * <pre>
   * Type of the tensor value encapsulated in this proto.
   * </pre>
   *
   * <code>.tensorflow.TensorDebugMode tensor_debug_mode = 6;</code>
   */
  public org.tensorflow.proto.util.TensorDebugMode getTensorDebugMode() {
    @SuppressWarnings("deprecation")
    org.tensorflow.proto.util.TensorDebugMode result = org.tensorflow.proto.util.TensorDebugMode.valueOf(tensorDebugMode_);
    return result == null ? org.tensorflow.proto.util.TensorDebugMode.UNRECOGNIZED : result;
  }

  public static final int TENSOR_PROTOS_FIELD_NUMBER = 7;
  private java.util.List<org.tensorflow.proto.framework.TensorProto> tensorProtos_;
  /**
   * <pre>
   * Output Tensor values in the type described by `tensor_value_type`.
   * The length of this should match `num_outputs`.
   * </pre>
   *
   * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
   */
  public java.util.List<org.tensorflow.proto.framework.TensorProto> getTensorProtosList() {
    return tensorProtos_;
  }
  /**
   * <pre>
   * Output Tensor values in the type described by `tensor_value_type`.
   * The length of this should match `num_outputs`.
   * </pre>
   *
   * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
   */
  public java.util.List<? extends org.tensorflow.proto.framework.TensorProtoOrBuilder> 
      getTensorProtosOrBuilderList() {
    return tensorProtos_;
  }
  /**
   * <pre>
   * Output Tensor values in the type described by `tensor_value_type`.
   * The length of this should match `num_outputs`.
   * </pre>
   *
   * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
   */
  public int getTensorProtosCount() {
    return tensorProtos_.size();
  }
  /**
   * <pre>
   * Output Tensor values in the type described by `tensor_value_type`.
   * The length of this should match `num_outputs`.
   * </pre>
   *
   * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
   */
  public org.tensorflow.proto.framework.TensorProto getTensorProtos(int index) {
    return tensorProtos_.get(index);
  }
  /**
   * <pre>
   * Output Tensor values in the type described by `tensor_value_type`.
   * The length of this should match `num_outputs`.
   * </pre>
   *
   * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
   */
  public org.tensorflow.proto.framework.TensorProtoOrBuilder getTensorProtosOrBuilder(
      int index) {
    return tensorProtos_.get(index);
  }

  public static final int CODE_LOCATION_FIELD_NUMBER = 8;
  private org.tensorflow.proto.util.CodeLocation codeLocation_;
  /**
   * <pre>
   * Stack trace of the eager execution.
   * </pre>
   *
   * <code>.tensorflow.CodeLocation code_location = 8;</code>
   */
  public boolean hasCodeLocation() {
    return codeLocation_ != null;
  }
  /**
   * <pre>
   * Stack trace of the eager execution.
   * </pre>
   *
   * <code>.tensorflow.CodeLocation code_location = 8;</code>
   */
  public org.tensorflow.proto.util.CodeLocation getCodeLocation() {
    return codeLocation_ == null ? org.tensorflow.proto.util.CodeLocation.getDefaultInstance() : codeLocation_;
  }
  /**
   * <pre>
   * Stack trace of the eager execution.
   * </pre>
   *
   * <code>.tensorflow.CodeLocation code_location = 8;</code>
   */
  public org.tensorflow.proto.util.CodeLocationOrBuilder getCodeLocationOrBuilder() {
    return getCodeLocation();
  }

  public static final int OUTPUT_TENSOR_DEVICE_IDS_FIELD_NUMBER = 9;
  private com.google.protobuf.Internal.IntList outputTensorDeviceIds_;
  /**
   * <pre>
   * Debugged-generated IDs of the devices on which the output tensors reside.
   * To look up details about the device (e.g., name), cross-reference this
   * field with the DebuggedDevice messages.
   * </pre>
   *
   * <code>repeated int32 output_tensor_device_ids = 9;</code>
   */
  public java.util.List<java.lang.Integer>
      getOutputTensorDeviceIdsList() {
    return outputTensorDeviceIds_;
  }
  /**
   * <pre>
   * Debugged-generated IDs of the devices on which the output tensors reside.
   * To look up details about the device (e.g., name), cross-reference this
   * field with the DebuggedDevice messages.
   * </pre>
   *
   * <code>repeated int32 output_tensor_device_ids = 9;</code>
   */
  public int getOutputTensorDeviceIdsCount() {
    return outputTensorDeviceIds_.size();
  }
  /**
   * <pre>
   * Debugged-generated IDs of the devices on which the output tensors reside.
   * To look up details about the device (e.g., name), cross-reference this
   * field with the DebuggedDevice messages.
   * </pre>
   *
   * <code>repeated int32 output_tensor_device_ids = 9;</code>
   */
  public int getOutputTensorDeviceIds(int index) {
    return outputTensorDeviceIds_.getInt(index);
  }
  private int outputTensorDeviceIdsMemoizedSerializedSize = -1;

  private byte memoizedIsInitialized = -1;
  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    getSerializedSize();
    if (!getOpTypeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, opType_);
    }
    if (numOutputs_ != 0) {
      output.writeInt32(2, numOutputs_);
    }
    if (!getGraphIdBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, graphId_);
    }
    if (getInputTensorIdsList().size() > 0) {
      output.writeUInt32NoTag(34);
      output.writeUInt32NoTag(inputTensorIdsMemoizedSerializedSize);
    }
    for (int i = 0; i < inputTensorIds_.size(); i++) {
      output.writeInt64NoTag(inputTensorIds_.getLong(i));
    }
    if (getOutputTensorIdsList().size() > 0) {
      output.writeUInt32NoTag(42);
      output.writeUInt32NoTag(outputTensorIdsMemoizedSerializedSize);
    }
    for (int i = 0; i < outputTensorIds_.size(); i++) {
      output.writeInt64NoTag(outputTensorIds_.getLong(i));
    }
    if (tensorDebugMode_ != org.tensorflow.proto.util.TensorDebugMode.UNSPECIFIED.getNumber()) {
      output.writeEnum(6, tensorDebugMode_);
    }
    for (int i = 0; i < tensorProtos_.size(); i++) {
      output.writeMessage(7, tensorProtos_.get(i));
    }
    if (codeLocation_ != null) {
      output.writeMessage(8, getCodeLocation());
    }
    if (getOutputTensorDeviceIdsList().size() > 0) {
      output.writeUInt32NoTag(74);
      output.writeUInt32NoTag(outputTensorDeviceIdsMemoizedSerializedSize);
    }
    for (int i = 0; i < outputTensorDeviceIds_.size(); i++) {
      output.writeInt32NoTag(outputTensorDeviceIds_.getInt(i));
    }
    unknownFields.writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (!getOpTypeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, opType_);
    }
    if (numOutputs_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(2, numOutputs_);
    }
    if (!getGraphIdBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, graphId_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < inputTensorIds_.size(); i++) {
        dataSize += com.google.protobuf.CodedOutputStream
          .computeInt64SizeNoTag(inputTensorIds_.getLong(i));
      }
      size += dataSize;
      if (!getInputTensorIdsList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(dataSize);
      }
      inputTensorIdsMemoizedSerializedSize = dataSize;
    }
    {
      int dataSize = 0;
      for (int i = 0; i < outputTensorIds_.size(); i++) {
        dataSize += com.google.protobuf.CodedOutputStream
          .computeInt64SizeNoTag(outputTensorIds_.getLong(i));
      }
      size += dataSize;
      if (!getOutputTensorIdsList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(dataSize);
      }
      outputTensorIdsMemoizedSerializedSize = dataSize;
    }
    if (tensorDebugMode_ != org.tensorflow.proto.util.TensorDebugMode.UNSPECIFIED.getNumber()) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(6, tensorDebugMode_);
    }
    for (int i = 0; i < tensorProtos_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(7, tensorProtos_.get(i));
    }
    if (codeLocation_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(8, getCodeLocation());
    }
    {
      int dataSize = 0;
      for (int i = 0; i < outputTensorDeviceIds_.size(); i++) {
        dataSize += com.google.protobuf.CodedOutputStream
          .computeInt32SizeNoTag(outputTensorDeviceIds_.getInt(i));
      }
      size += dataSize;
      if (!getOutputTensorDeviceIdsList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(dataSize);
      }
      outputTensorDeviceIdsMemoizedSerializedSize = dataSize;
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof org.tensorflow.proto.util.Execution)) {
      return super.equals(obj);
    }
    org.tensorflow.proto.util.Execution other = (org.tensorflow.proto.util.Execution) obj;

    if (!getOpType()
        .equals(other.getOpType())) return false;
    if (getNumOutputs()
        != other.getNumOutputs()) return false;
    if (!getGraphId()
        .equals(other.getGraphId())) return false;
    if (!getInputTensorIdsList()
        .equals(other.getInputTensorIdsList())) return false;
    if (!getOutputTensorIdsList()
        .equals(other.getOutputTensorIdsList())) return false;
    if (tensorDebugMode_ != other.tensorDebugMode_) return false;
    if (!getTensorProtosList()
        .equals(other.getTensorProtosList())) return false;
    if (hasCodeLocation() != other.hasCodeLocation()) return false;
    if (hasCodeLocation()) {
      if (!getCodeLocation()
          .equals(other.getCodeLocation())) return false;
    }
    if (!getOutputTensorDeviceIdsList()
        .equals(other.getOutputTensorDeviceIdsList())) return false;
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + OP_TYPE_FIELD_NUMBER;
    hash = (53 * hash) + getOpType().hashCode();
    hash = (37 * hash) + NUM_OUTPUTS_FIELD_NUMBER;
    hash = (53 * hash) + getNumOutputs();
    hash = (37 * hash) + GRAPH_ID_FIELD_NUMBER;
    hash = (53 * hash) + getGraphId().hashCode();
    if (getInputTensorIdsCount() > 0) {
      hash = (37 * hash) + INPUT_TENSOR_IDS_FIELD_NUMBER;
      hash = (53 * hash) + getInputTensorIdsList().hashCode();
    }
    if (getOutputTensorIdsCount() > 0) {
      hash = (37 * hash) + OUTPUT_TENSOR_IDS_FIELD_NUMBER;
      hash = (53 * hash) + getOutputTensorIdsList().hashCode();
    }
    hash = (37 * hash) + TENSOR_DEBUG_MODE_FIELD_NUMBER;
    hash = (53 * hash) + tensorDebugMode_;
    if (getTensorProtosCount() > 0) {
      hash = (37 * hash) + TENSOR_PROTOS_FIELD_NUMBER;
      hash = (53 * hash) + getTensorProtosList().hashCode();
    }
    if (hasCodeLocation()) {
      hash = (37 * hash) + CODE_LOCATION_FIELD_NUMBER;
      hash = (53 * hash) + getCodeLocation().hashCode();
    }
    if (getOutputTensorDeviceIdsCount() > 0) {
      hash = (37 * hash) + OUTPUT_TENSOR_DEVICE_IDS_FIELD_NUMBER;
      hash = (53 * hash) + getOutputTensorDeviceIdsList().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static org.tensorflow.proto.util.Execution parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static org.tensorflow.proto.util.Execution parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static org.tensorflow.proto.util.Execution parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static org.tensorflow.proto.util.Execution parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static org.tensorflow.proto.util.Execution parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static org.tensorflow.proto.util.Execution parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static org.tensorflow.proto.util.Execution parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static org.tensorflow.proto.util.Execution parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }
  public static org.tensorflow.proto.util.Execution parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static org.tensorflow.proto.util.Execution parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static org.tensorflow.proto.util.Execution parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static org.tensorflow.proto.util.Execution parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(org.tensorflow.proto.util.Execution prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   * Data relating to the eager execution of an op or a Graph.
   * For a op that generates N output tensors (N &gt;= 0), only one
   * Execution proto will be used to describe the execution event.
   * </pre>
   *
   * Protobuf type {@code tensorflow.Execution}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:tensorflow.Execution)
      org.tensorflow.proto.util.ExecutionOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.tensorflow.proto.util.DebugEventProtos.internal_static_tensorflow_Execution_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.tensorflow.proto.util.DebugEventProtos.internal_static_tensorflow_Execution_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.tensorflow.proto.util.Execution.class, org.tensorflow.proto.util.Execution.Builder.class);
    }

    // Construct using org.tensorflow.proto.util.Execution.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getTensorProtosFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      opType_ = "";

      numOutputs_ = 0;

      graphId_ = "";

      inputTensorIds_ = emptyLongList();
      bitField0_ = (bitField0_ & ~0x00000001);
      outputTensorIds_ = emptyLongList();
      bitField0_ = (bitField0_ & ~0x00000002);
      tensorDebugMode_ = 0;

      if (tensorProtosBuilder_ == null) {
        tensorProtos_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
      } else {
        tensorProtosBuilder_.clear();
      }
      if (codeLocationBuilder_ == null) {
        codeLocation_ = null;
      } else {
        codeLocation_ = null;
        codeLocationBuilder_ = null;
      }
      outputTensorDeviceIds_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000008);
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return org.tensorflow.proto.util.DebugEventProtos.internal_static_tensorflow_Execution_descriptor;
    }

    @java.lang.Override
    public org.tensorflow.proto.util.Execution getDefaultInstanceForType() {
      return org.tensorflow.proto.util.Execution.getDefaultInstance();
    }

    @java.lang.Override
    public org.tensorflow.proto.util.Execution build() {
      org.tensorflow.proto.util.Execution result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public org.tensorflow.proto.util.Execution buildPartial() {
      org.tensorflow.proto.util.Execution result = new org.tensorflow.proto.util.Execution(this);
      int from_bitField0_ = bitField0_;
      result.opType_ = opType_;
      result.numOutputs_ = numOutputs_;
      result.graphId_ = graphId_;
      if (((bitField0_ & 0x00000001) != 0)) {
        inputTensorIds_.makeImmutable();
        bitField0_ = (bitField0_ & ~0x00000001);
      }
      result.inputTensorIds_ = inputTensorIds_;
      if (((bitField0_ & 0x00000002) != 0)) {
        outputTensorIds_.makeImmutable();
        bitField0_ = (bitField0_ & ~0x00000002);
      }
      result.outputTensorIds_ = outputTensorIds_;
      result.tensorDebugMode_ = tensorDebugMode_;
      if (tensorProtosBuilder_ == null) {
        if (((bitField0_ & 0x00000004) != 0)) {
          tensorProtos_ = java.util.Collections.unmodifiableList(tensorProtos_);
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.tensorProtos_ = tensorProtos_;
      } else {
        result.tensorProtos_ = tensorProtosBuilder_.build();
      }
      if (codeLocationBuilder_ == null) {
        result.codeLocation_ = codeLocation_;
      } else {
        result.codeLocation_ = codeLocationBuilder_.build();
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        outputTensorDeviceIds_.makeImmutable();
        bitField0_ = (bitField0_ & ~0x00000008);
      }
      result.outputTensorDeviceIds_ = outputTensorDeviceIds_;
      onBuilt();
      return result;
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof org.tensorflow.proto.util.Execution) {
        return mergeFrom((org.tensorflow.proto.util.Execution)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(org.tensorflow.proto.util.Execution other) {
      if (other == org.tensorflow.proto.util.Execution.getDefaultInstance()) return this;
      if (!other.getOpType().isEmpty()) {
        opType_ = other.opType_;
        onChanged();
      }
      if (other.getNumOutputs() != 0) {
        setNumOutputs(other.getNumOutputs());
      }
      if (!other.getGraphId().isEmpty()) {
        graphId_ = other.graphId_;
        onChanged();
      }
      if (!other.inputTensorIds_.isEmpty()) {
        if (inputTensorIds_.isEmpty()) {
          inputTensorIds_ = other.inputTensorIds_;
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          ensureInputTensorIdsIsMutable();
          inputTensorIds_.addAll(other.inputTensorIds_);
        }
        onChanged();
      }
      if (!other.outputTensorIds_.isEmpty()) {
        if (outputTensorIds_.isEmpty()) {
          outputTensorIds_ = other.outputTensorIds_;
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          ensureOutputTensorIdsIsMutable();
          outputTensorIds_.addAll(other.outputTensorIds_);
        }
        onChanged();
      }
      if (other.tensorDebugMode_ != 0) {
        setTensorDebugModeValue(other.getTensorDebugModeValue());
      }
      if (tensorProtosBuilder_ == null) {
        if (!other.tensorProtos_.isEmpty()) {
          if (tensorProtos_.isEmpty()) {
            tensorProtos_ = other.tensorProtos_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureTensorProtosIsMutable();
            tensorProtos_.addAll(other.tensorProtos_);
          }
          onChanged();
        }
      } else {
        if (!other.tensorProtos_.isEmpty()) {
          if (tensorProtosBuilder_.isEmpty()) {
            tensorProtosBuilder_.dispose();
            tensorProtosBuilder_ = null;
            tensorProtos_ = other.tensorProtos_;
            bitField0_ = (bitField0_ & ~0x00000004);
            tensorProtosBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getTensorProtosFieldBuilder() : null;
          } else {
            tensorProtosBuilder_.addAllMessages(other.tensorProtos_);
          }
        }
      }
      if (other.hasCodeLocation()) {
        mergeCodeLocation(other.getCodeLocation());
      }
      if (!other.outputTensorDeviceIds_.isEmpty()) {
        if (outputTensorDeviceIds_.isEmpty()) {
          outputTensorDeviceIds_ = other.outputTensorDeviceIds_;
          bitField0_ = (bitField0_ & ~0x00000008);
        } else {
          ensureOutputTensorDeviceIdsIsMutable();
          outputTensorDeviceIds_.addAll(other.outputTensorDeviceIds_);
        }
        onChanged();
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

    @java.lang.Override
    public final boolean isInitialized() {
      return true;
    }

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      org.tensorflow.proto.util.Execution parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (org.tensorflow.proto.util.Execution) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private java.lang.Object opType_ = "";
    /**
     * <pre>
     * Op type (e.g., "MatMul").
     * In the case of a Graph, this is the name of the Graph.
     * </pre>
     *
     * <code>string op_type = 1;</code>
     */
    public java.lang.String getOpType() {
      java.lang.Object ref = opType_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        opType_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * Op type (e.g., "MatMul").
     * In the case of a Graph, this is the name of the Graph.
     * </pre>
     *
     * <code>string op_type = 1;</code>
     */
    public com.google.protobuf.ByteString
        getOpTypeBytes() {
      java.lang.Object ref = opType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        opType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * Op type (e.g., "MatMul").
     * In the case of a Graph, this is the name of the Graph.
     * </pre>
     *
     * <code>string op_type = 1;</code>
     */
    public Builder setOpType(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      opType_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * Op type (e.g., "MatMul").
     * In the case of a Graph, this is the name of the Graph.
     * </pre>
     *
     * <code>string op_type = 1;</code>
     */
    public Builder clearOpType() {
      
      opType_ = getDefaultInstance().getOpType();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * Op type (e.g., "MatMul").
     * In the case of a Graph, this is the name of the Graph.
     * </pre>
     *
     * <code>string op_type = 1;</code>
     */
    public Builder setOpTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      opType_ = value;
      onChanged();
      return this;
    }

    private int numOutputs_ ;
    /**
     * <pre>
     * Number of output tensors.
     * </pre>
     *
     * <code>int32 num_outputs = 2;</code>
     */
    public int getNumOutputs() {
      return numOutputs_;
    }
    /**
     * <pre>
     * Number of output tensors.
     * </pre>
     *
     * <code>int32 num_outputs = 2;</code>
     */
    public Builder setNumOutputs(int value) {
      
      numOutputs_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * Number of output tensors.
     * </pre>
     *
     * <code>int32 num_outputs = 2;</code>
     */
    public Builder clearNumOutputs() {
      
      numOutputs_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object graphId_ = "";
    /**
     * <pre>
     * The graph that's executed: applicable only to the eager
     * execution of a FuncGraph.
     * </pre>
     *
     * <code>string graph_id = 3;</code>
     */
    public java.lang.String getGraphId() {
      java.lang.Object ref = graphId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        graphId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * The graph that's executed: applicable only to the eager
     * execution of a FuncGraph.
     * </pre>
     *
     * <code>string graph_id = 3;</code>
     */
    public com.google.protobuf.ByteString
        getGraphIdBytes() {
      java.lang.Object ref = graphId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        graphId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * The graph that's executed: applicable only to the eager
     * execution of a FuncGraph.
     * </pre>
     *
     * <code>string graph_id = 3;</code>
     */
    public Builder setGraphId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      graphId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * The graph that's executed: applicable only to the eager
     * execution of a FuncGraph.
     * </pre>
     *
     * <code>string graph_id = 3;</code>
     */
    public Builder clearGraphId() {
      
      graphId_ = getDefaultInstance().getGraphId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * The graph that's executed: applicable only to the eager
     * execution of a FuncGraph.
     * </pre>
     *
     * <code>string graph_id = 3;</code>
     */
    public Builder setGraphIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      graphId_ = value;
      onChanged();
      return this;
    }

    private com.google.protobuf.Internal.LongList inputTensorIds_ = emptyLongList();
    private void ensureInputTensorIdsIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        inputTensorIds_ = mutableCopy(inputTensorIds_);
        bitField0_ |= 0x00000001;
       }
    }
    /**
     * <pre>
     * IDs of the input tensors (if available).
     * </pre>
     *
     * <code>repeated int64 input_tensor_ids = 4;</code>
     */
    public java.util.List<java.lang.Long>
        getInputTensorIdsList() {
      return ((bitField0_ & 0x00000001) != 0) ?
               java.util.Collections.unmodifiableList(inputTensorIds_) : inputTensorIds_;
    }
    /**
     * <pre>
     * IDs of the input tensors (if available).
     * </pre>
     *
     * <code>repeated int64 input_tensor_ids = 4;</code>
     */
    public int getInputTensorIdsCount() {
      return inputTensorIds_.size();
    }
    /**
     * <pre>
     * IDs of the input tensors (if available).
     * </pre>
     *
     * <code>repeated int64 input_tensor_ids = 4;</code>
     */
    public long getInputTensorIds(int index) {
      return inputTensorIds_.getLong(index);
    }
    /**
     * <pre>
     * IDs of the input tensors (if available).
     * </pre>
     *
     * <code>repeated int64 input_tensor_ids = 4;</code>
     */
    public Builder setInputTensorIds(
        int index, long value) {
      ensureInputTensorIdsIsMutable();
      inputTensorIds_.setLong(index, value);
      onChanged();
      return this;
    }
    /**
     * <pre>
     * IDs of the input tensors (if available).
     * </pre>
     *
     * <code>repeated int64 input_tensor_ids = 4;</code>
     */
    public Builder addInputTensorIds(long value) {
      ensureInputTensorIdsIsMutable();
      inputTensorIds_.addLong(value);
      onChanged();
      return this;
    }
    /**
     * <pre>
     * IDs of the input tensors (if available).
     * </pre>
     *
     * <code>repeated int64 input_tensor_ids = 4;</code>
     */
    public Builder addAllInputTensorIds(
        java.lang.Iterable<? extends java.lang.Long> values) {
      ensureInputTensorIdsIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, inputTensorIds_);
      onChanged();
      return this;
    }
    /**
     * <pre>
     * IDs of the input tensors (if available).
     * </pre>
     *
     * <code>repeated int64 input_tensor_ids = 4;</code>
     */
    public Builder clearInputTensorIds() {
      inputTensorIds_ = emptyLongList();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }

    private com.google.protobuf.Internal.LongList outputTensorIds_ = emptyLongList();
    private void ensureOutputTensorIdsIsMutable() {
      if (!((bitField0_ & 0x00000002) != 0)) {
        outputTensorIds_ = mutableCopy(outputTensorIds_);
        bitField0_ |= 0x00000002;
       }
    }
    /**
     * <pre>
     * IDs of the output tensors (if availbable).
     * If specified, must have the same length as tensor_protos.
     * </pre>
     *
     * <code>repeated int64 output_tensor_ids = 5;</code>
     */
    public java.util.List<java.lang.Long>
        getOutputTensorIdsList() {
      return ((bitField0_ & 0x00000002) != 0) ?
               java.util.Collections.unmodifiableList(outputTensorIds_) : outputTensorIds_;
    }
    /**
     * <pre>
     * IDs of the output tensors (if availbable).
     * If specified, must have the same length as tensor_protos.
     * </pre>
     *
     * <code>repeated int64 output_tensor_ids = 5;</code>
     */
    public int getOutputTensorIdsCount() {
      return outputTensorIds_.size();
    }
    /**
     * <pre>
     * IDs of the output tensors (if availbable).
     * If specified, must have the same length as tensor_protos.
     * </pre>
     *
     * <code>repeated int64 output_tensor_ids = 5;</code>
     */
    public long getOutputTensorIds(int index) {
      return outputTensorIds_.getLong(index);
    }
    /**
     * <pre>
     * IDs of the output tensors (if availbable).
     * If specified, must have the same length as tensor_protos.
     * </pre>
     *
     * <code>repeated int64 output_tensor_ids = 5;</code>
     */
    public Builder setOutputTensorIds(
        int index, long value) {
      ensureOutputTensorIdsIsMutable();
      outputTensorIds_.setLong(index, value);
      onChanged();
      return this;
    }
    /**
     * <pre>
     * IDs of the output tensors (if availbable).
     * If specified, must have the same length as tensor_protos.
     * </pre>
     *
     * <code>repeated int64 output_tensor_ids = 5;</code>
     */
    public Builder addOutputTensorIds(long value) {
      ensureOutputTensorIdsIsMutable();
      outputTensorIds_.addLong(value);
      onChanged();
      return this;
    }
    /**
     * <pre>
     * IDs of the output tensors (if availbable).
     * If specified, must have the same length as tensor_protos.
     * </pre>
     *
     * <code>repeated int64 output_tensor_ids = 5;</code>
     */
    public Builder addAllOutputTensorIds(
        java.lang.Iterable<? extends java.lang.Long> values) {
      ensureOutputTensorIdsIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, outputTensorIds_);
      onChanged();
      return this;
    }
    /**
     * <pre>
     * IDs of the output tensors (if availbable).
     * If specified, must have the same length as tensor_protos.
     * </pre>
     *
     * <code>repeated int64 output_tensor_ids = 5;</code>
     */
    public Builder clearOutputTensorIds() {
      outputTensorIds_ = emptyLongList();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }

    private int tensorDebugMode_ = 0;
    /**
     * <pre>
     * Type of the tensor value encapsulated in this proto.
     * </pre>
     *
     * <code>.tensorflow.TensorDebugMode tensor_debug_mode = 6;</code>
     */
    public int getTensorDebugModeValue() {
      return tensorDebugMode_;
    }
    /**
     * <pre>
     * Type of the tensor value encapsulated in this proto.
     * </pre>
     *
     * <code>.tensorflow.TensorDebugMode tensor_debug_mode = 6;</code>
     */
    public Builder setTensorDebugModeValue(int value) {
      tensorDebugMode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * Type of the tensor value encapsulated in this proto.
     * </pre>
     *
     * <code>.tensorflow.TensorDebugMode tensor_debug_mode = 6;</code>
     */
    public org.tensorflow.proto.util.TensorDebugMode getTensorDebugMode() {
      @SuppressWarnings("deprecation")
      org.tensorflow.proto.util.TensorDebugMode result = org.tensorflow.proto.util.TensorDebugMode.valueOf(tensorDebugMode_);
      return result == null ? org.tensorflow.proto.util.TensorDebugMode.UNRECOGNIZED : result;
    }
    /**
     * <pre>
     * Type of the tensor value encapsulated in this proto.
     * </pre>
     *
     * <code>.tensorflow.TensorDebugMode tensor_debug_mode = 6;</code>
     */
    public Builder setTensorDebugMode(org.tensorflow.proto.util.TensorDebugMode value) {
      if (value == null) {
        throw new NullPointerException();
      }
      
      tensorDebugMode_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * Type of the tensor value encapsulated in this proto.
     * </pre>
     *
     * <code>.tensorflow.TensorDebugMode tensor_debug_mode = 6;</code>
     */
    public Builder clearTensorDebugMode() {
      
      tensorDebugMode_ = 0;
      onChanged();
      return this;
    }

    private java.util.List<org.tensorflow.proto.framework.TensorProto> tensorProtos_ =
      java.util.Collections.emptyList();
    private void ensureTensorProtosIsMutable() {
      if (!((bitField0_ & 0x00000004) != 0)) {
        tensorProtos_ = new java.util.ArrayList<org.tensorflow.proto.framework.TensorProto>(tensorProtos_);
        bitField0_ |= 0x00000004;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        org.tensorflow.proto.framework.TensorProto, org.tensorflow.proto.framework.TensorProto.Builder, org.tensorflow.proto.framework.TensorProtoOrBuilder> tensorProtosBuilder_;

    /**
     * <pre>
     * Output Tensor values in the type described by `tensor_value_type`.
     * The length of this should match `num_outputs`.
     * </pre>
     *
     * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
     */
    public java.util.List<org.tensorflow.proto.framework.TensorProto> getTensorProtosList() {
      if (tensorProtosBuilder_ == null) {
        return java.util.Collections.unmodifiableList(tensorProtos_);
      } else {
        return tensorProtosBuilder_.getMessageList();
      }
    }
    /**
     * <pre>
     * Output Tensor values in the type described by `tensor_value_type`.
     * The length of this should match `num_outputs`.
     * </pre>
     *
     * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
     */
    public int getTensorProtosCount() {
      if (tensorProtosBuilder_ == null) {
        return tensorProtos_.size();
      } else {
        return tensorProtosBuilder_.getCount();
      }
    }
    /**
     * <pre>
     * Output Tensor values in the type described by `tensor_value_type`.
     * The length of this should match `num_outputs`.
     * </pre>
     *
     * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
     */
    public org.tensorflow.proto.framework.TensorProto getTensorProtos(int index) {
      if (tensorProtosBuilder_ == null) {
        return tensorProtos_.get(index);
      } else {
        return tensorProtosBuilder_.getMessage(index);
      }
    }
    /**
     * <pre>
     * Output Tensor values in the type described by `tensor_value_type`.
     * The length of this should match `num_outputs`.
     * </pre>
     *
     * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
     */
    public Builder setTensorProtos(
        int index, org.tensorflow.proto.framework.TensorProto value) {
      if (tensorProtosBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureTensorProtosIsMutable();
        tensorProtos_.set(index, value);
        onChanged();
      } else {
        tensorProtosBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <pre>
     * Output Tensor values in the type described by `tensor_value_type`.
     * The length of this should match `num_outputs`.
     * </pre>
     *
     * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
     */
    public Builder setTensorProtos(
        int index, org.tensorflow.proto.framework.TensorProto.Builder builderForValue) {
      if (tensorProtosBuilder_ == null) {
        ensureTensorProtosIsMutable();
        tensorProtos_.set(index, builderForValue.build());
        onChanged();
      } else {
        tensorProtosBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <pre>
     * Output Tensor values in the type described by `tensor_value_type`.
     * The length of this should match `num_outputs`.
     * </pre>
     *
     * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
     */
    public Builder addTensorProtos(org.tensorflow.proto.framework.TensorProto value) {
      if (tensorProtosBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureTensorProtosIsMutable();
        tensorProtos_.add(value);
        onChanged();
      } else {
        tensorProtosBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <pre>
     * Output Tensor values in the type described by `tensor_value_type`.
     * The length of this should match `num_outputs`.
     * </pre>
     *
     * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
     */
    public Builder addTensorProtos(
        int index, org.tensorflow.proto.framework.TensorProto value) {
      if (tensorProtosBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureTensorProtosIsMutable();
        tensorProtos_.add(index, value);
        onChanged();
      } else {
        tensorProtosBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <pre>
     * Output Tensor values in the type described by `tensor_value_type`.
     * The length of this should match `num_outputs`.
     * </pre>
     *
     * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
     */
    public Builder addTensorProtos(
        org.tensorflow.proto.framework.TensorProto.Builder builderForValue) {
      if (tensorProtosBuilder_ == null) {
        ensureTensorProtosIsMutable();
        tensorProtos_.add(builderForValue.build());
        onChanged();
      } else {
        tensorProtosBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <pre>
     * Output Tensor values in the type described by `tensor_value_type`.
     * The length of this should match `num_outputs`.
     * </pre>
     *
     * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
     */
    public Builder addTensorProtos(
        int index, org.tensorflow.proto.framework.TensorProto.Builder builderForValue) {
      if (tensorProtosBuilder_ == null) {
        ensureTensorProtosIsMutable();
        tensorProtos_.add(index, builderForValue.build());
        onChanged();
      } else {
        tensorProtosBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <pre>
     * Output Tensor values in the type described by `tensor_value_type`.
     * The length of this should match `num_outputs`.
     * </pre>
     *
     * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
     */
    public Builder addAllTensorProtos(
        java.lang.Iterable<? extends org.tensorflow.proto.framework.TensorProto> values) {
      if (tensorProtosBuilder_ == null) {
        ensureTensorProtosIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, tensorProtos_);
        onChanged();
      } else {
        tensorProtosBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <pre>
     * Output Tensor values in the type described by `tensor_value_type`.
     * The length of this should match `num_outputs`.
     * </pre>
     *
     * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
     */
    public Builder clearTensorProtos() {
      if (tensorProtosBuilder_ == null) {
        tensorProtos_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
      } else {
        tensorProtosBuilder_.clear();
      }
      return this;
    }
    /**
     * <pre>
     * Output Tensor values in the type described by `tensor_value_type`.
     * The length of this should match `num_outputs`.
     * </pre>
     *
     * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
     */
    public Builder removeTensorProtos(int index) {
      if (tensorProtosBuilder_ == null) {
        ensureTensorProtosIsMutable();
        tensorProtos_.remove(index);
        onChanged();
      } else {
        tensorProtosBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <pre>
     * Output Tensor values in the type described by `tensor_value_type`.
     * The length of this should match `num_outputs`.
     * </pre>
     *
     * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
     */
    public org.tensorflow.proto.framework.TensorProto.Builder getTensorProtosBuilder(
        int index) {
      return getTensorProtosFieldBuilder().getBuilder(index);
    }
    /**
     * <pre>
     * Output Tensor values in the type described by `tensor_value_type`.
     * The length of this should match `num_outputs`.
     * </pre>
     *
     * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
     */
    public org.tensorflow.proto.framework.TensorProtoOrBuilder getTensorProtosOrBuilder(
        int index) {
      if (tensorProtosBuilder_ == null) {
        return tensorProtos_.get(index);  } else {
        return tensorProtosBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <pre>
     * Output Tensor values in the type described by `tensor_value_type`.
     * The length of this should match `num_outputs`.
     * </pre>
     *
     * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
     */
    public java.util.List<? extends org.tensorflow.proto.framework.TensorProtoOrBuilder> 
         getTensorProtosOrBuilderList() {
      if (tensorProtosBuilder_ != null) {
        return tensorProtosBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(tensorProtos_);
      }
    }
    /**
     * <pre>
     * Output Tensor values in the type described by `tensor_value_type`.
     * The length of this should match `num_outputs`.
     * </pre>
     *
     * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
     */
    public org.tensorflow.proto.framework.TensorProto.Builder addTensorProtosBuilder() {
      return getTensorProtosFieldBuilder().addBuilder(
          org.tensorflow.proto.framework.TensorProto.getDefaultInstance());
    }
    /**
     * <pre>
     * Output Tensor values in the type described by `tensor_value_type`.
     * The length of this should match `num_outputs`.
     * </pre>
     *
     * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
     */
    public org.tensorflow.proto.framework.TensorProto.Builder addTensorProtosBuilder(
        int index) {
      return getTensorProtosFieldBuilder().addBuilder(
          index, org.tensorflow.proto.framework.TensorProto.getDefaultInstance());
    }
    /**
     * <pre>
     * Output Tensor values in the type described by `tensor_value_type`.
     * The length of this should match `num_outputs`.
     * </pre>
     *
     * <code>repeated .tensorflow.TensorProto tensor_protos = 7;</code>
     */
    public java.util.List<org.tensorflow.proto.framework.TensorProto.Builder> 
         getTensorProtosBuilderList() {
      return getTensorProtosFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        org.tensorflow.proto.framework.TensorProto, org.tensorflow.proto.framework.TensorProto.Builder, org.tensorflow.proto.framework.TensorProtoOrBuilder> 
        getTensorProtosFieldBuilder() {
      if (tensorProtosBuilder_ == null) {
        tensorProtosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            org.tensorflow.proto.framework.TensorProto, org.tensorflow.proto.framework.TensorProto.Builder, org.tensorflow.proto.framework.TensorProtoOrBuilder>(
                tensorProtos_,
                ((bitField0_ & 0x00000004) != 0),
                getParentForChildren(),
                isClean());
        tensorProtos_ = null;
      }
      return tensorProtosBuilder_;
    }

    private org.tensorflow.proto.util.CodeLocation codeLocation_;
    private com.google.protobuf.SingleFieldBuilderV3<
        org.tensorflow.proto.util.CodeLocation, org.tensorflow.proto.util.CodeLocation.Builder, org.tensorflow.proto.util.CodeLocationOrBuilder> codeLocationBuilder_;
    /**
     * <pre>
     * Stack trace of the eager execution.
     * </pre>
     *
     * <code>.tensorflow.CodeLocation code_location = 8;</code>
     */
    public boolean hasCodeLocation() {
      return codeLocationBuilder_ != null || codeLocation_ != null;
    }
    /**
     * <pre>
     * Stack trace of the eager execution.
     * </pre>
     *
     * <code>.tensorflow.CodeLocation code_location = 8;</code>
     */
    public org.tensorflow.proto.util.CodeLocation getCodeLocation() {
      if (codeLocationBuilder_ == null) {
        return codeLocation_ == null ? org.tensorflow.proto.util.CodeLocation.getDefaultInstance() : codeLocation_;
      } else {
        return codeLocationBuilder_.getMessage();
      }
    }
    /**
     * <pre>
     * Stack trace of the eager execution.
     * </pre>
     *
     * <code>.tensorflow.CodeLocation code_location = 8;</code>
     */
    public Builder setCodeLocation(org.tensorflow.proto.util.CodeLocation value) {
      if (codeLocationBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        codeLocation_ = value;
        onChanged();
      } else {
        codeLocationBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <pre>
     * Stack trace of the eager execution.
     * </pre>
     *
     * <code>.tensorflow.CodeLocation code_location = 8;</code>
     */
    public Builder setCodeLocation(
        org.tensorflow.proto.util.CodeLocation.Builder builderForValue) {
      if (codeLocationBuilder_ == null) {
        codeLocation_ = builderForValue.build();
        onChanged();
      } else {
        codeLocationBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <pre>
     * Stack trace of the eager execution.
     * </pre>
     *
     * <code>.tensorflow.CodeLocation code_location = 8;</code>
     */
    public Builder mergeCodeLocation(org.tensorflow.proto.util.CodeLocation value) {
      if (codeLocationBuilder_ == null) {
        if (codeLocation_ != null) {
          codeLocation_ =
            org.tensorflow.proto.util.CodeLocation.newBuilder(codeLocation_).mergeFrom(value).buildPartial();
        } else {
          codeLocation_ = value;
        }
        onChanged();
      } else {
        codeLocationBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <pre>
     * Stack trace of the eager execution.
     * </pre>
     *
     * <code>.tensorflow.CodeLocation code_location = 8;</code>
     */
    public Builder clearCodeLocation() {
      if (codeLocationBuilder_ == null) {
        codeLocation_ = null;
        onChanged();
      } else {
        codeLocation_ = null;
        codeLocationBuilder_ = null;
      }

      return this;
    }
    /**
     * <pre>
     * Stack trace of the eager execution.
     * </pre>
     *
     * <code>.tensorflow.CodeLocation code_location = 8;</code>
     */
    public org.tensorflow.proto.util.CodeLocation.Builder getCodeLocationBuilder() {
      
      onChanged();
      return getCodeLocationFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * Stack trace of the eager execution.
     * </pre>
     *
     * <code>.tensorflow.CodeLocation code_location = 8;</code>
     */
    public org.tensorflow.proto.util.CodeLocationOrBuilder getCodeLocationOrBuilder() {
      if (codeLocationBuilder_ != null) {
        return codeLocationBuilder_.getMessageOrBuilder();
      } else {
        return codeLocation_ == null ?
            org.tensorflow.proto.util.CodeLocation.getDefaultInstance() : codeLocation_;
      }
    }
    /**
     * <pre>
     * Stack trace of the eager execution.
     * </pre>
     *
     * <code>.tensorflow.CodeLocation code_location = 8;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        org.tensorflow.proto.util.CodeLocation, org.tensorflow.proto.util.CodeLocation.Builder, org.tensorflow.proto.util.CodeLocationOrBuilder> 
        getCodeLocationFieldBuilder() {
      if (codeLocationBuilder_ == null) {
        codeLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            org.tensorflow.proto.util.CodeLocation, org.tensorflow.proto.util.CodeLocation.Builder, org.tensorflow.proto.util.CodeLocationOrBuilder>(
                getCodeLocation(),
                getParentForChildren(),
                isClean());
        codeLocation_ = null;
      }
      return codeLocationBuilder_;
    }

    private com.google.protobuf.Internal.IntList outputTensorDeviceIds_ = emptyIntList();
    private void ensureOutputTensorDeviceIdsIsMutable() {
      if (!((bitField0_ & 0x00000008) != 0)) {
        outputTensorDeviceIds_ = mutableCopy(outputTensorDeviceIds_);
        bitField0_ |= 0x00000008;
       }
    }
    /**
     * <pre>
     * Debugged-generated IDs of the devices on which the output tensors reside.
     * To look up details about the device (e.g., name), cross-reference this
     * field with the DebuggedDevice messages.
     * </pre>
     *
     * <code>repeated int32 output_tensor_device_ids = 9;</code>
     */
    public java.util.List<java.lang.Integer>
        getOutputTensorDeviceIdsList() {
      return ((bitField0_ & 0x00000008) != 0) ?
               java.util.Collections.unmodifiableList(outputTensorDeviceIds_) : outputTensorDeviceIds_;
    }
    /**
     * <pre>
     * Debugged-generated IDs of the devices on which the output tensors reside.
     * To look up details about the device (e.g., name), cross-reference this
     * field with the DebuggedDevice messages.
     * </pre>
     *
     * <code>repeated int32 output_tensor_device_ids = 9;</code>
     */
    public int getOutputTensorDeviceIdsCount() {
      return outputTensorDeviceIds_.size();
    }
    /**
     * <pre>
     * Debugged-generated IDs of the devices on which the output tensors reside.
     * To look up details about the device (e.g., name), cross-reference this
     * field with the DebuggedDevice messages.
     * </pre>
     *
     * <code>repeated int32 output_tensor_device_ids = 9;</code>
     */
    public int getOutputTensorDeviceIds(int index) {
      return outputTensorDeviceIds_.getInt(index);
    }
    /**
     * <pre>
     * Debugged-generated IDs of the devices on which the output tensors reside.
     * To look up details about the device (e.g., name), cross-reference this
     * field with the DebuggedDevice messages.
     * </pre>
     *
     * <code>repeated int32 output_tensor_device_ids = 9;</code>
     */
    public Builder setOutputTensorDeviceIds(
        int index, int value) {
      ensureOutputTensorDeviceIdsIsMutable();
      outputTensorDeviceIds_.setInt(index, value);
      onChanged();
      return this;
    }
    /**
     * <pre>
     * Debugged-generated IDs of the devices on which the output tensors reside.
     * To look up details about the device (e.g., name), cross-reference this
     * field with the DebuggedDevice messages.
     * </pre>
     *
     * <code>repeated int32 output_tensor_device_ids = 9;</code>
     */
    public Builder addOutputTensorDeviceIds(int value) {
      ensureOutputTensorDeviceIdsIsMutable();
      outputTensorDeviceIds_.addInt(value);
      onChanged();
      return this;
    }
    /**
     * <pre>
     * Debugged-generated IDs of the devices on which the output tensors reside.
     * To look up details about the device (e.g., name), cross-reference this
     * field with the DebuggedDevice messages.
     * </pre>
     *
     * <code>repeated int32 output_tensor_device_ids = 9;</code>
     */
    public Builder addAllOutputTensorDeviceIds(
        java.lang.Iterable<? extends java.lang.Integer> values) {
      ensureOutputTensorDeviceIdsIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, outputTensorDeviceIds_);
      onChanged();
      return this;
    }
    /**
     * <pre>
     * Debugged-generated IDs of the devices on which the output tensors reside.
     * To look up details about the device (e.g., name), cross-reference this
     * field with the DebuggedDevice messages.
     * </pre>
     *
     * <code>repeated int32 output_tensor_device_ids = 9;</code>
     */
    public Builder clearOutputTensorDeviceIds() {
      outputTensorDeviceIds_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000008);
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @java.lang.Override
    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }


    // @@protoc_insertion_point(builder_scope:tensorflow.Execution)
  }

  // @@protoc_insertion_point(class_scope:tensorflow.Execution)
  private static final org.tensorflow.proto.util.Execution DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new org.tensorflow.proto.util.Execution();
  }

  public static org.tensorflow.proto.util.Execution getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<Execution>
      PARSER = new com.google.protobuf.AbstractParser<Execution>() {
    @java.lang.Override
    public Execution parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new Execution(input, extensionRegistry);
    }
  };

  public static com.google.protobuf.Parser<Execution> parser() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.protobuf.Parser<Execution> getParserForType() {
    return PARSER;
  }

  @java.lang.Override
  public org.tensorflow.proto.util.Execution getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

