// source: kubernetes_executor_config.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 google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
goog.object.extend(proto, google_protobuf_struct_pb);
goog.exportSymbol('proto.kfp_kubernetes.CreatePvc', null, global);
goog.exportSymbol('proto.kfp_kubernetes.CreatePvc.NameCase', null, global);
goog.exportSymbol('proto.kfp_kubernetes.DeletePvc', null, global);
goog.exportSymbol('proto.kfp_kubernetes.DeletePvc.PvcReferenceCase', null, global);
goog.exportSymbol('proto.kfp_kubernetes.KubernetesExecutorConfig', null, global);
goog.exportSymbol('proto.kfp_kubernetes.NodeSelector', null, global);
goog.exportSymbol('proto.kfp_kubernetes.PvcMount', null, global);
goog.exportSymbol('proto.kfp_kubernetes.PvcMount.PvcReferenceCase', null, global);
goog.exportSymbol('proto.kfp_kubernetes.SecretAsEnv', null, global);
goog.exportSymbol('proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap', null, global);
goog.exportSymbol('proto.kfp_kubernetes.SecretAsVolume', null, global);
goog.exportSymbol('proto.kfp_kubernetes.TaskOutputParameterSpec', 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.kfp_kubernetes.KubernetesExecutorConfig = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.kfp_kubernetes.KubernetesExecutorConfig.repeatedFields_, null);
};
goog.inherits(proto.kfp_kubernetes.KubernetesExecutorConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.kfp_kubernetes.KubernetesExecutorConfig.displayName = 'proto.kfp_kubernetes.KubernetesExecutorConfig';
}
/**
 * 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.kfp_kubernetes.SecretAsVolume = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.kfp_kubernetes.SecretAsVolume, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.kfp_kubernetes.SecretAsVolume.displayName = 'proto.kfp_kubernetes.SecretAsVolume';
}
/**
 * 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.kfp_kubernetes.SecretAsEnv = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.kfp_kubernetes.SecretAsEnv.repeatedFields_, null);
};
goog.inherits(proto.kfp_kubernetes.SecretAsEnv, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.kfp_kubernetes.SecretAsEnv.displayName = 'proto.kfp_kubernetes.SecretAsEnv';
}
/**
 * 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.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.displayName = 'proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap';
}
/**
 * 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.kfp_kubernetes.TaskOutputParameterSpec = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.kfp_kubernetes.TaskOutputParameterSpec, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.kfp_kubernetes.TaskOutputParameterSpec.displayName = 'proto.kfp_kubernetes.TaskOutputParameterSpec';
}
/**
 * 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.kfp_kubernetes.PvcMount = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.kfp_kubernetes.PvcMount.oneofGroups_);
};
goog.inherits(proto.kfp_kubernetes.PvcMount, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.kfp_kubernetes.PvcMount.displayName = 'proto.kfp_kubernetes.PvcMount';
}
/**
 * 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.kfp_kubernetes.CreatePvc = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.kfp_kubernetes.CreatePvc.repeatedFields_, proto.kfp_kubernetes.CreatePvc.oneofGroups_);
};
goog.inherits(proto.kfp_kubernetes.CreatePvc, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.kfp_kubernetes.CreatePvc.displayName = 'proto.kfp_kubernetes.CreatePvc';
}
/**
 * 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.kfp_kubernetes.DeletePvc = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, proto.kfp_kubernetes.DeletePvc.oneofGroups_);
};
goog.inherits(proto.kfp_kubernetes.DeletePvc, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.kfp_kubernetes.DeletePvc.displayName = 'proto.kfp_kubernetes.DeletePvc';
}
/**
 * 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.kfp_kubernetes.NodeSelector = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.kfp_kubernetes.NodeSelector, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.kfp_kubernetes.NodeSelector.displayName = 'proto.kfp_kubernetes.NodeSelector';
}

/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.kfp_kubernetes.KubernetesExecutorConfig.repeatedFields_ = [1,2,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.kfp_kubernetes.KubernetesExecutorConfig.prototype.toObject = function(opt_includeInstance) {
  return proto.kfp_kubernetes.KubernetesExecutorConfig.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.kfp_kubernetes.KubernetesExecutorConfig} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.kfp_kubernetes.KubernetesExecutorConfig.toObject = function(includeInstance, msg) {
  var f, obj = {
    secretAsVolumeList: jspb.Message.toObjectList(msg.getSecretAsVolumeList(),
    proto.kfp_kubernetes.SecretAsVolume.toObject, includeInstance),
    secretAsEnvList: jspb.Message.toObjectList(msg.getSecretAsEnvList(),
    proto.kfp_kubernetes.SecretAsEnv.toObject, includeInstance),
    pvcMountList: jspb.Message.toObjectList(msg.getPvcMountList(),
    proto.kfp_kubernetes.PvcMount.toObject, includeInstance),
    nodeSelector: (f = msg.getNodeSelector()) && proto.kfp_kubernetes.NodeSelector.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.kfp_kubernetes.KubernetesExecutorConfig}
 */
