text: // source: tensorflow/core/framework/api_def.proto
  /**
   * @fileoverview
   * @enhanceable
   * @suppress {missingRequire} reports error on implicit type usages.
   * @suppress {messageConventions} JS Compiler reports an error if a variable or
   *     field starts with 'MSG_' and isn't a translatable message.
   * @public
   */
  // GENERATED CODE -- DO NOT EDIT!
  /* eslint-disable */
  // @ts-nocheck
  
  var jspb = require('google-protobuf');
  var goog = jspb;
  var global = Function('return this')();
  
  var tensorflow_core_framework_attr_value_pb = require('../../../tensorflow/core/framework/attr_value_pb.js');
  goog.object.extend(proto, tensorflow_core_framework_attr_value_pb);
  goog.exportSymbol('proto.tensorflow.ApiDef', null, global);
  goog.exportSymbol('proto.tensorflow.ApiDef.Arg', null, global);
  goog.exportSymbol('proto.tensorflow.ApiDef.Attr', null, global);
  goog.exportSymbol('proto.tensorflow.ApiDef.Endpoint', null, global);
  goog.exportSymbol('proto.tensorflow.ApiDef.Visibility', null, global);
  goog.exportSymbol('proto.tensorflow.ApiDefs', null, global);
  /**
   * Generated by JsPbCodeGenerator.
   * @param {Array=} opt_data Optional initial data array, typically from a
   * server response, or constructed directly in Javascript. The array is used
   * in place and becomes part of the constructed object. It is not cloned.
   * If no data is provided, the constructed object will be empty, but still
   * valid.
   * @extends {jspb.Message}
   * @constructor
   */
  proto.tensorflow.ApiDef = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, proto.tensorflow.ApiDef.repeatedFields_, null);
  };
  goog.inherits(proto.tensorflow.ApiDef, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.tensorflow.ApiDef.displayName = 'proto.tensorflow.ApiDef';
  }
  /**
   * Generated by JsPbCodeGenerator.
   * @param {Array=} opt_data Optional initial data array, typically from a
   * server response, or constructed directly in Javascript. The array is used
   * in place and becomes part of the constructed object. It is not cloned.
   * If no data is provided, the constructed object will be empty, but still
   * valid.
   * @extends {jspb.Message}
   * @constructor
   */
  proto.tensorflow.ApiDef.Endpoint = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
  goog.inherits(proto.tensorflow.ApiDef.Endpoint, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.tensorflow.ApiDef.Endpoint.displayName = 'proto.tensorflow.ApiDef.Endpoint';
  }
  /**
   * Generated by JsPbCodeGenerator.
   * @param {Array=} opt_data Optional initial data array, typically from a
   * server response, or constructed directly in Javascript. The array is used
   * in place and becomes part of the constructed object. It is not cloned.
   * If no data is provided, the constructed object will be empty, but still
   * valid.
   * @extends {jspb.Message}
   * @constructor
   */
  proto.tensorflow.ApiDef.Arg = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
  goog.inherits(proto.tensorflow.ApiDef.Arg, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.tensorflow.ApiDef.Arg.displayName = 'proto.tensorflow.ApiDef.Arg';
  }
  /**
   * Generated by JsPbCodeGenerator.
   * @param {Array=} opt_data Optional initial data array, typically from a
   * server response, or constructed directly in Javascript. The array is used
   * in place and becomes part of the constructed object. It is not cloned.
   * If no data is provided, the constructed object will be empty, but still
   * valid.
   * @extends {jspb.Message}
   * @constructor
   */
  proto.tensorflow.ApiDef.Attr = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
  goog.inherits(proto.tensorflow.ApiDef.Attr, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.tensorflow.ApiDef.Attr.displayName = 'proto.tensorflow.ApiDef.Attr';
  }
  /**
   * Generated by JsPbCodeGenerator.
   * @param {Array=} opt_data Optional initial data array, typically from a
   * server response, or constructed directly in Javascript. The array is used
   * in place and becomes part of the constructed object. It is not cloned.
   * If no data is provided, the constructed object will be empty, but still
   * valid.
   * @extends {jspb.Message}
   * @constructor
   */
  proto.tensorflow.ApiDefs = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, proto.tensorflow.ApiDefs.repeatedFields_, null);
  };
  goog.inherits(proto.tensorflow.ApiDefs, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.tensorflow.ApiDefs.displayName = 'proto.tensorflow.ApiDefs';
  }
  
  /**
   * List of repeated fields within this message type.
   * @private {!Array<number>}
   * @const
   */
  proto.tensorflow.ApiDef.repeatedFields_ = [3,4,5,11,6];
  
  
  
  if (jspb.Message.GENERATE_TO_OBJECT) {
  /**
   * Creates an object representation of this proto.
   * Field names that are reserved in JavaScript and will be renamed to pb_name.
   * Optional fields that are not set will be set to undefined.
   * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
   * For the list of reserved names please see:
   *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
   * @param {boolean=} opt_includeInstance Deprecated. whether to include the
   *     JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @return {!Object}
   */
  proto.tensorflow.ApiDef.prototype.toObject = function(opt_includeInstance) {
    return proto.tensorflow.ApiDef.toObject(opt_includeInstance, this);
  };
  
  
  /**
   * Static version of the {@see toObject} method.
   * @param {boolean|undefined} includeInstance Deprecated. Whether to include
   *     the JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @param {!proto.tensorflow.ApiDef} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.tensorflow.ApiDef.toObject = function(includeInstance, msg) {
    var f, obj = {
      graphOpName: jspb.Message.getFieldWithDefault(msg, 1, ""),
      deprecationMessage: jspb.Message.getFieldWithDefault(msg, 12, ""),
      deprecationVersion: jspb.Message.getFieldWithDefault(msg, 13, 0),
      visibility: jspb.Message.getFieldWithDefault(msg, 2, 0),
      endpointList: jspb.Message.toObjectList(msg.getEndpointList(),
      proto.tensorflow.ApiDef.Endpoint.toObject, includeInstance),
      inArgList: jspb.Message.toObjectList(msg.getInArgList(),
      proto.tensorflow.ApiDef.Arg.toObject, includeInstance),
      outArgList: jspb.Message.toObjectList(msg.getOutArgList(),
      proto.tensorflow.ApiDef.Arg.toObject, includeInstance),
      argOrderList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
      attrList: jspb.Message.toObjectList(msg.getAttrList(),
      proto.tensorflow.ApiDef.Attr.toObject, includeInstance),
      summary: jspb.Message.getFieldWithDefault(msg, 7, ""),
      description: jspb.Message.getFieldWithDefault(msg, 8, ""),
      descriptionPrefix: jspb.Message.getFieldWithDefault(msg, 9, ""),
      descriptionSuffix: jspb.Message.getFieldWithDefault(msg, 10, "")
    };
  
    if (includeInstance) {
      obj.$jspbMessageInstance = msg;
    }
    return obj;
  };
  }
  
  
  /**
   * Deserializes binary data (in protobuf wire format).
   * @param {jspb.ByteSource} bytes The bytes to deserialize.
   * @return {!proto.tensorflow.ApiDef}
   */
  proto.tensorflow.ApiDef.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.tensorflow.ApiDef;
    return proto.tensorflow.ApiDef.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.tensorflow.ApiDef} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.tensorflow.ApiDef}
   */
  proto.tensorflow.ApiDef.deserializeBinaryFromReader = function(msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
      case 1:
        var value = /** @type {string} */ (reader.readString());
        msg.setGraphOpName(value);
        break;
      case 12:
        var value = /** @type {string} */ (reader.readString());
        msg.setDeprecationMessage(value);
        break;
      case 13:
        var value = /** @type {number} */ (reader.readInt32());
        msg.setDeprecationVersion(value);
        break;
      case 2:
        var value = /** @type {!proto.tensorflow.ApiDef.Visibility} */ (reader.readEnum());
        msg.setVisibility(value);
        break;
      case 3:
        var value = new proto.tensorflow.ApiDef.Endpoint;
        reader.readMessage(value,proto.tensorflow.ApiDef.Endpoint.deserializeBinaryFromReader);
        msg.addEndpoint(value);
        break;
      case 4:
        var value = new proto.tensorflow.ApiDef.Arg;
        reader.readMessage(value,proto.tensorflow.ApiDef.Arg.deserializeBinaryFromReader);
        msg.addInArg(value);
        break;
      case 5:
        var value = new proto.tensorflow.ApiDef.Arg;
        reader.readMessage(value,proto.tensorflow.ApiDef.Arg.deserializeBinaryFromReader);
        msg.addOutArg(value);
        break;
      case 11:
        var value = /** @type {string} */ (reader.readString());
        msg.addArgOrder(value);
        break;
      case 6:
        var value = new proto.tensorflow.ApiDef.Attr;
        reader.readMessage(value,proto.tensorflow.ApiDef.Attr.deserializeBinaryFromReader);
        msg.addAttr(value);
        break;
      case 7:
        var value = /** @type {string} */ (reader.readString());
        msg.setSummary(value);
        break;
      case 8:
        var value = /** @type {string} */ (reader.readString());
        msg.setDescription(value);
        break;
      case 9:
        var value = /** @type {string} */ (reader.readString());
        msg.setDescriptionPrefix(value);
        break;
      case 10:
        var value = /** @type {string} */ (reader.readString());
        msg.setDescriptionSuffix(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.tensorflow.ApiDef.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.tensorflow.ApiDef.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.tensorflow.ApiDef} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.tensorflow.ApiDef.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = message.getGraphOpName();
    if (f.length > 0) {
      writer.writeString(
        1,
        f
      );
    }
    f = message.getDeprecationMessage();
    if (f.length > 0) {
      writer.writeString(
        12,
        f
      );
    }
    f = message.getDeprecationVersion();
    if (f !== 0) {
      writer.writeInt32(
        13,
        f
      );
    }
    f = message.getVisibility();
    if (f !== 0.0) {
      writer.writeEnum(
        2,
        f
      );
    }
    f = message.getEndpointList();
    if (f.length > 0) {
      writer.writeRepeatedMessage(
        3,
        f,
        proto.tensorflow.ApiDef.Endpoint.serializeBinaryToWriter
      );
    }
    f = message.getInArgList();
    if (f.length > 0) {
      writer.writeRepeatedMessage(
        4,
        f,
        proto.tensorflow.ApiDef.Arg.serializeBinaryToWriter
      );
    }
    f = message.getOutArgList();
    if (f.length > 0) {
      writer.writeRepeatedMessage(
        5,
        f,
        proto.tensorflow.ApiDef.Arg.serializeBinaryToWriter
      );
    }
    f = message.getArgOrderList();
    if (f.length > 0) {
      writer.writeRepeatedString(
        11,
        f
      );
    }
    f = message.getAttrList();
    if (f.length > 0) {
      writer.writeRepeatedMessage(
        6,
        f,
        proto.tensorflow.ApiDef.Attr.serializeBinaryToWriter
      );
    }
    f = message.getSummary();
    if (f.length > 0) {
      writer.writeString(
        7,
        f
      );
    }
    f = message.getDescription();
    if (f.length > 0) {
      writer.writeString(
        8,
        f
      );
    }
    f = message.getDescriptionPrefix();
    if (f.length > 0) {
      writer.writeString(
        9,
        f
      );
    }
    f = message.getDescriptionSuffix();
    if (f.length > 0) {
      writer.writeString(
        10,
        f
      );
    }
  };
  
  
  /**
   * @enum {number}
   */
  proto.tensorflow.ApiDef.Visibility = {
    DEFAULT_VISIBILITY: 0,
    VISIBLE: 1,
    SKIP: 2,
    HIDDEN: 3
  };
  
  
  
  
  if (jspb.Message.GENERATE_TO_OBJECT) {
  /**
   * Creates an object representation of this proto.
   * Field names that are reserved in JavaScript and will be renamed to pb_name.
   * Optional fields that are not set will be set to undefined.
   * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
   * For the list of reserved names please see:
   *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
   * @param {boolean=} opt_includeInstance Deprecated. whether to include the
   *     JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @return {!Object}
   */
  proto.tensorflow.ApiDef.Endpoint.prototype.toObject = function(opt_includeInstance) {
    return proto.tensorflow.ApiDef.Endpoint.toObject(opt_includeInstance, this);
  };
  
  
  /**
   * Static version of the {@see toObject} method.
   * @param {boolean|undefined} includeInstance Deprecated. Whether to include
   *     the JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @param {!proto.tensorflow.ApiDef.Endpoint} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.tensorflow.ApiDef.Endpoint.toObject = function(includeInstance, msg) {
    var f, obj = {
      name: jspb.Message.getFieldWithDefault(msg, 1, ""),
      deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
      deprecationVersion: jspb.Message.getFieldWithDefault(msg, 4, 0)
    };
  
    if (includeInstance) {
      obj.$jspbMessageInstance = msg;
    }
    return obj;
  };
  }
  
  
  /**
   * Deserializes binary data (in protobuf wire format).
   * @param {jspb.ByteSource} bytes The bytes to deserialize.
   * @return {!proto.tensorflow.ApiDef.Endpoint}
   */
  proto.tensorflow.ApiDef.Endpoint.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.tensorflow.ApiDef.Endpoint;
    return proto.tensorflow.ApiDef.Endpoint.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.tensorflow.ApiDef.Endpoint} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.tensorflow.ApiDef.Endpoint}
   */
  proto.tensorflow.ApiDef.Endpoint.deserializeBinaryFromReader = function(msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
      case 1:
        var value = /** @type {string} */ (reader.readString());
        msg.setName(value);
        break;
      case 3:
        var value = /** @type {boolean} */ (reader.readBool());
        msg.setDeprecated(value);
        break;
      case 4:
        var value = /** @type {number} */ (reader.readInt32());
        msg.setDeprecationVersion(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.tensorflow.ApiDef.Endpoint.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.tensorflow.ApiDef.Endpoint.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.tensorflow.ApiDef.Endpoint} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.tensorflow.ApiDef.Endpoint.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = message.getName();
    if (f.length > 0) {
      writer.writeString(
        1,
        f
      );
    }
    f = message.getDeprecated();
    if (f) {
      writer.writeBool(
        3,
        f
      );
    }
    f = message.getDeprecationVersion();
    if (f !== 0) {
      writer.writeInt32(
        4,
        f
      );
    }
  };
  
  
  /**
   * optional string name = 1;
   * @return {string}
   */
  proto.tensorflow.ApiDef.Endpoint.prototype.getName = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.tensorflow.ApiDef.Endpoint} returns this
   */
  proto.tensorflow.ApiDef.Endpoint.prototype.setName = function(value) {
    return jspb.Message.setProto3StringField(this, 1, value);
  };
  
  
  /**
   * optional bool deprecated = 3;
   * @return {boolean}
   */
  proto.tensorflow.ApiDef.Endpoint.prototype.getDeprecated = function() {
    return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
  };
  
  
  /**
   * @param {boolean} value
   * @return {!proto.tensorflow.ApiDef.Endpoint} returns this
   */
  proto.tensorflow.ApiDef.Endpoint.prototype.setDeprecated = function(value) {
    return jspb.Message.setProto3BooleanField(this, 3, value);
  };
  
  
  /**
   * optional int32 deprecation_version = 4;
   * @return {number}
   */
  proto.tensorflow.ApiDef.Endpoint.prototype.getDeprecationVersion = function() {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
  };
  
  
  /**
   * @param {number} value
   * @return {!proto.tensorflow.ApiDef.Endpoint} returns this
   */
  proto.tensorflow.ApiDef.Endpoint.prototype.setDeprecationVersion = function(value) {
    return jspb.Message.setProto3IntField(this, 4, value);
  };
  
  
  
  
  
  if (jspb.Message.GENERATE_TO_OBJECT) {
  /**
   * Creates an object representation of this proto.
   * Field names that are reserved in JavaScript and will be renamed to pb_name.
   * Optional fields that are not set will be set to undefined.
   * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
   * For the list of reserved names please see:
   *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
   * @param {boolean=} opt_includeInstance Deprecated. whether to include the
   *     JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @return {!Object}
   */
  proto.tensorflow.ApiDef.Arg.prototype.toObject = function(opt_includeInstance) {
    return proto.tensorflow.ApiDef.Arg.toObject(opt_includeInstance, this);
  };
  
  
  /**
   * Static version of the {@see toObject} method.
   * @param {boolean|undefined} includeInstance Deprecated. Whether to include
   *     the JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @param {!proto.tensorflow.ApiDef.Arg} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.tensorflow.ApiDef.Arg.toObject = function(includeInstance, msg) {
    var f, obj = {
      name: jspb.Message.getFieldWithDefault(msg, 1, ""),
      renameTo: jspb.Message.getFieldWithDefault(msg, 2, ""),
      description: jspb.Message.getFieldWithDefault(msg, 3, "")
    };
  
    if (includeInstance) {
      obj.$jspbMessageInstance = msg;
    }
    return obj;
  };
  }
  
  
  /**
   * Deserializes binary data (in protobuf wire format).
   * @param {jspb.ByteSource} bytes The bytes to deserialize.
   * @return {!proto.tensorflow.ApiDef.Arg}
   */
  proto.tensorflow.ApiDef.Arg.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.tensorflow.ApiDef.Arg;
    return proto.tensorflow.ApiDef.Arg.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.tensorflow.ApiDef.Arg} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.tensorflow.ApiDef.Arg}
   */
  proto.tensorflow.ApiDef.Arg.deserializeBinaryFromReader = function(msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
      case 1:
        var value = /** @type {string} */ (reader.readString());
        msg.setName(value);
        break;
      case 2:
        var value = /** @type {string} */ (reader.readString());
        msg.setRenameTo(value);
        break;
      case 3:
        var value = /** @type {string} */ (reader.readString());
        msg.setDescription(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.tensorflow.ApiDef.Arg.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.tensorflow.ApiDef.Arg.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.tensorflow.ApiDef.Arg} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.tensorflow.ApiDef.Arg.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = message.getName();
    if (f.length > 0) {
      writer.writeString(
        1,
        f
      );
    }
    f = message.getRenameTo();
    if (f.length > 0) {
      writer.writeString(
        2,
        f
      );
    }
    f = message.getDescription();
    if (f.length > 0) {
      writer.writeString(
        3,
        f
      );
    }
  };
  
  
  /**
   * optional string name = 1;
   * @return {string}
   */
  proto.tensorflow.ApiDef.Arg.prototype.getName = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.tensorflow.ApiDef.Arg} returns this
   */
  proto.tensorflow.ApiDef.Arg.prototype.setName = function(value) {
    return jspb.Message.setProto3StringField(this, 1, value);
  };
  
  
  /**
   * optional string rename_to = 2;
   * @return {string}
   */
  proto.tensorflow.ApiDef.Arg.prototype.getRenameTo = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.tensorflow.ApiDef.Arg} returns this
   */
  proto.tensorflow.ApiDef.Arg.prototype.setRenameTo = function(value) {
    return jspb.Message.setProto3StringField(this, 2, value);
  };
  
  
  /**
   * optional string description = 3;
   * @return {string}
   */
  proto.tensorflow.ApiDef.Arg.prototype.getDescription = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.tensorflow.ApiDef.Arg} returns this
   */
  proto.tensorflow.ApiDef.Arg.prototype.setDescription = function(value) {
    return jspb.Message.setProto3StringField(this, 3, value);
  };
  
  
  
  
  
  if (jspb.Message.GENERATE_TO_OBJECT) {
  /**
   * Creates an object representation of this proto.
   * Field names that are reserved in JavaScript and will be renamed to pb_name.
   * Optional fields that are not set will be set to undefined.
   * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
   * For the list of reserved names please see:
   *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
   * @param {boolean=} opt_includeInstance Deprecated. whether to include the
   *     JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @return {!Object}
   */
  proto.tensorflow.ApiDef.Attr.prototype.toObject = function(opt_includeInstance) {
    return proto.tensorflow.ApiDef.Attr.toObject(opt_includeInstance, this);
  };
  
  
  /**
   * Static version of the {@see toObject} method.
   * @param {boolean|undefined} includeInstance Deprecated. Whether to include
   *     the JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @param {!proto.tensorflow.ApiDef.Attr} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.tensorflow.ApiDef.Attr.toObject = function(includeInstance, msg) {
    var f, obj = {
      name: jspb.Message.getFieldWithDefault(msg, 1, ""),
      renameTo: jspb.Message.getFieldWithDefault(msg, 2, ""),
      defaultValue: (f = msg.getDefaultValue()) && tensorflow_core_framework_attr_value_pb.AttrValue.toObject(includeInstance, f),
      description: jspb.Message.getFieldWithDefault(msg, 4, "")
    };
  
    if (includeInstance) {
      obj.$jspbMessageInstance = msg;
    }
    return obj;
  };
  }
  
  
  /**
   * Deserializes binary data (in protobuf wire format).
   * @param {jspb.ByteSource} bytes The bytes to deserialize.
   * @return {!proto.tensorflow.ApiDef.Attr}
   */
  proto.tensorflow.ApiDef.Attr.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.tensorflow.ApiDef.Attr;
    return proto.tensorflow.ApiDef.Attr.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.tensorflow.ApiDef.Attr} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.tensorflow.ApiDef.Attr}
   */
  proto.tensorflow.ApiDef.Attr.deserializeBinaryFromReader = function(msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
      case 1:
        var value = /** @type {string} */ (reader.readString());
        msg.setName(value);
        break;
      case 2:
        var value = /** @type {string} */ (reader.readString());
        msg.setRenameTo(value);
        break;
      case 3:
        var value = new tensorflow_core_framework_attr_value_pb.AttrValue;
        reader.readMessage(value,tensorflow_core_framework_attr_value_pb.AttrValue.deserializeBinaryFromReader);
        msg.setDefaultValue(value);
        break;
      case 4:
        var value = /** @type {string} */ (reader.readString());
        msg.setDescription(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.tensorflow.ApiDef.Attr.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.tensorflow.ApiDef.Attr.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.tensorflow.ApiDef.Attr} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.tensorflow.ApiDef.Attr.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = message.getName();
    if (f.length > 0) {
      writer.writeString(
        1,
        f
      );
    }
    f = message.getRenameTo();
    if (f.length > 0) {
      writer.writeString(
        2,
        f
      );
    }
    f = message.getDefaultValue();
    if (f != null) {
      writer.writeMessage(
        3,
        f,
        tensorflow_core_framework_attr_value_pb.AttrValue.serializeBinaryToWriter
      );
    }
    f = message.getDescription();
    if (f.length > 0) {
      writer.writeString(
        4,
        f
      );
    }
  };
  
  
  /**
   * optional string name = 1;
   * @return {string}
   */
  proto.tensorflow.ApiDef.Attr.prototype.getName = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.tensorflow.ApiDef.Attr} returns this
   */
  proto.tensorflow.ApiDef.Attr.prototype.setName = function(value) {
    return jspb.Message.setProto3StringField(this, 1, value);
  };
  
  
  /**
   * optional string rename_to = 2;
   * @return {string}
   */
  proto.tensorflow.ApiDef.Attr.prototype.getRenameTo = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.tensorflow.ApiDef.Attr} returns this
   */
  proto.tensorflow.ApiDef.Attr.prototype.setRenameTo = function(value) {
    return jspb.Message.setProto3StringField(this, 2, value);
  };
  
  
  /**
   * optional AttrValue default_value = 3;
   * @return {?proto.tensorflow.AttrValue}
   */
  proto.tensorflow.ApiDef.Attr.prototype.getDefaultValue = function() {
    return /** @type{?proto.tensorflow.AttrValue} */ (
      jspb.Message.getWrapperField(this, tensorflow_core_framework_attr_value_pb.AttrValue, 3));
  };
  
  
  /**
   * @param {?proto.tensorflow.AttrValue|undefined} value
   * @return {!proto.tensorflow.ApiDef.Attr} returns this
  */
  proto.tensorflow.ApiDef.Attr.prototype.setDefaultValue = function(value) {
    return jspb.Message.setWrapperField(this, 3, value);
  };
  
  
  /**
   * Clears the message field making it undefined.
   * @return {!proto.tensorflow.ApiDef.Attr} returns this
   */
  proto.tensorflow.ApiDef.Attr.prototype.clearDefaultValue = function() {
    return this.setDefaultValue(undefined);
  };
  
  
  /**
   * Returns whether this field is set.
   * @return {boolean}
   */
  proto.tensorflow.ApiDef.Attr.prototype.hasDefaultValue = function() {
    return jspb.Message.getField(this, 3) != null;
  };
  
  
  /**
   * optional string description = 4;
   * @return {string}
   */
  proto.tensorflow.ApiDef.Attr.prototype.getDescription = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.tensorflow.ApiDef.Attr} returns this
   */
  proto.tensorflow.ApiDef.Attr.prototype.setDescription = function(value) {
    return jspb.Message.setProto3StringField(this, 4, value);
  };
  
  
  /**
   * optional string graph_op_name = 1;
   * @return {string}
   */
  proto.tensorflow.ApiDef.prototype.getGraphOpName = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.tensorflow.ApiDef} returns this
   */
  proto.tensorflow.ApiDef.prototype.setGraphOpName = function(value) {
    return jspb.Message.setProto3StringField(this, 1, value);
  };
  
  
  /**
   * optional string deprecation_message = 12;
   * @return {string}
   */
  proto.tensorflow.ApiDef.prototype.getDeprecationMessage = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.tensorflow.ApiDef} returns this
   */
  proto.tensorflow.ApiDef.prototype.setDeprecationMessage = function(value) {
    return jspb.Message.setProto3StringField(this, 12, value);
  };
  
  
  /**
   * optional int32 deprecation_version = 13;
   * @return {number}
   */
  proto.tensorflow.ApiDef.prototype.getDeprecationVersion = function() {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
  };
  
  
  /**
   * @param {number} value
   * @return {!proto.tensorflow.ApiDef} returns this
   */
  proto.tensorflow.ApiDef.prototype.setDeprecationVersion = function(value) {
    return jspb.Message.setProto3IntField(this, 13, value);
  };
  
  
  /**
   * optional Visibility visibility = 2;
   * @return {!proto.tensorflow.ApiDef.Visibility}
   */
  proto.tensorflow.ApiDef.prototype.getVisibility = function() {
    return /** @type {!proto.tensorflow.ApiDef.Visibility} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
  };
  
  
  /**
   * @param {!proto.tensorflow.ApiDef.Visibility} value
   * @return {!proto.tensorflow.ApiDef} returns this
   */
  proto.tensorflow.ApiDef.prototype.setVisibility = function(value) {
    return jspb.Message.setProto3EnumField(this, 2, value);
  };
  
  
  /**
   * repeated Endpoint endpoint = 3;
   * @return {!Array<!proto.tensorflow.ApiDef.Endpoint>}
   */
  proto.tensorflow.ApiDef.prototype.getEndpointList = function() {
    return /** @type{!Array<!proto.tensorflow.ApiDef.Endpoint>} */ (
      jspb.Message.getRepeatedWrapperField(this, proto.tensorflow.ApiDef.Endpoint, 3));
  };
  
  
  /**
   * @param {!Array<!proto.tensorflow.ApiDef.Endpoint>} value
   * @return {!proto.tensorflow.ApiDef} returns this
  */
  proto.tensorflow.ApiDef.prototype.setEndpointList = function(value) {
    return jspb.Message.setRepeatedWrapperField(this, 3, value);
  };
  
  
  /**
   * @param {!proto.tensorflow.ApiDef.Endpoint=} opt_value
   * @param {number=} opt_index
   * @return {!proto.tensorflow.ApiDef.Endpoint}
   */
  proto.tensorflow.ApiDef.prototype.addEndpoint = function(opt_value, opt_index) {
    return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.tensorflow.ApiDef.Endpoint, opt_index);
  };
  
  
  /**
   * Clears the list making it empty but non-null.
   * @return {!proto.tensorflow.ApiDef} returns this
   */
  proto.tensorflow.ApiDef.prototype.clearEndpointList = function() {
    return this.setEndpointList([]);
  };
  
  
  /**
   * repeated Arg in_arg = 4;
   * @return {!Array<!proto.tensorflow.ApiDef.Arg>}
   */
  proto.tensorflow.ApiDef.prototype.getInArgList = function() {
    return /** @type{!Array<!proto.tensorflow.ApiDef.Arg>} */ (
      jspb.Message.getRepeatedWrapperField(this, proto.tensorflow.ApiDef.Arg, 4));
  };
  
  
  /**
   * @param {!Array<!proto.tensorflow.ApiDef.Arg>} value
   * @return {!proto.tensorflow.ApiDef} returns this
  */
  proto.tensorflow.ApiDef.prototype.setInArgList = function(value) {
    return jspb.Message.setRepeatedWrapperField(this, 4, value);
  };
  
  
  /**
   * @param {!proto.tensorflow.ApiDef.Arg=} opt_value
   * @param {number=} opt_index
   * @return {!proto.tensorflow.ApiDef.Arg}
   */
  proto.tensorflow.ApiDef.prototype.addInArg = function(opt_value, opt_index) {
    return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.tensorflow.ApiDef.Arg, opt_index);
  };
  
  
  /**
   * Clears the list making it empty but non-null.
   * @return {!proto.tensorflow.ApiDef} returns this
   */
  proto.tensorflow.ApiDef.prototype.clearInArgList = function() {
    return this.setInArgList([]);
  };
  
  
  /**
   * repeated Arg out_arg = 5;
   * @return {!Array<!proto.tensorflow.ApiDef.Arg>}
   */
  proto.tensorflow.ApiDef.prototype.getOutArgList = function() {
    return /** @type{!Array<!proto.tensorflow.ApiDef.Arg>} */ (
      jspb.Message.getRepeatedWrapperField(this, proto.tensorflow.ApiDef.Arg, 5));
  };
  
  
  /**
   * @param {!Array<!proto.tensorflow.ApiDef.Arg>} value
   * @return {!proto.tensorflow.ApiDef} returns this
  */
  proto.tensorflow.ApiDef.prototype.setOutArgList = function(value) {
    return jspb.Message.setRepeatedWrapperField(this, 5, value);
  };
  
  
  /**
   * @param {!proto.tensorflow.ApiDef.Arg=} opt_value
   * @param {number=} opt_index
   * @return {!proto.tensorflow.ApiDef.Arg}
   */
  proto.tensorflow.ApiDef.prototype.addOutArg = function(opt_value, opt_index) {
    return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.tensorflow.ApiDef.Arg, opt_index);
  };
  
  
  /**
   * Clears the list making it empty but non-null.
   * @return {!proto.tensorflow.ApiDef} returns this
   */
  proto.tensorflow.ApiDef.prototype.clearOutArgList = function() {
    return this.setOutArgList([]);
  };
  
  
  /**
   * repeated string arg_order = 11;
   * @return {!Array<string>}
   */
  proto.tensorflow.ApiDef.prototype.getArgOrderList = function() {
    return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 11));
  };
  
  
  /**
   * @param {!Array<string>} value
   * @return {!proto.tensorflow.ApiDef} returns this
   */
  proto.tensorflow.ApiDef.prototype.setArgOrderList = function(value) {
    return jspb.Message.setField(this, 11, value || []);
  };
  
  
  /**
   * @param {string} value
   * @param {number=} opt_index
   * @return {!proto.tensorflow.ApiDef} returns this
   */
  proto.tensorflow.ApiDef.prototype.addArgOrder = function(value, opt_index) {
    return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
  };
  
  
  /**
   * Clears the list making it empty but non-null.
   * @return {!proto.tensorflow.ApiDef} returns this
   */
  proto.tensorflow.ApiDef.prototype.clearArgOrderList = function() {
    return this.setArgOrderList([]);
  };
  
  
  /**
   * repeated Attr attr = 6;
   * @return {!Array<!proto.tensorflow.ApiDef.Attr>}
   */
  proto.tensorflow.ApiDef.prototype.getAttrList = function() {
    return /** @type{!Array<!proto.tensorflow.ApiDef.Attr>} */ (
      jspb.Message.getRepeatedWrapperField(this, proto.tensorflow.ApiDef.Attr, 6));
  };
  
  
  /**
   * @param {!Array<!proto.tensorflow.ApiDef.Attr>} value
   * @return {!proto.tensorflow.ApiDef} returns this
  */
  proto.tensorflow.ApiDef.prototype.setAttrList = function(value) {
    return jspb.Message.setRepeatedWrapperField(this, 6, value);
  };
  
  
  /**
   * @param {!proto.tensorflow.ApiDef.Attr=} opt_value
   * @param {number=} opt_index
   * @return {!proto.tensorflow.ApiDef.Attr}
   */
  proto.tensorflow.ApiDef.prototype.addAttr = function(opt_value, opt_index) {
    return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.tensorflow.ApiDef.Attr, opt_index);
  };
  
  
  /**
   * Clears the list making it empty but non-null.
   * @return {!proto.tensorflow.ApiDef} returns this
   */
  proto.tensorflow.ApiDef.prototype.clearAttrList = function() {
    return this.setAttrList([]);
  };
  
  
  /**
   * optional string summary = 7;
   * @return {string}
   */
  proto.tensorflow.ApiDef.prototype.getSummary = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.tensorflow.ApiDef} returns this
   */
  proto.tensorflow.ApiDef.prototype.setSummary = function(value) {
    return jspb.Message.setProto3StringField(this, 7, value);
  };
  
  
  /**
   * optional string description = 8;
   * @return {string}
   */
  proto.tensorflow.ApiDef.prototype.getDescription = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.tensorflow.ApiDef} returns this
   */
  proto.tensorflow.ApiDef.prototype.setDescription = function(value) {
    return jspb.Message.setProto3StringField(this, 8, value);
  };
  
  
  /**
   * optional string description_prefix = 9;
   * @return {string}
   */
  proto.tensorflow.ApiDef.prototype.getDescriptionPrefix = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.tensorflow.ApiDef} returns this
   */
  proto.tensorflow.ApiDef.prototype.setDescriptionPrefix = function(value) {
    return jspb.Message.setProto3StringField(this, 9, value);
  };
  
  
  /**
   * optional string description_suffix = 10;
   * @return {string}
   */
  proto.tensorflow.ApiDef.prototype.getDescriptionSuffix = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.tensorflow.ApiDef} returns this
   */
  proto.tensorflow.ApiDef.prototype.setDescriptionSuffix = function(value) {
    return jspb.Message.setProto3StringField(this, 10, value);
  };
  
  
  
  /**
   * List of repeated fields within this message type.
   * @private {!Array<number>}
   * @const
   */
  proto.tensorflow.ApiDefs.repeatedFields_ = [1];
  
  
  
  if (jspb.Message.GENERATE_TO_OBJECT) {
  /**
   * Creates an object representation of this proto.
   * Field names that are reserved in JavaScript and will be renamed to pb_name.
   * Optional fields that are not set will be set to undefined.
   * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
   * For the list of reserved names please see:
   *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
   * @param {boolean=} opt_includeInstance Deprecated. whether to include the
   *     JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @return {!Object}
   */
  proto.tensorflow.ApiDefs.prototype.toObject = function(opt_includeInstance) {
    return proto.tensorflow.ApiDefs.toObject(opt_includeInstance, this);
  };
  
  
  /**
   * Static version of the {@see toObject} method.
   * @param {boolean|undefined} includeInstance Deprecated. Whether to include
   *     the JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @param {!proto.tensorflow.ApiDefs} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.tensorflow.ApiDefs.toObject = function(includeInstance, msg) {
    var f, obj = {
      opList: jspb.Message.toObjectList(msg.getOpList(),
      proto.tensorflow.ApiDef.toObject, includeInstance)
    };
  
    if (includeInstance) {
      obj.$jspbMessageInstance = msg;
    }
    return obj;
  };
  }
  
  
  /**
   * Deserializes binary data (in protobuf wire format).
   * @param {jspb.ByteSource} bytes The bytes to deserialize.
   * @return {!proto.tensorflow.ApiDefs}
   */
  proto.tensorflow.ApiDefs.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.tensorflow.ApiDefs;
    return proto.tensorflow.ApiDefs.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.tensorflow.ApiDefs} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.tensorflow.ApiDefs}
   */
  proto.tensorflow.ApiDefs.deserializeBinaryFromReader = function(msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
      case 1:
        var value = new proto.tensorflow.ApiDef;
        reader.readMessage(value,proto.tensorflow.ApiDef.deserializeBinaryFromReader);
        msg.addOp(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.tensorflow.ApiDefs.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.tensorflow.ApiDefs.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.tensorflow.ApiDefs} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.tensorflow.ApiDefs.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = message.getOpList();
    if (f.length > 0) {
      writer.writeRepeatedMessage(
        1,
        f,
        proto.tensorflow.ApiDef.serializeBinaryToWriter
      );
    }
  };
  
  
  /**
   * repeated ApiDef op = 1;
   * @return {!Array<!proto.tensorflow.ApiDef>}
   */
  proto.tensorflow.ApiDefs.prototype.getOpList = function() {
    return /** @type{!Array<!proto.tensorflow.ApiDef>} */ (
      jspb.Message.getRepeatedWrapperField(this, proto.tensorflow.ApiDef, 1));
  };
  
  
  /**
   * @param {!Array<!proto.tensorflow.ApiDef>} value
   * @return {!proto.tensorflow.ApiDefs} returns this
  */
  proto.tensorflow.ApiDefs.prototype.setOpList = function(value) {
    return jspb.Message.setRepeatedWrapperField(this, 1, value);
  };
  
  
  /**
   * @param {!proto.tensorflow.ApiDef=} opt_value
   * @param {number=} opt_index
   * @return {!proto.tensorflow.ApiDef}
   */
  proto.tensorflow.ApiDefs.prototype.addOp = function(opt_value, opt_index) {
    return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.tensorflow.ApiDef, opt_index);
  };
  
  
  /**
   * Clears the list making it empty but non-null.
   * @return {!proto.tensorflow.ApiDefs} returns this
   */
  proto.tensorflow.ApiDefs.prototype.clearOpList = function() {
    return this.setOpList([]);
  };
  
  
  goog.object.extend(exports, proto.tensorflow);
  