Browse Source

Content: compile protobufs with new protoc version

iorveth 4 years ago
parent
commit
530ba67957

+ 1 - 1
content-metadata-protobuf/compiled/proto/Channel_pb.d.ts

@@ -1,4 +1,4 @@
-// package: muthu.other
+// package: 
 // file: proto/Channel.proto
 
 import * as jspb from "google-protobuf";

+ 211 - 141
content-metadata-protobuf/compiled/proto/Channel_pb.js

@@ -1,19 +1,43 @@
+// source: proto/Channel.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')();
 
-goog.exportSymbol('proto.muthu.other.ChannelCategoryMetadata', null, global);
-goog.exportSymbol('proto.muthu.other.ChannelMetadata', null, global);
-
+goog.exportSymbol('proto.ChannelCategoryMetadata', null, global);
+goog.exportSymbol('proto.ChannelMetadata', 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.ChannelMetadata = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.ChannelMetadata, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.ChannelMetadata.displayName = 'proto.ChannelMetadata';
+}
 /**
  * Generated by JsPbCodeGenerator.
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -24,49 +48,56 @@ goog.exportSymbol('proto.muthu.other.ChannelMetadata', null, global);
  * @extends {jspb.Message}
  * @constructor
  */
-proto.muthu.other.ChannelMetadata = function(opt_data) {
+proto.ChannelCategoryMetadata = function(opt_data) {
   jspb.Message.initialize(this, opt_data, 0, -1, null, null);
 };
-goog.inherits(proto.muthu.other.ChannelMetadata, jspb.Message);
+goog.inherits(proto.ChannelCategoryMetadata, jspb.Message);
 if (goog.DEBUG && !COMPILED) {
-  proto.muthu.other.ChannelMetadata.displayName = 'proto.muthu.other.ChannelMetadata';
+  /**
+   * @public
+   * @override
+   */
+  proto.ChannelCategoryMetadata.displayName = 'proto.ChannelCategoryMetadata';
 }
 
 
+
 if (jspb.Message.GENERATE_TO_OBJECT) {
 /**
- * Creates an object representation of this proto suitable for use in Soy templates.
+ * 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:
- *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
- *     for transitional soy proto support: http://goto/soy-param-migration
+ *     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.muthu.other.ChannelMetadata.prototype.toObject = function(opt_includeInstance) {
-  return proto.muthu.other.ChannelMetadata.toObject(opt_includeInstance, this);
+proto.ChannelMetadata.prototype.toObject = function(opt_includeInstance) {
+  return proto.ChannelMetadata.toObject(opt_includeInstance, this);
 };
 
 
 /**
  * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
- *     instance for transitional soy proto support:
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
  *     http://goto/soy-param-migration
- * @param {!proto.muthu.other.ChannelMetadata} msg The msg instance to transform.
+ * @param {!proto.ChannelMetadata} msg The msg instance to transform.
  * @return {!Object}
  * @suppress {unusedLocalVariables} f is only used for nested messages
  */
-proto.muthu.other.ChannelMetadata.toObject = function(includeInstance, msg) {
+proto.ChannelMetadata.toObject = function(includeInstance, msg) {
   var f, obj = {
-    title: jspb.Message.getField(msg, 1),
-    description: jspb.Message.getField(msg, 2),
-    isPublic: jspb.Message.getField(msg, 3),
-    language: jspb.Message.getField(msg, 4),
-    coverPhoto: jspb.Message.getField(msg, 5),
-    avatarPhoto: jspb.Message.getField(msg, 6),
-    category: jspb.Message.getField(msg, 7)
+    title: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
+    description: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
+    isPublic: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f,
+    language: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
+    coverPhoto: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f,
+    avatarPhoto: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f,
+    category: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f
   };
 
   if (includeInstance) {
@@ -80,23 +111,23 @@ proto.muthu.other.ChannelMetadata.toObject = function(includeInstance, msg) {
 /**
  * Deserializes binary data (in protobuf wire format).
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.muthu.other.ChannelMetadata}
+ * @return {!proto.ChannelMetadata}
  */
-proto.muthu.other.ChannelMetadata.deserializeBinary = function(bytes) {
+proto.ChannelMetadata.deserializeBinary = function(bytes) {
   var reader = new jspb.BinaryReader(bytes);
-  var msg = new proto.muthu.other.ChannelMetadata;
-  return proto.muthu.other.ChannelMetadata.deserializeBinaryFromReader(msg, reader);
+  var msg = new proto.ChannelMetadata;
+  return proto.ChannelMetadata.deserializeBinaryFromReader(msg, reader);
 };
 
 
 /**
  * Deserializes binary data (in protobuf wire format) from the
  * given reader into the given message object.
- * @param {!proto.muthu.other.ChannelMetadata} msg The message object to deserialize into.
+ * @param {!proto.ChannelMetadata} msg The message object to deserialize into.
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.muthu.other.ChannelMetadata}
+ * @return {!proto.ChannelMetadata}
  */
-proto.muthu.other.ChannelMetadata.deserializeBinaryFromReader = function(msg, reader) {
+proto.ChannelMetadata.deserializeBinaryFromReader = function(msg, reader) {
   while (reader.nextField()) {
     if (reader.isEndGroup()) {
       break;
@@ -144,9 +175,9 @@ proto.muthu.other.ChannelMetadata.deserializeBinaryFromReader = function(msg, re
  * Serializes the message to binary data (in protobuf wire format).
  * @return {!Uint8Array}
  */
-proto.muthu.other.ChannelMetadata.prototype.serializeBinary = function() {
+proto.ChannelMetadata.prototype.serializeBinary = function() {
   var writer = new jspb.BinaryWriter();
-  proto.muthu.other.ChannelMetadata.serializeBinaryToWriter(this, writer);
+  proto.ChannelMetadata.serializeBinaryToWriter(this, writer);
   return writer.getResultBuffer();
 };
 
@@ -154,11 +185,11 @@ proto.muthu.other.ChannelMetadata.prototype.serializeBinary = function() {
 /**
  * Serializes the given message to binary data (in protobuf wire
  * format), writing to the given BinaryWriter.
- * @param {!proto.muthu.other.ChannelMetadata} message
+ * @param {!proto.ChannelMetadata} message
  * @param {!jspb.BinaryWriter} writer
  * @suppress {unusedLocalVariables} f is only used for nested messages
  */
-proto.muthu.other.ChannelMetadata.serializeBinaryToWriter = function(message, writer) {
+proto.ChannelMetadata.serializeBinaryToWriter = function(message, writer) {
   var f = undefined;
   f = /** @type {string} */ (jspb.Message.getField(message, 1));
   if (f != null) {
@@ -216,27 +247,34 @@ proto.muthu.other.ChannelMetadata.serializeBinaryToWriter = function(message, wr
  * optional string title = 1;
  * @return {string}
  */
-proto.muthu.other.ChannelMetadata.prototype.getTitle = function() {
+proto.ChannelMetadata.prototype.getTitle = function() {
   return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
 };
 
 
-/** @param {string} value */
-proto.muthu.other.ChannelMetadata.prototype.setTitle = function(value) {
-  jspb.Message.setField(this, 1, value);
+/**
+ * @param {string} value
+ * @return {!proto.ChannelMetadata} returns this
+ */
+proto.ChannelMetadata.prototype.setTitle = function(value) {
+  return jspb.Message.setField(this, 1, value);
 };
 
 
-proto.muthu.other.ChannelMetadata.prototype.clearTitle = function() {
-  jspb.Message.setField(this, 1, undefined);
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.ChannelMetadata} returns this
+ */
+proto.ChannelMetadata.prototype.clearTitle = function() {
+  return jspb.Message.setField(this, 1, undefined);
 };
 
 
 /**
  * Returns whether this field is set.
- * @return {!boolean}
+ * @return {boolean}
  */
-proto.muthu.other.ChannelMetadata.prototype.hasTitle = function() {
+proto.ChannelMetadata.prototype.hasTitle = function() {
   return jspb.Message.getField(this, 1) != null;
 };
 
@@ -245,58 +283,70 @@ proto.muthu.other.ChannelMetadata.prototype.hasTitle = function() {
  * optional string description = 2;
  * @return {string}
  */
-proto.muthu.other.ChannelMetadata.prototype.getDescription = function() {
+proto.ChannelMetadata.prototype.getDescription = function() {
   return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
 };
 
 
-/** @param {string} value */
-proto.muthu.other.ChannelMetadata.prototype.setDescription = function(value) {
-  jspb.Message.setField(this, 2, value);
+/**
+ * @param {string} value
+ * @return {!proto.ChannelMetadata} returns this
+ */
+proto.ChannelMetadata.prototype.setDescription = function(value) {
+  return jspb.Message.setField(this, 2, value);
 };
 
 
-proto.muthu.other.ChannelMetadata.prototype.clearDescription = function() {
-  jspb.Message.setField(this, 2, undefined);
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.ChannelMetadata} returns this
+ */
+proto.ChannelMetadata.prototype.clearDescription = function() {
+  return jspb.Message.setField(this, 2, undefined);
 };
 
 
 /**
  * Returns whether this field is set.
- * @return {!boolean}
+ * @return {boolean}
  */
-proto.muthu.other.ChannelMetadata.prototype.hasDescription = function() {
+proto.ChannelMetadata.prototype.hasDescription = function() {
   return jspb.Message.getField(this, 2) != null;
 };
 
 
 /**
  * optional bool is_public = 3;
- * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
- * You should avoid comparisons like {@code val === true/false} in those cases.
  * @return {boolean}
  */
-proto.muthu.other.ChannelMetadata.prototype.getIsPublic = function() {
-  return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 3, false));
+proto.ChannelMetadata.prototype.getIsPublic = function() {
+  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
 };
 
 
-/** @param {boolean} value */
-proto.muthu.other.ChannelMetadata.prototype.setIsPublic = function(value) {
-  jspb.Message.setField(this, 3, value);
+/**
+ * @param {boolean} value
+ * @return {!proto.ChannelMetadata} returns this
+ */
+proto.ChannelMetadata.prototype.setIsPublic = function(value) {
+  return jspb.Message.setField(this, 3, value);
 };
 
 
-proto.muthu.other.ChannelMetadata.prototype.clearIsPublic = function() {
-  jspb.Message.setField(this, 3, undefined);
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.ChannelMetadata} returns this
+ */
+proto.ChannelMetadata.prototype.clearIsPublic = function() {
+  return jspb.Message.setField(this, 3, undefined);
 };
 
 
 /**
  * Returns whether this field is set.
- * @return {!boolean}
+ * @return {boolean}
  */
-proto.muthu.other.ChannelMetadata.prototype.hasIsPublic = function() {
+proto.ChannelMetadata.prototype.hasIsPublic = function() {
   return jspb.Message.getField(this, 3) != null;
 };
 
@@ -305,27 +355,34 @@ proto.muthu.other.ChannelMetadata.prototype.hasIsPublic = function() {
  * optional string language = 4;
  * @return {string}
  */
-proto.muthu.other.ChannelMetadata.prototype.getLanguage = function() {
+proto.ChannelMetadata.prototype.getLanguage = function() {
   return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
 };
 
 
-/** @param {string} value */
-proto.muthu.other.ChannelMetadata.prototype.setLanguage = function(value) {
-  jspb.Message.setField(this, 4, value);
+/**
+ * @param {string} value
+ * @return {!proto.ChannelMetadata} returns this
+ */
+proto.ChannelMetadata.prototype.setLanguage = function(value) {
+  return jspb.Message.setField(this, 4, value);
 };
 
 
-proto.muthu.other.ChannelMetadata.prototype.clearLanguage = function() {
-  jspb.Message.setField(this, 4, undefined);
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.ChannelMetadata} returns this
+ */
+proto.ChannelMetadata.prototype.clearLanguage = function() {
+  return jspb.Message.setField(this, 4, undefined);
 };
 
 
 /**
  * Returns whether this field is set.
- * @return {!boolean}
+ * @return {boolean}
  */
-proto.muthu.other.ChannelMetadata.prototype.hasLanguage = function() {
+proto.ChannelMetadata.prototype.hasLanguage = function() {
   return jspb.Message.getField(this, 4) != null;
 };
 
@@ -334,27 +391,34 @@ proto.muthu.other.ChannelMetadata.prototype.hasLanguage = function() {
  * optional uint32 cover_photo = 5;
  * @return {number}
  */
-proto.muthu.other.ChannelMetadata.prototype.getCoverPhoto = function() {
+proto.ChannelMetadata.prototype.getCoverPhoto = function() {
   return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
 };
 
 
-/** @param {number} value */
-proto.muthu.other.ChannelMetadata.prototype.setCoverPhoto = function(value) {
-  jspb.Message.setField(this, 5, value);
+/**
+ * @param {number} value
+ * @return {!proto.ChannelMetadata} returns this
+ */
+proto.ChannelMetadata.prototype.setCoverPhoto = function(value) {
+  return jspb.Message.setField(this, 5, value);
 };
 
 
-proto.muthu.other.ChannelMetadata.prototype.clearCoverPhoto = function() {
-  jspb.Message.setField(this, 5, undefined);
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.ChannelMetadata} returns this
+ */
+proto.ChannelMetadata.prototype.clearCoverPhoto = function() {
+  return jspb.Message.setField(this, 5, undefined);
 };
 
 
 /**
  * Returns whether this field is set.
- * @return {!boolean}
+ * @return {boolean}
  */
-proto.muthu.other.ChannelMetadata.prototype.hasCoverPhoto = function() {
+proto.ChannelMetadata.prototype.hasCoverPhoto = function() {
   return jspb.Message.getField(this, 5) != null;
 };
 
@@ -363,27 +427,34 @@ proto.muthu.other.ChannelMetadata.prototype.hasCoverPhoto = function() {
  * optional uint32 avatar_photo = 6;
  * @return {number}
  */
-proto.muthu.other.ChannelMetadata.prototype.getAvatarPhoto = function() {
+proto.ChannelMetadata.prototype.getAvatarPhoto = function() {
   return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
 };
 
 
-/** @param {number} value */
-proto.muthu.other.ChannelMetadata.prototype.setAvatarPhoto = function(value) {
-  jspb.Message.setField(this, 6, value);
+/**
+ * @param {number} value
+ * @return {!proto.ChannelMetadata} returns this
+ */
+proto.ChannelMetadata.prototype.setAvatarPhoto = function(value) {
+  return jspb.Message.setField(this, 6, value);
 };
 
 
-proto.muthu.other.ChannelMetadata.prototype.clearAvatarPhoto = function() {
-  jspb.Message.setField(this, 6, undefined);
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.ChannelMetadata} returns this
+ */
+proto.ChannelMetadata.prototype.clearAvatarPhoto = function() {
+  return jspb.Message.setField(this, 6, undefined);
 };
 
 
 /**
  * Returns whether this field is set.
- * @return {!boolean}
+ * @return {boolean}
  */
-proto.muthu.other.ChannelMetadata.prototype.hasAvatarPhoto = function() {
+proto.ChannelMetadata.prototype.hasAvatarPhoto = function() {
   return jspb.Message.getField(this, 6) != null;
 };
 
@@ -392,79 +463,71 @@ proto.muthu.other.ChannelMetadata.prototype.hasAvatarPhoto = function() {
  * optional uint64 category = 7;
  * @return {number}
  */
-proto.muthu.other.ChannelMetadata.prototype.getCategory = function() {
+proto.ChannelMetadata.prototype.getCategory = function() {
   return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
 };
 
 
-/** @param {number} value */
-proto.muthu.other.ChannelMetadata.prototype.setCategory = function(value) {
-  jspb.Message.setField(this, 7, value);
+/**
+ * @param {number} value
+ * @return {!proto.ChannelMetadata} returns this
+ */
+proto.ChannelMetadata.prototype.setCategory = function(value) {
+  return jspb.Message.setField(this, 7, value);
 };
 
 
-proto.muthu.other.ChannelMetadata.prototype.clearCategory = function() {
-  jspb.Message.setField(this, 7, undefined);
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.ChannelMetadata} returns this
+ */
+proto.ChannelMetadata.prototype.clearCategory = function() {
+  return jspb.Message.setField(this, 7, undefined);
 };
 
 
 /**
  * Returns whether this field is set.
- * @return {!boolean}
+ * @return {boolean}
  */
-proto.muthu.other.ChannelMetadata.prototype.hasCategory = function() {
+proto.ChannelMetadata.prototype.hasCategory = function() {
   return jspb.Message.getField(this, 7) != null;
 };
 
 
 
-/**
- * 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.muthu.other.ChannelCategoryMetadata = function(opt_data) {
-  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
-};
-goog.inherits(proto.muthu.other.ChannelCategoryMetadata, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
-  proto.muthu.other.ChannelCategoryMetadata.displayName = 'proto.muthu.other.ChannelCategoryMetadata';
-}
 
 
 if (jspb.Message.GENERATE_TO_OBJECT) {
 /**
- * Creates an object representation of this proto suitable for use in Soy templates.
+ * 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:
- *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
- *     for transitional soy proto support: http://goto/soy-param-migration
+ *     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.muthu.other.ChannelCategoryMetadata.prototype.toObject = function(opt_includeInstance) {
-  return proto.muthu.other.ChannelCategoryMetadata.toObject(opt_includeInstance, this);
+proto.ChannelCategoryMetadata.prototype.toObject = function(opt_includeInstance) {
+  return proto.ChannelCategoryMetadata.toObject(opt_includeInstance, this);
 };
 
 
 /**
  * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
- *     instance for transitional soy proto support:
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
  *     http://goto/soy-param-migration
- * @param {!proto.muthu.other.ChannelCategoryMetadata} msg The msg instance to transform.
+ * @param {!proto.ChannelCategoryMetadata} msg The msg instance to transform.
  * @return {!Object}
  * @suppress {unusedLocalVariables} f is only used for nested messages
  */
-proto.muthu.other.ChannelCategoryMetadata.toObject = function(includeInstance, msg) {
+proto.ChannelCategoryMetadata.toObject = function(includeInstance, msg) {
   var f, obj = {
-    name: jspb.Message.getField(msg, 1)
+    name: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f
   };
 
   if (includeInstance) {
@@ -478,23 +541,23 @@ proto.muthu.other.ChannelCategoryMetadata.toObject = function(includeInstance, m
 /**
  * Deserializes binary data (in protobuf wire format).
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.muthu.other.ChannelCategoryMetadata}
+ * @return {!proto.ChannelCategoryMetadata}
  */
-proto.muthu.other.ChannelCategoryMetadata.deserializeBinary = function(bytes) {
+proto.ChannelCategoryMetadata.deserializeBinary = function(bytes) {
   var reader = new jspb.BinaryReader(bytes);
-  var msg = new proto.muthu.other.ChannelCategoryMetadata;
-  return proto.muthu.other.ChannelCategoryMetadata.deserializeBinaryFromReader(msg, reader);
+  var msg = new proto.ChannelCategoryMetadata;
+  return proto.ChannelCategoryMetadata.deserializeBinaryFromReader(msg, reader);
 };
 
 
 /**
  * Deserializes binary data (in protobuf wire format) from the
  * given reader into the given message object.
- * @param {!proto.muthu.other.ChannelCategoryMetadata} msg The message object to deserialize into.
+ * @param {!proto.ChannelCategoryMetadata} msg The message object to deserialize into.
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.muthu.other.ChannelCategoryMetadata}
+ * @return {!proto.ChannelCategoryMetadata}
  */
-proto.muthu.other.ChannelCategoryMetadata.deserializeBinaryFromReader = function(msg, reader) {
+proto.ChannelCategoryMetadata.deserializeBinaryFromReader = function(msg, reader) {
   while (reader.nextField()) {
     if (reader.isEndGroup()) {
       break;
@@ -518,9 +581,9 @@ proto.muthu.other.ChannelCategoryMetadata.deserializeBinaryFromReader = function
  * Serializes the message to binary data (in protobuf wire format).
  * @return {!Uint8Array}
  */
-proto.muthu.other.ChannelCategoryMetadata.prototype.serializeBinary = function() {
+proto.ChannelCategoryMetadata.prototype.serializeBinary = function() {
   var writer = new jspb.BinaryWriter();
-  proto.muthu.other.ChannelCategoryMetadata.serializeBinaryToWriter(this, writer);
+  proto.ChannelCategoryMetadata.serializeBinaryToWriter(this, writer);
   return writer.getResultBuffer();
 };
 
@@ -528,11 +591,11 @@ proto.muthu.other.ChannelCategoryMetadata.prototype.serializeBinary = function()
 /**
  * Serializes the given message to binary data (in protobuf wire
  * format), writing to the given BinaryWriter.
- * @param {!proto.muthu.other.ChannelCategoryMetadata} message
+ * @param {!proto.ChannelCategoryMetadata} message
  * @param {!jspb.BinaryWriter} writer
  * @suppress {unusedLocalVariables} f is only used for nested messages
  */
-proto.muthu.other.ChannelCategoryMetadata.serializeBinaryToWriter = function(message, writer) {
+proto.ChannelCategoryMetadata.serializeBinaryToWriter = function(message, writer) {
   var f = undefined;
   f = /** @type {string} */ (jspb.Message.getField(message, 1));
   if (f != null) {
@@ -548,29 +611,36 @@ proto.muthu.other.ChannelCategoryMetadata.serializeBinaryToWriter = function(mes
  * optional string name = 1;
  * @return {string}
  */
-proto.muthu.other.ChannelCategoryMetadata.prototype.getName = function() {
+proto.ChannelCategoryMetadata.prototype.getName = function() {
   return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
 };
 
 
-/** @param {string} value */
-proto.muthu.other.ChannelCategoryMetadata.prototype.setName = function(value) {
-  jspb.Message.setField(this, 1, value);
+/**
+ * @param {string} value
+ * @return {!proto.ChannelCategoryMetadata} returns this
+ */
+proto.ChannelCategoryMetadata.prototype.setName = function(value) {
+  return jspb.Message.setField(this, 1, value);
 };
 
 
-proto.muthu.other.ChannelCategoryMetadata.prototype.clearName = function() {
-  jspb.Message.setField(this, 1, undefined);
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.ChannelCategoryMetadata} returns this
+ */
+proto.ChannelCategoryMetadata.prototype.clearName = function() {
+  return jspb.Message.setField(this, 1, undefined);
 };
 
 
 /**
  * Returns whether this field is set.
- * @return {!boolean}
+ * @return {boolean}
  */
-proto.muthu.other.ChannelCategoryMetadata.prototype.hasName = function() {
+proto.ChannelCategoryMetadata.prototype.hasName = function() {
   return jspb.Message.getField(this, 1) != null;
 };
 
 
-goog.object.extend(exports, proto.muthu.other);
+goog.object.extend(exports, proto);

+ 89 - 37
content-metadata-protobuf/compiled/proto/Person_pb.js

@@ -1,18 +1,21 @@
+// source: proto/Person.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')();
 
 goog.exportSymbol('proto.PersonMetadata', null, global);
-
 /**
  * Generated by JsPbCodeGenerator.
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -28,19 +31,26 @@ proto.PersonMetadata = function(opt_data) {
 };
 goog.inherits(proto.PersonMetadata, jspb.Message);
 if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
   proto.PersonMetadata.displayName = 'proto.PersonMetadata';
 }
 
 
+
 if (jspb.Message.GENERATE_TO_OBJECT) {
 /**
- * Creates an object representation of this proto suitable for use in Soy templates.
+ * 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:
- *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
- *     for transitional soy proto support: http://goto/soy-param-migration
+ *     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.PersonMetadata.prototype.toObject = function(opt_includeInstance) {
@@ -50,8 +60,8 @@ proto.PersonMetadata.prototype.toObject = function(opt_includeInstance) {
 
 /**
  * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
- *     instance for transitional soy proto support:
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
  *     http://goto/soy-param-migration
  * @param {!proto.PersonMetadata} msg The msg instance to transform.
  * @return {!Object}
@@ -59,12 +69,12 @@ proto.PersonMetadata.prototype.toObject = function(opt_includeInstance) {
  */
 proto.PersonMetadata.toObject = function(includeInstance, msg) {
   var f, obj = {
-    firstName: jspb.Message.getField(msg, 1),
-    middleName: jspb.Message.getField(msg, 2),
-    lastName: jspb.Message.getField(msg, 3),
-    about: jspb.Message.getField(msg, 4),
-    coverPhoto: jspb.Message.getField(msg, 5),
-    avatarPhoto: jspb.Message.getField(msg, 6)
+    firstName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
+    middleName: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
+    lastName: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
+    about: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
+    coverPhoto: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f,
+    avatarPhoto: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f
   };
 
   if (includeInstance) {
@@ -208,20 +218,27 @@ proto.PersonMetadata.prototype.getFirstName = function() {
 };
 
 
-/** @param {string} value */
+/**
+ * @param {string} value
+ * @return {!proto.PersonMetadata} returns this
+ */
 proto.PersonMetadata.prototype.setFirstName = function(value) {
-  jspb.Message.setField(this, 1, value);
+  return jspb.Message.setField(this, 1, value);
 };
 
 
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.PersonMetadata} returns this
+ */
 proto.PersonMetadata.prototype.clearFirstName = function() {
-  jspb.Message.setField(this, 1, undefined);
+  return jspb.Message.setField(this, 1, undefined);
 };
 
 
 /**
  * Returns whether this field is set.
- * @return {!boolean}
+ * @return {boolean}
  */
 proto.PersonMetadata.prototype.hasFirstName = function() {
   return jspb.Message.getField(this, 1) != null;
@@ -237,20 +254,27 @@ proto.PersonMetadata.prototype.getMiddleName = function() {
 };
 
 
-/** @param {string} value */
+/**
+ * @param {string} value
+ * @return {!proto.PersonMetadata} returns this
+ */
 proto.PersonMetadata.prototype.setMiddleName = function(value) {
-  jspb.Message.setField(this, 2, value);
+  return jspb.Message.setField(this, 2, value);
 };
 
 
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.PersonMetadata} returns this
+ */
 proto.PersonMetadata.prototype.clearMiddleName = function() {
-  jspb.Message.setField(this, 2, undefined);
+  return jspb.Message.setField(this, 2, undefined);
 };
 
 
 /**
  * Returns whether this field is set.
- * @return {!boolean}
+ * @return {boolean}
  */
 proto.PersonMetadata.prototype.hasMiddleName = function() {
   return jspb.Message.getField(this, 2) != null;
@@ -266,20 +290,27 @@ proto.PersonMetadata.prototype.getLastName = function() {
 };
 
 
-/** @param {string} value */
+/**
+ * @param {string} value
+ * @return {!proto.PersonMetadata} returns this
+ */
 proto.PersonMetadata.prototype.setLastName = function(value) {
-  jspb.Message.setField(this, 3, value);
+  return jspb.Message.setField(this, 3, value);
 };
 
 
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.PersonMetadata} returns this
+ */
 proto.PersonMetadata.prototype.clearLastName = function() {
-  jspb.Message.setField(this, 3, undefined);
+  return jspb.Message.setField(this, 3, undefined);
 };
 
 
 /**
  * Returns whether this field is set.
- * @return {!boolean}
+ * @return {boolean}
  */
 proto.PersonMetadata.prototype.hasLastName = function() {
   return jspb.Message.getField(this, 3) != null;
@@ -295,20 +326,27 @@ proto.PersonMetadata.prototype.getAbout = function() {
 };
 
 
-/** @param {string} value */
+/**
+ * @param {string} value
+ * @return {!proto.PersonMetadata} returns this
+ */
 proto.PersonMetadata.prototype.setAbout = function(value) {
-  jspb.Message.setField(this, 4, value);
+  return jspb.Message.setField(this, 4, value);
 };
 
 
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.PersonMetadata} returns this
+ */
 proto.PersonMetadata.prototype.clearAbout = function() {
-  jspb.Message.setField(this, 4, undefined);
+  return jspb.Message.setField(this, 4, undefined);
 };
 
 
 /**
  * Returns whether this field is set.
- * @return {!boolean}
+ * @return {boolean}
  */
 proto.PersonMetadata.prototype.hasAbout = function() {
   return jspb.Message.getField(this, 4) != null;
@@ -324,20 +362,27 @@ proto.PersonMetadata.prototype.getCoverPhoto = function() {
 };
 
 
-/** @param {number} value */
+/**
+ * @param {number} value
+ * @return {!proto.PersonMetadata} returns this
+ */
 proto.PersonMetadata.prototype.setCoverPhoto = function(value) {
-  jspb.Message.setField(this, 5, value);
+  return jspb.Message.setField(this, 5, value);
 };
 
 
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.PersonMetadata} returns this
+ */
 proto.PersonMetadata.prototype.clearCoverPhoto = function() {
-  jspb.Message.setField(this, 5, undefined);
+  return jspb.Message.setField(this, 5, undefined);
 };
 
 
 /**
  * Returns whether this field is set.
- * @return {!boolean}
+ * @return {boolean}
  */
 proto.PersonMetadata.prototype.hasCoverPhoto = function() {
   return jspb.Message.getField(this, 5) != null;
@@ -353,20 +398,27 @@ proto.PersonMetadata.prototype.getAvatarPhoto = function() {
 };
 
 
-/** @param {number} value */
+/**
+ * @param {number} value
+ * @return {!proto.PersonMetadata} returns this
+ */
 proto.PersonMetadata.prototype.setAvatarPhoto = function(value) {
-  jspb.Message.setField(this, 6, value);
+  return jspb.Message.setField(this, 6, value);
 };
 
 
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.PersonMetadata} returns this
+ */
 proto.PersonMetadata.prototype.clearAvatarPhoto = function() {
-  jspb.Message.setField(this, 6, undefined);
+  return jspb.Message.setField(this, 6, undefined);
 };
 
 
 /**
  * Returns whether this field is set.
- * @return {!boolean}
+ * @return {boolean}
  */
 proto.PersonMetadata.prototype.hasAvatarPhoto = function() {
   return jspb.Message.getField(this, 6) != null;

+ 47 - 20
content-metadata-protobuf/compiled/proto/Playlist_pb.js

@@ -1,18 +1,21 @@
+// source: proto/Playlist.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')();
 
 goog.exportSymbol('proto.PlaylistMetadata', null, global);
-
 /**
  * Generated by JsPbCodeGenerator.
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -28,8 +31,13 @@ proto.PlaylistMetadata = function(opt_data) {
 };
 goog.inherits(proto.PlaylistMetadata, jspb.Message);
 if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
   proto.PlaylistMetadata.displayName = 'proto.PlaylistMetadata';
 }
+
 /**
  * List of repeated fields within this message type.
  * @private {!Array<number>}
@@ -41,13 +49,15 @@ proto.PlaylistMetadata.repeatedFields_ = [2];
 
 if (jspb.Message.GENERATE_TO_OBJECT) {
 /**
- * Creates an object representation of this proto suitable for use in Soy templates.
+ * 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:
- *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
- *     for transitional soy proto support: http://goto/soy-param-migration
+ *     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.PlaylistMetadata.prototype.toObject = function(opt_includeInstance) {
@@ -57,8 +67,8 @@ proto.PlaylistMetadata.prototype.toObject = function(opt_includeInstance) {
 
 /**
  * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
- *     instance for transitional soy proto support:
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
  *     http://goto/soy-param-migration
  * @param {!proto.PlaylistMetadata} msg The msg instance to transform.
  * @return {!Object}
@@ -66,8 +76,8 @@ proto.PlaylistMetadata.prototype.toObject = function(opt_includeInstance) {
  */
 proto.PlaylistMetadata.toObject = function(includeInstance, msg) {
   var f, obj = {
-    title: jspb.Message.getField(msg, 1),
-    videosList: jspb.Message.getRepeatedField(msg, 2)
+    title: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
+    videosList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
   };
 
   if (includeInstance) {
@@ -109,8 +119,10 @@ proto.PlaylistMetadata.deserializeBinaryFromReader = function(msg, reader) {
       msg.setTitle(value);
       break;
     case 2:
-      var value = /** @type {number} */ (reader.readUint64());
-      msg.addVideos(value);
+      var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedUint64() : [reader.readUint64()]);
+      for (var i = 0; i < values.length; i++) {
+        msg.addVideos(values[i]);
+      }
       break;
     default:
       reader.skipField();
@@ -167,20 +179,27 @@ proto.PlaylistMetadata.prototype.getTitle = function() {
 };
 
 
-/** @param {string} value */
+/**
+ * @param {string} value
+ * @return {!proto.PlaylistMetadata} returns this
+ */
 proto.PlaylistMetadata.prototype.setTitle = function(value) {
-  jspb.Message.setField(this, 1, value);
+  return jspb.Message.setField(this, 1, value);
 };
 
 
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.PlaylistMetadata} returns this
+ */
 proto.PlaylistMetadata.prototype.clearTitle = function() {
-  jspb.Message.setField(this, 1, undefined);
+  return jspb.Message.setField(this, 1, undefined);
 };
 
 
 /**
  * Returns whether this field is set.
- * @return {!boolean}
+ * @return {boolean}
  */
 proto.PlaylistMetadata.prototype.hasTitle = function() {
   return jspb.Message.getField(this, 1) != null;
@@ -196,23 +215,31 @@ proto.PlaylistMetadata.prototype.getVideosList = function() {
 };
 
 
-/** @param {!Array<number>} value */
+/**
+ * @param {!Array<number>} value
+ * @return {!proto.PlaylistMetadata} returns this
+ */
 proto.PlaylistMetadata.prototype.setVideosList = function(value) {
-  jspb.Message.setField(this, 2, value || []);
+  return jspb.Message.setField(this, 2, value || []);
 };
 
 
 /**
- * @param {!number} value
+ * @param {number} value
  * @param {number=} opt_index
+ * @return {!proto.PlaylistMetadata} returns this
  */
 proto.PlaylistMetadata.prototype.addVideos = function(value, opt_index) {
-  jspb.Message.addToRepeatedField(this, 2, value, opt_index);
+  return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
 };
 
 
+/**
+ * Clears the list making it empty but non-null.
+ * @return {!proto.PlaylistMetadata} returns this
+ */
 proto.PlaylistMetadata.prototype.clearVideosList = function() {
-  this.setVideosList([]);
+  return this.setVideosList([]);
 };
 
 

+ 154 - 76
content-metadata-protobuf/compiled/proto/Series_pb.js

@@ -1,11 +1,15 @@
+// source: proto/Series.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;
@@ -13,7 +17,6 @@ var global = Function('return this')();
 
 goog.exportSymbol('proto.SeasonMetadata', null, global);
 goog.exportSymbol('proto.SeriesMetadata', null, global);
-
 /**
  * Generated by JsPbCodeGenerator.
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -29,8 +32,34 @@ proto.SeriesMetadata = function(opt_data) {
 };
 goog.inherits(proto.SeriesMetadata, jspb.Message);
 if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
   proto.SeriesMetadata.displayName = 'proto.SeriesMetadata';
 }
+/**
+ * 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.SeasonMetadata = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, proto.SeasonMetadata.repeatedFields_, null);
+};
+goog.inherits(proto.SeasonMetadata, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.SeasonMetadata.displayName = 'proto.SeasonMetadata';
+}
+
 /**
  * List of repeated fields within this message type.
  * @private {!Array<number>}
@@ -42,13 +71,15 @@ proto.SeriesMetadata.repeatedFields_ = [4];
 
 if (jspb.Message.GENERATE_TO_OBJECT) {
 /**
- * Creates an object representation of this proto suitable for use in Soy templates.
+ * 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:
- *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
- *     for transitional soy proto support: http://goto/soy-param-migration
+ *     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.SeriesMetadata.prototype.toObject = function(opt_includeInstance) {
@@ -58,8 +89,8 @@ proto.SeriesMetadata.prototype.toObject = function(opt_includeInstance) {
 
 /**
  * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
- *     instance for transitional soy proto support:
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
  *     http://goto/soy-param-migration
  * @param {!proto.SeriesMetadata} msg The msg instance to transform.
  * @return {!Object}
@@ -67,10 +98,10 @@ proto.SeriesMetadata.prototype.toObject = function(opt_includeInstance) {
  */
 proto.SeriesMetadata.toObject = function(includeInstance, msg) {
   var f, obj = {
-    title: jspb.Message.getField(msg, 1),
-    description: jspb.Message.getField(msg, 2),
-    coverPhoto: jspb.Message.getField(msg, 3),
-    personsList: jspb.Message.getRepeatedField(msg, 4)
+    title: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
+    description: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
+    coverPhoto: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
+    personsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
   };
 
   if (includeInstance) {
@@ -120,8 +151,10 @@ proto.SeriesMetadata.deserializeBinaryFromReader = function(msg, reader) {
       msg.setCoverPhoto(value);
       break;
     case 4:
-      var value = /** @type {!Array<number>} */ (reader.readPackedUint64());
-      msg.setPersonsList(value);
+      var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedUint64() : [reader.readUint64()]);
+      for (var i = 0; i < values.length; i++) {
+        msg.addPersons(values[i]);
+      }
       break;
     default:
       reader.skipField();
@@ -192,20 +225,27 @@ proto.SeriesMetadata.prototype.getTitle = function() {
 };
 
 
-/** @param {string} value */
+/**
+ * @param {string} value
+ * @return {!proto.SeriesMetadata} returns this
+ */
 proto.SeriesMetadata.prototype.setTitle = function(value) {
-  jspb.Message.setField(this, 1, value);
+  return jspb.Message.setField(this, 1, value);
 };
 
 
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.SeriesMetadata} returns this
+ */
 proto.SeriesMetadata.prototype.clearTitle = function() {
-  jspb.Message.setField(this, 1, undefined);
+  return jspb.Message.setField(this, 1, undefined);
 };
 
 
 /**
  * Returns whether this field is set.
- * @return {!boolean}
+ * @return {boolean}
  */
 proto.SeriesMetadata.prototype.hasTitle = function() {
   return jspb.Message.getField(this, 1) != null;
@@ -221,20 +261,27 @@ proto.SeriesMetadata.prototype.getDescription = function() {
 };
 
 
-/** @param {string} value */
+/**
+ * @param {string} value
+ * @return {!proto.SeriesMetadata} returns this
+ */
 proto.SeriesMetadata.prototype.setDescription = function(value) {
-  jspb.Message.setField(this, 2, value);
+  return jspb.Message.setField(this, 2, value);
 };
 
 
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.SeriesMetadata} returns this
+ */
 proto.SeriesMetadata.prototype.clearDescription = function() {
-  jspb.Message.setField(this, 2, undefined);
+  return jspb.Message.setField(this, 2, undefined);
 };
 
 
 /**
  * Returns whether this field is set.
- * @return {!boolean}
+ * @return {boolean}
  */
 proto.SeriesMetadata.prototype.hasDescription = function() {
   return jspb.Message.getField(this, 2) != null;
@@ -250,20 +297,27 @@ proto.SeriesMetadata.prototype.getCoverPhoto = function() {
 };
 
 
-/** @param {number} value */
+/**
+ * @param {number} value
+ * @return {!proto.SeriesMetadata} returns this
+ */
 proto.SeriesMetadata.prototype.setCoverPhoto = function(value) {
-  jspb.Message.setField(this, 3, value);
+  return jspb.Message.setField(this, 3, value);
 };
 
 
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.SeriesMetadata} returns this
+ */
 proto.SeriesMetadata.prototype.clearCoverPhoto = function() {
-  jspb.Message.setField(this, 3, undefined);
+  return jspb.Message.setField(this, 3, undefined);
 };
 
 
 /**
  * Returns whether this field is set.
- * @return {!boolean}
+ * @return {boolean}
  */
 proto.SeriesMetadata.prototype.hasCoverPhoto = function() {
   return jspb.Message.getField(this, 3) != null;
@@ -279,44 +333,35 @@ proto.SeriesMetadata.prototype.getPersonsList = function() {
 };
 
 
-/** @param {!Array<number>} value */
+/**
+ * @param {!Array<number>} value
+ * @return {!proto.SeriesMetadata} returns this
+ */
 proto.SeriesMetadata.prototype.setPersonsList = function(value) {
-  jspb.Message.setField(this, 4, value || []);
+  return jspb.Message.setField(this, 4, value || []);
 };
 
 
 /**
- * @param {!number} value
+ * @param {number} value
  * @param {number=} opt_index
+ * @return {!proto.SeriesMetadata} returns this
  */
 proto.SeriesMetadata.prototype.addPersons = function(value, opt_index) {
-  jspb.Message.addToRepeatedField(this, 4, value, opt_index);
+  return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
 };
 
 
+/**
+ * Clears the list making it empty but non-null.
+ * @return {!proto.SeriesMetadata} returns this
+ */
 proto.SeriesMetadata.prototype.clearPersonsList = function() {
-  this.setPersonsList([]);
+  return this.setPersonsList([]);
 };
 
 
 
-/**
- * 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.SeasonMetadata = function(opt_data) {
-  jspb.Message.initialize(this, opt_data, 0, -1, proto.SeasonMetadata.repeatedFields_, null);
-};
-goog.inherits(proto.SeasonMetadata, jspb.Message);
-if (goog.DEBUG && !COMPILED) {
-  proto.SeasonMetadata.displayName = 'proto.SeasonMetadata';
-}
 /**
  * List of repeated fields within this message type.
  * @private {!Array<number>}
@@ -328,13 +373,15 @@ proto.SeasonMetadata.repeatedFields_ = [4];
 
 if (jspb.Message.GENERATE_TO_OBJECT) {
 /**
- * Creates an object representation of this proto suitable for use in Soy templates.
+ * 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:
- *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
- *     for transitional soy proto support: http://goto/soy-param-migration
+ *     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.SeasonMetadata.prototype.toObject = function(opt_includeInstance) {
@@ -344,8 +391,8 @@ proto.SeasonMetadata.prototype.toObject = function(opt_includeInstance) {
 
 /**
  * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
- *     instance for transitional soy proto support:
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
  *     http://goto/soy-param-migration
  * @param {!proto.SeasonMetadata} msg The msg instance to transform.
  * @return {!Object}
@@ -353,10 +400,10 @@ proto.SeasonMetadata.prototype.toObject = function(opt_includeInstance) {
  */
 proto.SeasonMetadata.toObject = function(includeInstance, msg) {
   var f, obj = {
-    title: jspb.Message.getField(msg, 1),
-    description: jspb.Message.getField(msg, 2),
-    coverPhoto: jspb.Message.getField(msg, 3),
-    personsList: jspb.Message.getRepeatedField(msg, 4)
+    title: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
+    description: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
+    coverPhoto: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
+    personsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
   };
 
   if (includeInstance) {
@@ -406,8 +453,10 @@ proto.SeasonMetadata.deserializeBinaryFromReader = function(msg, reader) {
       msg.setCoverPhoto(value);
       break;
     case 4:
-      var value = /** @type {!Array<number>} */ (reader.readPackedUint64());
-      msg.setPersonsList(value);
+      var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedUint64() : [reader.readUint64()]);
+      for (var i = 0; i < values.length; i++) {
+        msg.addPersons(values[i]);
+      }
       break;
     default:
       reader.skipField();
@@ -478,20 +527,27 @@ proto.SeasonMetadata.prototype.getTitle = function() {
 };
 
 
-/** @param {string} value */
+/**
+ * @param {string} value
+ * @return {!proto.SeasonMetadata} returns this
+ */
 proto.SeasonMetadata.prototype.setTitle = function(value) {
-  jspb.Message.setField(this, 1, value);
+  return jspb.Message.setField(this, 1, value);
 };
 
 
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.SeasonMetadata} returns this
+ */
 proto.SeasonMetadata.prototype.clearTitle = function() {
-  jspb.Message.setField(this, 1, undefined);
+  return jspb.Message.setField(this, 1, undefined);
 };
 
 
 /**
  * Returns whether this field is set.
- * @return {!boolean}
+ * @return {boolean}
  */
 proto.SeasonMetadata.prototype.hasTitle = function() {
   return jspb.Message.getField(this, 1) != null;
@@ -507,20 +563,27 @@ proto.SeasonMetadata.prototype.getDescription = function() {
 };
 
 
-/** @param {string} value */
+/**
+ * @param {string} value
+ * @return {!proto.SeasonMetadata} returns this
+ */
 proto.SeasonMetadata.prototype.setDescription = function(value) {
-  jspb.Message.setField(this, 2, value);
+  return jspb.Message.setField(this, 2, value);
 };
 
 
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.SeasonMetadata} returns this
+ */
 proto.SeasonMetadata.prototype.clearDescription = function() {
-  jspb.Message.setField(this, 2, undefined);
+  return jspb.Message.setField(this, 2, undefined);
 };
 
 
 /**
  * Returns whether this field is set.
- * @return {!boolean}
+ * @return {boolean}
  */
 proto.SeasonMetadata.prototype.hasDescription = function() {
   return jspb.Message.getField(this, 2) != null;
@@ -536,20 +599,27 @@ proto.SeasonMetadata.prototype.getCoverPhoto = function() {
 };
 
 
-/** @param {number} value */
+/**
+ * @param {number} value
+ * @return {!proto.SeasonMetadata} returns this
+ */
 proto.SeasonMetadata.prototype.setCoverPhoto = function(value) {
-  jspb.Message.setField(this, 3, value);
+  return jspb.Message.setField(this, 3, value);
 };
 
 
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.SeasonMetadata} returns this
+ */
 proto.SeasonMetadata.prototype.clearCoverPhoto = function() {
-  jspb.Message.setField(this, 3, undefined);
+  return jspb.Message.setField(this, 3, undefined);
 };
 
 
 /**
  * Returns whether this field is set.
- * @return {!boolean}
+ * @return {boolean}
  */
 proto.SeasonMetadata.prototype.hasCoverPhoto = function() {
   return jspb.Message.getField(this, 3) != null;
@@ -565,23 +635,31 @@ proto.SeasonMetadata.prototype.getPersonsList = function() {
 };
 
 
-/** @param {!Array<number>} value */
+/**
+ * @param {!Array<number>} value
+ * @return {!proto.SeasonMetadata} returns this
+ */
 proto.SeasonMetadata.prototype.setPersonsList = function(value) {
-  jspb.Message.setField(this, 4, value || []);
+  return jspb.Message.setField(this, 4, value || []);
 };
 
 
 /**
- * @param {!number} value
+ * @param {number} value
  * @param {number=} opt_index
+ * @return {!proto.SeasonMetadata} returns this
  */
 proto.SeasonMetadata.prototype.addPersons = function(value, opt_index) {
-  jspb.Message.addToRepeatedField(this, 4, value, opt_index);
+  return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
 };
 
 
+/**
+ * Clears the list making it empty but non-null.
+ * @return {!proto.SeasonMetadata} returns this
+ */
 proto.SeasonMetadata.prototype.clearPersonsList = function() {
-  this.setPersonsList([]);
+  return this.setPersonsList([]);
 };
 
 

File diff suppressed because it is too large
+ 360 - 178
content-metadata-protobuf/compiled/proto/Video_pb.js


+ 0 - 2
content-metadata-protobuf/proto/Channel.proto

@@ -1,7 +1,5 @@
 syntax = "proto2";
 
-package muthu.other;
-
 message ChannelMetadata {
     // Channel Title
     optional string title = 1;

Some files were not shown because too many files changed in this diff