proto.kfp_kubernetes.KubernetesExecutorConfig.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.kfp_kubernetes.KubernetesExecutorConfig;
  return proto.kfp_kubernetes.KubernetesExecutorConfig.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.kfp_kubernetes.KubernetesExecutorConfig} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.kfp_kubernetes.KubernetesExecutorConfig}
 */
proto.kfp_kubernetes.KubernetesExecutorConfig.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.kfp_kubernetes.SecretAsVolume;
      reader.readMessage(value,proto.kfp_kubernetes.SecretAsVolume.deserializeBinaryFromReader);
      msg.addSecretAsVolume(value);
      break;
    case 2:
      var value = new proto.kfp_kubernetes.SecretAsEnv;
      reader.readMessage(value,proto.kfp_kubernetes.SecretAsEnv.deserializeBinaryFromReader);
      msg.addSecretAsEnv(value);
      break;
    case 3:
      var value = new proto.kfp_kubernetes.PvcMount;
      reader.readMessage(value,proto.kfp_kubernetes.PvcMount.deserializeBinaryFromReader);
      msg.addPvcMount(value);
      break;
    case 4:
      var value = new proto.kfp_kubernetes.NodeSelector;
      reader.readMessage(value,proto.kfp_kubernetes.NodeSelector.deserializeBinaryFromReader);
      msg.setNodeSelector(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.kfp_kubernetes.KubernetesExecutorConfig.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.kfp_kubernetes.KubernetesExecutorConfig} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.kfp_kubernetes.KubernetesExecutorConfig.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getSecretAsVolumeList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      proto.kfp_kubernetes.SecretAsVolume.serializeBinaryToWriter
    );
  }
  f = message.getSecretAsEnvList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      2,
      f,
      proto.kfp_kubernetes.SecretAsEnv.serializeBinaryToWriter
    );
  }
  f = message.getPvcMountList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      3,
      f,
      proto.kfp_kubernetes.PvcMount.serializeBinaryToWriter
    );
  }
  f = message.getNodeSelector();
  if (f != null) {
    writer.writeMessage(
      4,
      f,
      proto.kfp_kubernetes.NodeSelector.serializeBinaryToWriter
    );
  }
};


/**
 * repeated SecretAsVolume secret_as_volume = 1;
 * @return {!Array<!proto.kfp_kubernetes.SecretAsVolume>}
 */
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.getSecretAsVolumeList = function() {
  return /** @type{!Array<!proto.kfp_kubernetes.SecretAsVolume>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.kfp_kubernetes.SecretAsVolume, 1));
};


/**
 * @param {!Array<!proto.kfp_kubernetes.SecretAsVolume>} value
 * @return {!proto.kfp_kubernetes.KubernetesExecutorConfig} returns this
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.setSecretAsVolumeList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.kfp_kubernetes.SecretAsVolume=} opt_value
 * @param {number=} opt_index
 * @return {!proto.kfp_kubernetes.SecretAsVolume}
 */
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.addSecretAsVolume = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.kfp_kubernetes.SecretAsVolume, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.kfp_kubernetes.KubernetesExecutorConfig} returns this
 */
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.clearSecretAsVolumeList = function() {
  return this.setSecretAsVolumeList([]);
};


/**
 * repeated SecretAsEnv secret_as_env = 2;
 * @return {!Array<!proto.kfp_kubernetes.SecretAsEnv>}
 */
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.getSecretAsEnvList = function() {
  return /** @type{!Array<!proto.kfp_kubernetes.SecretAsEnv>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.kfp_kubernetes.SecretAsEnv, 2));
};


/**
 * @param {!Array<!proto.kfp_kubernetes.SecretAsEnv>} value
 * @return {!proto.kfp_kubernetes.KubernetesExecutorConfig} returns this
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.setSecretAsEnvList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 2, value);
};


/**
 * @param {!proto.kfp_kubernetes.SecretAsEnv=} opt_value
 * @param {number=} opt_index
 * @return {!proto.kfp_kubernetes.SecretAsEnv}
 */
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.addSecretAsEnv = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.kfp_kubernetes.SecretAsEnv, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.kfp_kubernetes.KubernetesExecutorConfig} returns this
 */
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.clearSecretAsEnvList = function() {
  return this.setSecretAsEnvList([]);
};


/**
 * repeated PvcMount pvc_mount = 3;
 * @return {!Array<!proto.kfp_kubernetes.PvcMount>}
 */
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.getPvcMountList = function() {
  return /** @type{!Array<!proto.kfp_kubernetes.PvcMount>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.kfp_kubernetes.PvcMount, 3));
};


/**
 * @param {!Array<!proto.kfp_kubernetes.PvcMount>} value
 * @return {!proto.kfp_kubernetes.KubernetesExecutorConfig} returns this
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.setPvcMountList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 3, value);
};


/**
 * @param {!proto.kfp_kubernetes.PvcMount=} opt_value
 * @param {number=} opt_index
 * @return {!proto.kfp_kubernetes.PvcMount}
 */
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.addPvcMount = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.kfp_kubernetes.PvcMount, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.kfp_kubernetes.KubernetesExecutorConfig} returns this
 */
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.clearPvcMountList = function() {
  return this.setPvcMountList([]);
};


/**
 * optional NodeSelector node_selector = 4;
 * @return {?proto.kfp_kubernetes.NodeSelector}
 */
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.getNodeSelector = function() {
  return /** @type{?proto.kfp_kubernetes.NodeSelector} */ (
    jspb.Message.getWrapperField(this, proto.kfp_kubernetes.NodeSelector, 4));
};


/**
 * @param {?proto.kfp_kubernetes.NodeSelector|undefined} value
 * @return {!proto.kfp_kubernetes.KubernetesExecutorConfig} returns this
*/
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.setNodeSelector = function(value) {
  return jspb.Message.setWrapperField(this, 4, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.kfp_kubernetes.KubernetesExecutorConfig} returns this
 */
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.clearNodeSelector = function() {
  return this.setNodeSelector(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.kfp_kubernetes.KubernetesExecutorConfig.prototype.hasNodeSelector = function() {
  return jspb.Message.getField(this, 4) != null;
};





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.kfp_kubernetes.SecretAsVolume.prototype.toObject = function(opt_includeInstance) {
  return proto.kfp_kubernetes.SecretAsVolume.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.kfp_kubernetes.SecretAsVolume} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.kfp_kubernetes.SecretAsVolume.toObject = function(includeInstance, msg) {
  var f, obj = {
    secretName: jspb.Message.getFieldWithDefault(msg, 1, ""),
    mountPath: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.kfp_kubernetes.SecretAsVolume}
 */
proto.kfp_kubernetes.SecretAsVolume.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.kfp_kubernetes.SecretAsVolume;
  return proto.kfp_kubernetes.SecretAsVolume.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.kfp_kubernetes.SecretAsVolume} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.kfp_kubernetes.SecretAsVolume}
 */
proto.kfp_kubernetes.SecretAsVolume.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.setSecretName(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setMountPath(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.kfp_kubernetes.SecretAsVolume.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.kfp_kubernetes.SecretAsVolume.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.kfp_kubernetes.SecretAsVolume} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.kfp_kubernetes.SecretAsVolume.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getSecretName();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getMountPath();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional string secret_name = 1;
 * @return {string}
 */
proto.kfp_kubernetes.SecretAsVolume.prototype.getSecretName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.kfp_kubernetes.SecretAsVolume} returns this
 */
proto.kfp_kubernetes.SecretAsVolume.prototype.setSecretName = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string mount_path = 2;
 * @return {string}
 */
proto.kfp_kubernetes.SecretAsVolume.prototype.getMountPath = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.kfp_kubernetes.SecretAsVolume} returns this
 */
proto.kfp_kubernetes.SecretAsVolume.prototype.setMountPath = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.kfp_kubernetes.SecretAsEnv.repeatedFields_ = [2];



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.kfp_kubernetes.SecretAsEnv.prototype.toObject = function(opt_includeInstance) {
  return proto.kfp_kubernetes.SecretAsEnv.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.kfp_kubernetes.SecretAsEnv} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.kfp_kubernetes.SecretAsEnv.toObject = function(includeInstance, msg) {
  var f, obj = {
    secretName: jspb.Message.getFieldWithDefault(msg, 1, ""),
    keyToEnvList: jspb.Message.toObjectList(msg.getKeyToEnvList(),
    proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.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.kfp_kubernetes.SecretAsEnv}
 */
proto.kfp_kubernetes.SecretAsEnv.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.kfp_kubernetes.SecretAsEnv;
  return proto.kfp_kubernetes.SecretAsEnv.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.kfp_kubernetes.SecretAsEnv} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.kfp_kubernetes.SecretAsEnv}
 */
proto.kfp_kubernetes.SecretAsEnv.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.setSecretName(value);
      break;
    case 2:
      var value = new proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap;
      reader.readMessage(value,proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.deserializeBinaryFromReader);
      msg.addKeyToEnv(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.kfp_kubernetes.SecretAsEnv.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.kfp_kubernetes.SecretAsEnv.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.kfp_kubernetes.SecretAsEnv} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.kfp_kubernetes.SecretAsEnv.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getSecretName();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getKeyToEnvList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      2,
      f,
      proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.serializeBinaryToWriter
    );
  }
};





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.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.prototype.toObject = function(opt_includeInstance) {
  return proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.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.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.toObject = function(includeInstance, msg) {
  var f, obj = {
    secretKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
    envVar: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap}
 */
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap;
  return proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap}
 */
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.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.setSecretKey(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setEnvVar(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getSecretKey();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getEnvVar();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional string secret_key = 1;
 * @return {string}
 */
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.prototype.getSecretKey = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap} returns this
 */
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.prototype.setSecretKey = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string env_var = 2;
 * @return {string}
 */
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.prototype.getEnvVar = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap} returns this
 */
proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap.prototype.setEnvVar = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string secret_name = 1;
 * @return {string}
 */
proto.kfp_kubernetes.SecretAsEnv.prototype.getSecretName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.kfp_kubernetes.SecretAsEnv} returns this
 */
proto.kfp_kubernetes.SecretAsEnv.prototype.setSecretName = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * repeated SecretKeyToEnvMap key_to_env = 2;
 * @return {!Array<!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap>}
 */
proto.kfp_kubernetes.SecretAsEnv.prototype.getKeyToEnvList = function() {
  return /** @type{!Array<!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap, 2));
};


/**
 * @param {!Array<!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap>} value
 * @return {!proto.kfp_kubernetes.SecretAsEnv} returns this
*/
proto.kfp_kubernetes.SecretAsEnv.prototype.setKeyToEnvList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 2, value);
};


/**
 * @param {!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap=} opt_value
 * @param {number=} opt_index
 * @return {!proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap}
 */
proto.kfp_kubernetes.SecretAsEnv.prototype.addKeyToEnv = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.kfp_kubernetes.SecretAsEnv.SecretKeyToEnvMap, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.kfp_kubernetes.SecretAsEnv} returns this
 */
proto.kfp_kubernetes.SecretAsEnv.prototype.clearKeyToEnvList = function() {
  return this.setKeyToEnvList([]);
};





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.kfp_kubernetes.TaskOutputParameterSpec.prototype.toObject = function(opt_includeInstance) {
  return proto.kfp_kubernetes.TaskOutputParameterSpec.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.kfp_kubernetes.TaskOutputParameterSpec} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.kfp_kubernetes.TaskOutputParameterSpec.toObject = function(includeInstance, msg) {
  var f, obj = {
    producerTask: jspb.Message.getFieldWithDefault(msg, 1, ""),
    outputParameterKey: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.kfp_kubernetes.TaskOutputParameterSpec}
 */
proto.kfp_kubernetes.TaskOutputParameterSpec.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.kfp_kubernetes.TaskOutputParameterSpec;
  return proto.kfp_kubernetes.TaskOutputParameterSpec.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.kfp_kubernetes.TaskOutputParameterSpec} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.kfp_kubernetes.TaskOutputParameterSpec}
 */
proto.kfp_kubernetes.TaskOutputParameterSpec.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.setProducerTask(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setOutputParameterKey(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.kfp_kubernetes.TaskOutputParameterSpec.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.kfp_kubernetes.TaskOutputParameterSpec.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.kfp_kubernetes.TaskOutputParameterSpec} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.kfp_kubernetes.TaskOutputParameterSpec.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getProducerTask();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getOutputParameterKey();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
};


/**
 * optional string producer_task = 1;
 * @return {string}
 */
proto.kfp_kubernetes.TaskOutputParameterSpec.prototype.getProducerTask = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.kfp_kubernetes.TaskOutputParameterSpec} returns this
 */
proto.kfp_kubernetes.TaskOutputParameterSpec.prototype.setProducerTask = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string output_parameter_key = 2;
 * @return {string}
 */
proto.kfp_kubernetes.TaskOutputParameterSpec.prototype.getOutputParameterKey = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.kfp_kubernetes.TaskOutputParameterSpec} returns this
 */
proto.kfp_kubernetes.TaskOutputParameterSpec.prototype.setOutputParameterKey = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.kfp_kubernetes.PvcMount.oneofGroups_ = [[1,2,3]];

/**
 * @enum {number}
 */
proto.kfp_kubernetes.PvcMount.PvcReferenceCase = {
  PVC_REFERENCE_NOT_SET: 0,
  TASK_OUTPUT_PARAMETER: 1,
  CONSTANT: 2,
  COMPONENT_INPUT_PARAMETER: 3
};

/**
 * @return {proto.kfp_kubernetes.PvcMount.PvcReferenceCase}
 */
proto.kfp_kubernetes.PvcMount.prototype.getPvcReferenceCase = function() {
  return /** @type {proto.kfp_kubernetes.PvcMount.PvcReferenceCase} */(jspb.Message.computeOneofCase(this, proto.kfp_kubernetes.PvcMount.oneofGroups_[0]));
};



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.kfp_kubernetes.PvcMount.prototype.toObject = function(opt_includeInstance) {
  return proto.kfp_kubernetes.PvcMount.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.kfp_kubernetes.PvcMount} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.kfp_kubernetes.PvcMount.toObject = function(includeInstance, msg) {
  var f, obj = {
    taskOutputParameter: (f = msg.getTaskOutputParameter()) && proto.kfp_kubernetes.TaskOutputParameterSpec.toObject(includeInstance, f),
    constant: jspb.Message.getFieldWithDefault(msg, 2, ""),
    componentInputParameter: jspb.Message.getFieldWithDefault(msg, 3, ""),
    mountPath: 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.kfp_kubernetes.PvcMount}
 */
proto.kfp_kubernetes.PvcMount.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.kfp_kubernetes.PvcMount;
  return proto.kfp_kubernetes.PvcMount.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.kfp_kubernetes.PvcMount} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.kfp_kubernetes.PvcMount}
 */
proto.kfp_kubernetes.PvcMount.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.kfp_kubernetes.TaskOutputParameterSpec;
      reader.readMessage(value,proto.kfp_kubernetes.TaskOutputParameterSpec.deserializeBinaryFromReader);
      msg.setTaskOutputParameter(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setConstant(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setComponentInputParameter(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setMountPath(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.kfp_kubernetes.PvcMount.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.kfp_kubernetes.PvcMount.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.kfp_kubernetes.PvcMount} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.kfp_kubernetes.PvcMount.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getTaskOutputParameter();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.kfp_kubernetes.TaskOutputParameterSpec.serializeBinaryToWriter
    );
  }
  f = /** @type {string} */ (jspb.Message.getField(message, 2));
  if (f != null) {
    writer.writeString(
      2,
      f
    );
  }
  f = /** @type {string} */ (jspb.Message.getField(message, 3));
  if (f != null) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getMountPath();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
};


/**
 * optional TaskOutputParameterSpec task_output_parameter = 1;
 * @return {?proto.kfp_kubernetes.TaskOutputParameterSpec}
 */
proto.kfp_kubernetes.PvcMount.prototype.getTaskOutputParameter = function() {
  return /** @type{?proto.kfp_kubernetes.TaskOutputParameterSpec} */ (
    jspb.Message.getWrapperField(this, proto.kfp_kubernetes.TaskOutputParameterSpec, 1));
};


/**
 * @param {?proto.kfp_kubernetes.TaskOutputParameterSpec|undefined} value
 * @return {!proto.kfp_kubernetes.PvcMount} returns this
*/
proto.kfp_kubernetes.PvcMount.prototype.setTaskOutputParameter = function(value) {
  return jspb.Message.setOneofWrapperField(this, 1, proto.kfp_kubernetes.PvcMount.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.kfp_kubernetes.PvcMount} returns this
 */
proto.kfp_kubernetes.PvcMount.prototype.clearTaskOutputParameter = function() {
  return this.setTaskOutputParameter(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.kfp_kubernetes.PvcMount.prototype.hasTaskOutputParameter = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional string constant = 2;
 * @return {string}
 */
proto.kfp_kubernetes.PvcMount.prototype.getConstant = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.kfp_kubernetes.PvcMount} returns this
 */
proto.kfp_kubernetes.PvcMount.prototype.setConstant = function(value) {
  return jspb.Message.setOneofField(this, 2, proto.kfp_kubernetes.PvcMount.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.kfp_kubernetes.PvcMount} returns this
 */
proto.kfp_kubernetes.PvcMount.prototype.clearConstant = function() {
  return jspb.Message.setOneofField(this, 2, proto.kfp_kubernetes.PvcMount.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.kfp_kubernetes.PvcMount.prototype.hasConstant = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional string component_input_parameter = 3;
 * @return {string}
 */
proto.kfp_kubernetes.PvcMount.prototype.getComponentInputParameter = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.kfp_kubernetes.PvcMount} returns this
 */
proto.kfp_kubernetes.PvcMount.prototype.setComponentInputParameter = function(value) {
  return jspb.Message.setOneofField(this, 3, proto.kfp_kubernetes.PvcMount.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.kfp_kubernetes.PvcMount} returns this
 */
proto.kfp_kubernetes.PvcMount.prototype.clearComponentInputParameter = function() {
  return jspb.Message.setOneofField(this, 3, proto.kfp_kubernetes.PvcMount.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.kfp_kubernetes.PvcMount.prototype.hasComponentInputParameter = function() {
  return jspb.Message.getField(this, 3) != null;
};


/**
 * optional string mount_path = 4;
 * @return {string}
 */
proto.kfp_kubernetes.PvcMount.prototype.getMountPath = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.kfp_kubernetes.PvcMount} returns this
 */
proto.kfp_kubernetes.PvcMount.prototype.setMountPath = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.kfp_kubernetes.CreatePvc.repeatedFields_ = [3];

/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.kfp_kubernetes.CreatePvc.oneofGroups_ = [[1,2]];

/**
 * @enum {number}
 */
proto.kfp_kubernetes.CreatePvc.NameCase = {
  NAME_NOT_SET: 0,
  PVC_NAME: 1,
  PVC_NAME_SUFFIX: 2
};

/**
 * @return {proto.kfp_kubernetes.CreatePvc.NameCase}
 */
proto.kfp_kubernetes.CreatePvc.prototype.getNameCase = function() {
  return /** @type {proto.kfp_kubernetes.CreatePvc.NameCase} */(jspb.Message.computeOneofCase(this, proto.kfp_kubernetes.CreatePvc.oneofGroups_[0]));
};



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.kfp_kubernetes.CreatePvc.prototype.toObject = function(opt_includeInstance) {
  return proto.kfp_kubernetes.CreatePvc.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.kfp_kubernetes.CreatePvc} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.kfp_kubernetes.CreatePvc.toObject = function(includeInstance, msg) {
  var f, obj = {
    pvcName: jspb.Message.getFieldWithDefault(msg, 1, ""),
    pvcNameSuffix: jspb.Message.getFieldWithDefault(msg, 2, ""),
    accessModesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
    size: jspb.Message.getFieldWithDefault(msg, 4, ""),
    defaultStorageClass: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
    storageClassName: jspb.Message.getFieldWithDefault(msg, 6, ""),
    volumeName: jspb.Message.getFieldWithDefault(msg, 7, ""),
    annotations: (f = msg.getAnnotations()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.kfp_kubernetes.CreatePvc}
 */
proto.kfp_kubernetes.CreatePvc.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.kfp_kubernetes.CreatePvc;
  return proto.kfp_kubernetes.CreatePvc.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.kfp_kubernetes.CreatePvc} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.kfp_kubernetes.CreatePvc}
 */
proto.kfp_kubernetes.CreatePvc.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.setPvcName(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setPvcNameSuffix(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.addAccessModes(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setSize(value);
      break;
    case 5:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setDefaultStorageClass(value);
      break;
    case 6:
      var value = /** @type {string} */ (reader.readString());
      msg.setStorageClassName(value);
      break;
    case 7:
      var value = /** @type {string} */ (reader.readString());
      msg.setVolumeName(value);
      break;
    case 8:
      var value = new google_protobuf_struct_pb.Struct;
      reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
      msg.setAnnotations(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.kfp_kubernetes.CreatePvc.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.kfp_kubernetes.CreatePvc.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.kfp_kubernetes.CreatePvc} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.kfp_kubernetes.CreatePvc.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = /** @type {string} */ (jspb.Message.getField(message, 1));
  if (f != null) {
    writer.writeString(
      1,
      f
    );
  }
  f = /** @type {string} */ (jspb.Message.getField(message, 2));
  if (f != null) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getAccessModesList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      3,
      f
    );
  }
  f = message.getSize();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getDefaultStorageClass();
  if (f) {
    writer.writeBool(
      5,
      f
    );
  }
  f = message.getStorageClassName();
  if (f.length > 0) {
    writer.writeString(
      6,
      f
    );
  }
  f = message.getVolumeName();
  if (f.length > 0) {
    writer.writeString(
      7,
      f
    );
  }
  f = message.getAnnotations();
  if (f != null) {
    writer.writeMessage(
      8,
      f,
      google_protobuf_struct_pb.Struct.serializeBinaryToWriter
    );
  }
};


/**
 * optional string pvc_name = 1;
 * @return {string}
 */
proto.kfp_kubernetes.CreatePvc.prototype.getPvcName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.kfp_kubernetes.CreatePvc} returns this
 */
proto.kfp_kubernetes.CreatePvc.prototype.setPvcName = function(value) {
  return jspb.Message.setOneofField(this, 1, proto.kfp_kubernetes.CreatePvc.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.kfp_kubernetes.CreatePvc} returns this
 */
proto.kfp_kubernetes.CreatePvc.prototype.clearPvcName = function() {
  return jspb.Message.setOneofField(this, 1, proto.kfp_kubernetes.CreatePvc.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.kfp_kubernetes.CreatePvc.prototype.hasPvcName = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional string pvc_name_suffix = 2;
 * @return {string}
 */
proto.kfp_kubernetes.CreatePvc.prototype.getPvcNameSuffix = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.kfp_kubernetes.CreatePvc} returns this
 */
proto.kfp_kubernetes.CreatePvc.prototype.setPvcNameSuffix = function(value) {
  return jspb.Message.setOneofField(this, 2, proto.kfp_kubernetes.CreatePvc.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.kfp_kubernetes.CreatePvc} returns this
 */
proto.kfp_kubernetes.CreatePvc.prototype.clearPvcNameSuffix = function() {
  return jspb.Message.setOneofField(this, 2, proto.kfp_kubernetes.CreatePvc.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.kfp_kubernetes.CreatePvc.prototype.hasPvcNameSuffix = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * repeated string access_modes = 3;
 * @return {!Array<string>}
 */
proto.kfp_kubernetes.CreatePvc.prototype.getAccessModesList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.kfp_kubernetes.CreatePvc} returns this
 */
proto.kfp_kubernetes.CreatePvc.prototype.setAccessModesList = function(value) {
  return jspb.Message.setField(this, 3, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.kfp_kubernetes.CreatePvc} returns this
 */
proto.kfp_kubernetes.CreatePvc.prototype.addAccessModes = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.kfp_kubernetes.CreatePvc} returns this
 */
proto.kfp_kubernetes.CreatePvc.prototype.clearAccessModesList = function() {
  return this.setAccessModesList([]);
};


/**
 * optional string size = 4;
 * @return {string}
 */
proto.kfp_kubernetes.CreatePvc.prototype.getSize = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.kfp_kubernetes.CreatePvc} returns this
 */
proto.kfp_kubernetes.CreatePvc.prototype.setSize = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * optional bool default_storage_class = 5;
 * @return {boolean}
 */
proto.kfp_kubernetes.CreatePvc.prototype.getDefaultStorageClass = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
};


/**
 * @param {boolean} value
 * @return {!proto.kfp_kubernetes.CreatePvc} returns this
 */
proto.kfp_kubernetes.CreatePvc.prototype.setDefaultStorageClass = function(value) {
  return jspb.Message.setProto3BooleanField(this, 5, value);
};


/**
 * optional string storage_class_name = 6;
 * @return {string}
 */
proto.kfp_kubernetes.CreatePvc.prototype.getStorageClassName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};


/**
 * @param {string} value
 * @return {!proto.kfp_kubernetes.CreatePvc} returns this
 */
proto.kfp_kubernetes.CreatePvc.prototype.setStorageClassName = function(value) {
  return jspb.Message.setProto3StringField(this, 6, value);
};


/**
 * optional string volume_name = 7;
 * @return {string}
 */
proto.kfp_kubernetes.CreatePvc.prototype.getVolumeName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
};


/**
 * @param {string} value
 * @return {!proto.kfp_kubernetes.CreatePvc} returns this
 */
proto.kfp_kubernetes.CreatePvc.prototype.setVolumeName = function(value) {
  return jspb.Message.setProto3StringField(this, 7, value);
};


/**
 * optional google.protobuf.Struct annotations = 8;
 * @return {?proto.google.protobuf.Struct}
 */
proto.kfp_kubernetes.CreatePvc.prototype.getAnnotations = function() {
  return /** @type{?proto.google.protobuf.Struct} */ (
    jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 8));
};


/**
 * @param {?proto.google.protobuf.Struct|undefined} value
 * @return {!proto.kfp_kubernetes.CreatePvc} returns this
*/
proto.kfp_kubernetes.CreatePvc.prototype.setAnnotations = function(value) {
  return jspb.Message.setWrapperField(this, 8, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.kfp_kubernetes.CreatePvc} returns this
 */
proto.kfp_kubernetes.CreatePvc.prototype.clearAnnotations = function() {
  return this.setAnnotations(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.kfp_kubernetes.CreatePvc.prototype.hasAnnotations = function() {
  return jspb.Message.getField(this, 8) != null;
};



/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.kfp_kubernetes.DeletePvc.oneofGroups_ = [[1,2,3]];

/**
 * @enum {number}
 */
proto.kfp_kubernetes.DeletePvc.PvcReferenceCase = {
  PVC_REFERENCE_NOT_SET: 0,
  TASK_OUTPUT_PARAMETER: 1,
  CONSTANT: 2,
  COMPONENT_INPUT_PARAMETER: 3
};

/**
 * @return {proto.kfp_kubernetes.DeletePvc.PvcReferenceCase}
 */
proto.kfp_kubernetes.DeletePvc.prototype.getPvcReferenceCase = function() {
  return /** @type {proto.kfp_kubernetes.DeletePvc.PvcReferenceCase} */(jspb.Message.computeOneofCase(this, proto.kfp_kubernetes.DeletePvc.oneofGroups_[0]));
};



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.kfp_kubernetes.DeletePvc.prototype.toObject = function(opt_includeInstance) {
  return proto.kfp_kubernetes.DeletePvc.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.kfp_kubernetes.DeletePvc} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.kfp_kubernetes.DeletePvc.toObject = function(includeInstance, msg) {
  var f, obj = {
    taskOutputParameter: (f = msg.getTaskOutputParameter()) && proto.kfp_kubernetes.TaskOutputParameterSpec.toObject(includeInstance, f),
    constant: jspb.Message.getFieldWithDefault(msg, 2, ""),
    componentInputParameter: 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.kfp_kubernetes.DeletePvc}
 */
proto.kfp_kubernetes.DeletePvc.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.kfp_kubernetes.DeletePvc;
  return proto.kfp_kubernetes.DeletePvc.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.kfp_kubernetes.DeletePvc} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.kfp_kubernetes.DeletePvc}
 */
proto.kfp_kubernetes.DeletePvc.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new proto.kfp_kubernetes.TaskOutputParameterSpec;
      reader.readMessage(value,proto.kfp_kubernetes.TaskOutputParameterSpec.deserializeBinaryFromReader);
      msg.setTaskOutputParameter(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setConstant(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setComponentInputParameter(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.kfp_kubernetes.DeletePvc.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.kfp_kubernetes.DeletePvc.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.kfp_kubernetes.DeletePvc} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.kfp_kubernetes.DeletePvc.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getTaskOutputParameter();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      proto.kfp_kubernetes.TaskOutputParameterSpec.serializeBinaryToWriter
    );
  }
  f = /** @type {string} */ (jspb.Message.getField(message, 2));
  if (f != null) {
    writer.writeString(
      2,
      f
    );
  }
  f = /** @type {string} */ (jspb.Message.getField(message, 3));
  if (f != null) {
    writer.writeString(
      3,
      f
    );
  }
};


/**
 * optional TaskOutputParameterSpec task_output_parameter = 1;
 * @return {?proto.kfp_kubernetes.TaskOutputParameterSpec}
 */
proto.kfp_kubernetes.DeletePvc.prototype.getTaskOutputParameter = function() {
  return /** @type{?proto.kfp_kubernetes.TaskOutputParameterSpec} */ (
    jspb.Message.getWrapperField(this, proto.kfp_kubernetes.TaskOutputParameterSpec, 1));
};


/**
 * @param {?proto.kfp_kubernetes.TaskOutputParameterSpec|undefined} value
 * @return {!proto.kfp_kubernetes.DeletePvc} returns this
*/
proto.kfp_kubernetes.DeletePvc.prototype.setTaskOutputParameter = function(value) {
  return jspb.Message.setOneofWrapperField(this, 1, proto.kfp_kubernetes.DeletePvc.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.kfp_kubernetes.DeletePvc} returns this
 */
proto.kfp_kubernetes.DeletePvc.prototype.clearTaskOutputParameter = function() {
  return this.setTaskOutputParameter(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.kfp_kubernetes.DeletePvc.prototype.hasTaskOutputParameter = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional string constant = 2;
 * @return {string}
 */
proto.kfp_kubernetes.DeletePvc.prototype.getConstant = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.kfp_kubernetes.DeletePvc} returns this
 */
proto.kfp_kubernetes.DeletePvc.prototype.setConstant = function(value) {
  return jspb.Message.setOneofField(this, 2, proto.kfp_kubernetes.DeletePvc.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.kfp_kubernetes.DeletePvc} returns this
 */
proto.kfp_kubernetes.DeletePvc.prototype.clearConstant = function() {
  return jspb.Message.setOneofField(this, 2, proto.kfp_kubernetes.DeletePvc.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.kfp_kubernetes.DeletePvc.prototype.hasConstant = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional string component_input_parameter = 3;
 * @return {string}
 */
proto.kfp_kubernetes.DeletePvc.prototype.getComponentInputParameter = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.kfp_kubernetes.DeletePvc} returns this
 */
proto.kfp_kubernetes.DeletePvc.prototype.setComponentInputParameter = function(value) {
  return jspb.Message.setOneofField(this, 3, proto.kfp_kubernetes.DeletePvc.oneofGroups_[0], value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.kfp_kubernetes.DeletePvc} returns this
 */
proto.kfp_kubernetes.DeletePvc.prototype.clearComponentInputParameter = function() {
  return jspb.Message.setOneofField(this, 3, proto.kfp_kubernetes.DeletePvc.oneofGroups_[0], undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.kfp_kubernetes.DeletePvc.prototype.hasComponentInputParameter = function() {
  return jspb.Message.getField(this, 3) != null;
};





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.kfp_kubernetes.NodeSelector.prototype.toObject = function(opt_includeInstance) {
  return proto.kfp_kubernetes.NodeSelector.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.kfp_kubernetes.NodeSelector} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.kfp_kubernetes.NodeSelector.toObject = function(includeInstance, msg) {
  var f, obj = {
    labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : []
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.kfp_kubernetes.NodeSelector}
 */
proto.kfp_kubernetes.NodeSelector.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.kfp_kubernetes.NodeSelector;
  return proto.kfp_kubernetes.NodeSelector.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.kfp_kubernetes.NodeSelector} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.kfp_kubernetes.NodeSelector}
 */
proto.kfp_kubernetes.NodeSelector.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = msg.getLabelsMap();
      reader.readMessage(value, function(message, reader) {
        jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
         });
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.kfp_kubernetes.NodeSelector.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.kfp_kubernetes.NodeSelector.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.kfp_kubernetes.NodeSelector} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.kfp_kubernetes.NodeSelector.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getLabelsMap(true);
  if (f && f.getLength() > 0) {
    f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
  }
};


/**
 * map<string, string> labels = 1;
 * @param {boolean=} opt_noLazyCreate Do not create the map if
 * empty, instead returning `undefined`
 * @return {!jspb.Map<string,string>}
 */
proto.kfp_kubernetes.NodeSelector.prototype.getLabelsMap = function(opt_noLazyCreate) {
  return /** @type {!jspb.Map<string,string>} */ (
      jspb.Message.getMapField(this, 1, opt_noLazyCreate,
      null));
};


/**
 * Clears values from the map. The map will be non-null.
 * @return {!proto.kfp_kubernetes.NodeSelector} returns this
 */
proto.kfp_kubernetes.NodeSelector.prototype.clearLabelsMap = function() {
  this.getLabelsMap().clear();
  return this;};


goog.object.extend(exports, proto.kfp_kubernetes);
