1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159 |
- // source: proto/WorkingGroups.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.ApplicationMetadata', null, global);
- goog.exportSymbol('proto.OpeningMetadata', null, global);
- goog.exportSymbol('proto.OpeningMetadata.ApplicationFormQuestion', null, global);
- goog.exportSymbol('proto.OpeningMetadata.ApplicationFormQuestion.InputType', null, global);
- goog.exportSymbol('proto.WorkingGroupStatusMetadata', 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.OpeningMetadata = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, proto.OpeningMetadata.repeatedFields_, null);
- };
- goog.inherits(proto.OpeningMetadata, jspb.Message);
- if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.OpeningMetadata.displayName = 'proto.OpeningMetadata';
- }
- /**
- * 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.OpeningMetadata.ApplicationFormQuestion = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
- };
- goog.inherits(proto.OpeningMetadata.ApplicationFormQuestion, jspb.Message);
- if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.OpeningMetadata.ApplicationFormQuestion.displayName = 'proto.OpeningMetadata.ApplicationFormQuestion';
- }
- /**
- * 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.ApplicationMetadata = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, proto.ApplicationMetadata.repeatedFields_, null);
- };
- goog.inherits(proto.ApplicationMetadata, jspb.Message);
- if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.ApplicationMetadata.displayName = 'proto.ApplicationMetadata';
- }
- /**
- * 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.WorkingGroupStatusMetadata = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
- };
- goog.inherits(proto.WorkingGroupStatusMetadata, jspb.Message);
- if (goog.DEBUG && !COMPILED) {
- /**
- * @public
- * @override
- */
- proto.WorkingGroupStatusMetadata.displayName = 'proto.WorkingGroupStatusMetadata';
- }
- /**
- * List of repeated fields within this message type.
- * @private {!Array<number>}
- * @const
- */
- proto.OpeningMetadata.repeatedFields_ = [6];
- if (jspb.Message.GENERATE_TO_OBJECT) {
- /**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
- proto.OpeningMetadata.prototype.toObject = function(opt_includeInstance) {
- return proto.OpeningMetadata.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.OpeningMetadata} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
- proto.OpeningMetadata.toObject = function(includeInstance, msg) {
- var f, obj = {
- shortDescription: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
- description: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
- hiringLimit: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
- expectedDuration: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
- applicationDetails: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f,
- applicationFormQuestionsList: jspb.Message.toObjectList(msg.getApplicationFormQuestionsList(),
- proto.OpeningMetadata.ApplicationFormQuestion.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.OpeningMetadata}
- */
- proto.OpeningMetadata.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.OpeningMetadata;
- return proto.OpeningMetadata.deserializeBinaryFromReader(msg, reader);
- };
- /**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.OpeningMetadata} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.OpeningMetadata}
- */
- proto.OpeningMetadata.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.setShortDescription(value);
- break;
- case 2:
- var value = /** @type {string} */ (reader.readString());
- msg.setDescription(value);
- break;
- case 3:
- var value = /** @type {number} */ (reader.readUint32());
- msg.setHiringLimit(value);
- break;
- case 4:
- var value = /** @type {number} */ (reader.readUint32());
- msg.setExpectedDuration(value);
- break;
- case 5:
- var value = /** @type {string} */ (reader.readString());
- msg.setApplicationDetails(value);
- break;
- case 6:
- var value = new proto.OpeningMetadata.ApplicationFormQuestion;
- reader.readMessage(value,proto.OpeningMetadata.ApplicationFormQuestion.deserializeBinaryFromReader);
- msg.addApplicationFormQuestions(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
- };
- /**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
- proto.OpeningMetadata.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.OpeningMetadata.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
- };
- /**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.OpeningMetadata} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
- proto.OpeningMetadata.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 = /** @type {number} */ (jspb.Message.getField(message, 3));
- if (f != null) {
- writer.writeUint32(
- 3,
- f
- );
- }
- f = /** @type {number} */ (jspb.Message.getField(message, 4));
- if (f != null) {
- writer.writeUint32(
- 4,
- f
- );
- }
- f = /** @type {string} */ (jspb.Message.getField(message, 5));
- if (f != null) {
- writer.writeString(
- 5,
- f
- );
- }
- f = message.getApplicationFormQuestionsList();
- if (f.length > 0) {
- writer.writeRepeatedMessage(
- 6,
- f,
- proto.OpeningMetadata.ApplicationFormQuestion.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.OpeningMetadata.ApplicationFormQuestion.prototype.toObject = function(opt_includeInstance) {
- return proto.OpeningMetadata.ApplicationFormQuestion.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.OpeningMetadata.ApplicationFormQuestion} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
- proto.OpeningMetadata.ApplicationFormQuestion.toObject = function(includeInstance, msg) {
- var f, obj = {
- question: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
- type: (f = jspb.Message.getField(msg, 2)) == null ? undefined : 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.OpeningMetadata.ApplicationFormQuestion}
- */
- proto.OpeningMetadata.ApplicationFormQuestion.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.OpeningMetadata.ApplicationFormQuestion;
- return proto.OpeningMetadata.ApplicationFormQuestion.deserializeBinaryFromReader(msg, reader);
- };
- /**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.OpeningMetadata.ApplicationFormQuestion} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.OpeningMetadata.ApplicationFormQuestion}
- */
- proto.OpeningMetadata.ApplicationFormQuestion.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.setQuestion(value);
- break;
- case 2:
- var value = /** @type {!proto.OpeningMetadata.ApplicationFormQuestion.InputType} */ (reader.readEnum());
- msg.setType(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
- };
- /**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
- proto.OpeningMetadata.ApplicationFormQuestion.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.OpeningMetadata.ApplicationFormQuestion.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
- };
- /**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.OpeningMetadata.ApplicationFormQuestion} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
- proto.OpeningMetadata.ApplicationFormQuestion.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = /** @type {string} */ (jspb.Message.getField(message, 1));
- if (f != null) {
- writer.writeString(
- 1,
- f
- );
- }
- f = /** @type {!proto.OpeningMetadata.ApplicationFormQuestion.InputType} */ (jspb.Message.getField(message, 2));
- if (f != null) {
- writer.writeEnum(
- 2,
- f
- );
- }
- };
- /**
- * @enum {number}
- */
- proto.OpeningMetadata.ApplicationFormQuestion.InputType = {
- TEXT: 1,
- TEXTAREA: 2
- };
- /**
- * required string question = 1;
- * @return {string}
- */
- proto.OpeningMetadata.ApplicationFormQuestion.prototype.getQuestion = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
- };
- /**
- * @param {string} value
- * @return {!proto.OpeningMetadata.ApplicationFormQuestion} returns this
- */
- proto.OpeningMetadata.ApplicationFormQuestion.prototype.setQuestion = function(value) {
- return jspb.Message.setField(this, 1, value);
- };
- /**
- * Clears the field making it undefined.
- * @return {!proto.OpeningMetadata.ApplicationFormQuestion} returns this
- */
- proto.OpeningMetadata.ApplicationFormQuestion.prototype.clearQuestion = function() {
- return jspb.Message.setField(this, 1, undefined);
- };
- /**
- * Returns whether this field is set.
- * @return {boolean}
- */
- proto.OpeningMetadata.ApplicationFormQuestion.prototype.hasQuestion = function() {
- return jspb.Message.getField(this, 1) != null;
- };
- /**
- * required InputType type = 2;
- * @return {!proto.OpeningMetadata.ApplicationFormQuestion.InputType}
- */
- proto.OpeningMetadata.ApplicationFormQuestion.prototype.getType = function() {
- return /** @type {!proto.OpeningMetadata.ApplicationFormQuestion.InputType} */ (jspb.Message.getFieldWithDefault(this, 2, 1));
- };
- /**
- * @param {!proto.OpeningMetadata.ApplicationFormQuestion.InputType} value
- * @return {!proto.OpeningMetadata.ApplicationFormQuestion} returns this
- */
- proto.OpeningMetadata.ApplicationFormQuestion.prototype.setType = function(value) {
- return jspb.Message.setField(this, 2, value);
- };
- /**
- * Clears the field making it undefined.
- * @return {!proto.OpeningMetadata.ApplicationFormQuestion} returns this
- */
- proto.OpeningMetadata.ApplicationFormQuestion.prototype.clearType = function() {
- return jspb.Message.setField(this, 2, undefined);
- };
- /**
- * Returns whether this field is set.
- * @return {boolean}
- */
- proto.OpeningMetadata.ApplicationFormQuestion.prototype.hasType = function() {
- return jspb.Message.getField(this, 2) != null;
- };
- /**
- * required string short_description = 1;
- * @return {string}
- */
- proto.OpeningMetadata.prototype.getShortDescription = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
- };
- /**
- * @param {string} value
- * @return {!proto.OpeningMetadata} returns this
- */
- proto.OpeningMetadata.prototype.setShortDescription = function(value) {
- return jspb.Message.setField(this, 1, value);
- };
- /**
- * Clears the field making it undefined.
- * @return {!proto.OpeningMetadata} returns this
- */
- proto.OpeningMetadata.prototype.clearShortDescription = function() {
- return jspb.Message.setField(this, 1, undefined);
- };
- /**
- * Returns whether this field is set.
- * @return {boolean}
- */
- proto.OpeningMetadata.prototype.hasShortDescription = function() {
- return jspb.Message.getField(this, 1) != null;
- };
- /**
- * required string description = 2;
- * @return {string}
- */
- proto.OpeningMetadata.prototype.getDescription = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
- };
- /**
- * @param {string} value
- * @return {!proto.OpeningMetadata} returns this
- */
- proto.OpeningMetadata.prototype.setDescription = function(value) {
- return jspb.Message.setField(this, 2, value);
- };
- /**
- * Clears the field making it undefined.
- * @return {!proto.OpeningMetadata} returns this
- */
- proto.OpeningMetadata.prototype.clearDescription = function() {
- return jspb.Message.setField(this, 2, undefined);
- };
- /**
- * Returns whether this field is set.
- * @return {boolean}
- */
- proto.OpeningMetadata.prototype.hasDescription = function() {
- return jspb.Message.getField(this, 2) != null;
- };
- /**
- * required uint32 hiring_limit = 3;
- * @return {number}
- */
- proto.OpeningMetadata.prototype.getHiringLimit = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
- };
- /**
- * @param {number} value
- * @return {!proto.OpeningMetadata} returns this
- */
- proto.OpeningMetadata.prototype.setHiringLimit = function(value) {
- return jspb.Message.setField(this, 3, value);
- };
- /**
- * Clears the field making it undefined.
- * @return {!proto.OpeningMetadata} returns this
- */
- proto.OpeningMetadata.prototype.clearHiringLimit = function() {
- return jspb.Message.setField(this, 3, undefined);
- };
- /**
- * Returns whether this field is set.
- * @return {boolean}
- */
- proto.OpeningMetadata.prototype.hasHiringLimit = function() {
- return jspb.Message.getField(this, 3) != null;
- };
- /**
- * required uint32 expected_duration = 4;
- * @return {number}
- */
- proto.OpeningMetadata.prototype.getExpectedDuration = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
- };
- /**
- * @param {number} value
- * @return {!proto.OpeningMetadata} returns this
- */
- proto.OpeningMetadata.prototype.setExpectedDuration = function(value) {
- return jspb.Message.setField(this, 4, value);
- };
- /**
- * Clears the field making it undefined.
- * @return {!proto.OpeningMetadata} returns this
- */
- proto.OpeningMetadata.prototype.clearExpectedDuration = function() {
- return jspb.Message.setField(this, 4, undefined);
- };
- /**
- * Returns whether this field is set.
- * @return {boolean}
- */
- proto.OpeningMetadata.prototype.hasExpectedDuration = function() {
- return jspb.Message.getField(this, 4) != null;
- };
- /**
- * required string application_details = 5;
- * @return {string}
- */
- proto.OpeningMetadata.prototype.getApplicationDetails = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
- };
- /**
- * @param {string} value
- * @return {!proto.OpeningMetadata} returns this
- */
- proto.OpeningMetadata.prototype.setApplicationDetails = function(value) {
- return jspb.Message.setField(this, 5, value);
- };
- /**
- * Clears the field making it undefined.
- * @return {!proto.OpeningMetadata} returns this
- */
- proto.OpeningMetadata.prototype.clearApplicationDetails = function() {
- return jspb.Message.setField(this, 5, undefined);
- };
- /**
- * Returns whether this field is set.
- * @return {boolean}
- */
- proto.OpeningMetadata.prototype.hasApplicationDetails = function() {
- return jspb.Message.getField(this, 5) != null;
- };
- /**
- * repeated ApplicationFormQuestion application_form_questions = 6;
- * @return {!Array<!proto.OpeningMetadata.ApplicationFormQuestion>}
- */
- proto.OpeningMetadata.prototype.getApplicationFormQuestionsList = function() {
- return /** @type{!Array<!proto.OpeningMetadata.ApplicationFormQuestion>} */ (
- jspb.Message.getRepeatedWrapperField(this, proto.OpeningMetadata.ApplicationFormQuestion, 6));
- };
- /**
- * @param {!Array<!proto.OpeningMetadata.ApplicationFormQuestion>} value
- * @return {!proto.OpeningMetadata} returns this
- */
- proto.OpeningMetadata.prototype.setApplicationFormQuestionsList = function(value) {
- return jspb.Message.setRepeatedWrapperField(this, 6, value);
- };
- /**
- * @param {!proto.OpeningMetadata.ApplicationFormQuestion=} opt_value
- * @param {number=} opt_index
- * @return {!proto.OpeningMetadata.ApplicationFormQuestion}
- */
- proto.OpeningMetadata.prototype.addApplicationFormQuestions = function(opt_value, opt_index) {
- return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.OpeningMetadata.ApplicationFormQuestion, opt_index);
- };
- /**
- * Clears the list making it empty but non-null.
- * @return {!proto.OpeningMetadata} returns this
- */
- proto.OpeningMetadata.prototype.clearApplicationFormQuestionsList = function() {
- return this.setApplicationFormQuestionsList([]);
- };
- /**
- * List of repeated fields within this message type.
- * @private {!Array<number>}
- * @const
- */
- proto.ApplicationMetadata.repeatedFields_ = [1];
- if (jspb.Message.GENERATE_TO_OBJECT) {
- /**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
- */
- proto.ApplicationMetadata.prototype.toObject = function(opt_includeInstance) {
- return proto.ApplicationMetadata.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.ApplicationMetadata} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
- proto.ApplicationMetadata.toObject = function(includeInstance, msg) {
- var f, obj = {
- answersList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : 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.ApplicationMetadata}
- */
- proto.ApplicationMetadata.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.ApplicationMetadata;
- return proto.ApplicationMetadata.deserializeBinaryFromReader(msg, reader);
- };
- /**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.ApplicationMetadata} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.ApplicationMetadata}
- */
- proto.ApplicationMetadata.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.addAnswers(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
- };
- /**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
- proto.ApplicationMetadata.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.ApplicationMetadata.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
- };
- /**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.ApplicationMetadata} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
- proto.ApplicationMetadata.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getAnswersList();
- if (f.length > 0) {
- writer.writeRepeatedString(
- 1,
- f
- );
- }
- };
- /**
- * repeated string answers = 1;
- * @return {!Array<string>}
- */
- proto.ApplicationMetadata.prototype.getAnswersList = function() {
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
- };
- /**
- * @param {!Array<string>} value
- * @return {!proto.ApplicationMetadata} returns this
- */
- proto.ApplicationMetadata.prototype.setAnswersList = function(value) {
- return jspb.Message.setField(this, 1, value || []);
- };
- /**
- * @param {string} value
- * @param {number=} opt_index
- * @return {!proto.ApplicationMetadata} returns this
- */
- proto.ApplicationMetadata.prototype.addAnswers = function(value, opt_index) {
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
- };
- /**
- * Clears the list making it empty but non-null.
- * @return {!proto.ApplicationMetadata} returns this
- */
- proto.ApplicationMetadata.prototype.clearAnswersList = function() {
- return this.setAnswersList([]);
- };
- 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.WorkingGroupStatusMetadata.prototype.toObject = function(opt_includeInstance) {
- return proto.WorkingGroupStatusMetadata.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.WorkingGroupStatusMetadata} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
- proto.WorkingGroupStatusMetadata.toObject = function(includeInstance, msg) {
- var f, obj = {
- description: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
- about: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
- status: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
- statusMessage: (f = jspb.Message.getField(msg, 4)) == null ? undefined : 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.WorkingGroupStatusMetadata}
- */
- proto.WorkingGroupStatusMetadata.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.WorkingGroupStatusMetadata;
- return proto.WorkingGroupStatusMetadata.deserializeBinaryFromReader(msg, reader);
- };
- /**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.WorkingGroupStatusMetadata} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.WorkingGroupStatusMetadata}
- */
- proto.WorkingGroupStatusMetadata.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.setDescription(value);
- break;
- case 2:
- var value = /** @type {string} */ (reader.readString());
- msg.setAbout(value);
- break;
- case 3:
- var value = /** @type {string} */ (reader.readString());
- msg.setStatus(value);
- break;
- case 4:
- var value = /** @type {string} */ (reader.readString());
- msg.setStatusMessage(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
- };
- /**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
- */
- proto.WorkingGroupStatusMetadata.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.WorkingGroupStatusMetadata.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
- };
- /**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.WorkingGroupStatusMetadata} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
- */
- proto.WorkingGroupStatusMetadata.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 = /** @type {string} */ (jspb.Message.getField(message, 3));
- if (f != null) {
- writer.writeString(
- 3,
- f
- );
- }
- f = /** @type {string} */ (jspb.Message.getField(message, 4));
- if (f != null) {
- writer.writeString(
- 4,
- f
- );
- }
- };
- /**
- * optional string description = 1;
- * @return {string}
- */
- proto.WorkingGroupStatusMetadata.prototype.getDescription = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
- };
- /**
- * @param {string} value
- * @return {!proto.WorkingGroupStatusMetadata} returns this
- */
- proto.WorkingGroupStatusMetadata.prototype.setDescription = function(value) {
- return jspb.Message.setField(this, 1, value);
- };
- /**
- * Clears the field making it undefined.
- * @return {!proto.WorkingGroupStatusMetadata} returns this
- */
- proto.WorkingGroupStatusMetadata.prototype.clearDescription = function() {
- return jspb.Message.setField(this, 1, undefined);
- };
- /**
- * Returns whether this field is set.
- * @return {boolean}
- */
- proto.WorkingGroupStatusMetadata.prototype.hasDescription = function() {
- return jspb.Message.getField(this, 1) != null;
- };
- /**
- * optional string about = 2;
- * @return {string}
- */
- proto.WorkingGroupStatusMetadata.prototype.getAbout = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
- };
- /**
- * @param {string} value
- * @return {!proto.WorkingGroupStatusMetadata} returns this
- */
- proto.WorkingGroupStatusMetadata.prototype.setAbout = function(value) {
- return jspb.Message.setField(this, 2, value);
- };
- /**
- * Clears the field making it undefined.
- * @return {!proto.WorkingGroupStatusMetadata} returns this
- */
- proto.WorkingGroupStatusMetadata.prototype.clearAbout = function() {
- return jspb.Message.setField(this, 2, undefined);
- };
- /**
- * Returns whether this field is set.
- * @return {boolean}
- */
- proto.WorkingGroupStatusMetadata.prototype.hasAbout = function() {
- return jspb.Message.getField(this, 2) != null;
- };
- /**
- * optional string status = 3;
- * @return {string}
- */
- proto.WorkingGroupStatusMetadata.prototype.getStatus = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
- };
- /**
- * @param {string} value
- * @return {!proto.WorkingGroupStatusMetadata} returns this
- */
- proto.WorkingGroupStatusMetadata.prototype.setStatus = function(value) {
- return jspb.Message.setField(this, 3, value);
- };
- /**
- * Clears the field making it undefined.
- * @return {!proto.WorkingGroupStatusMetadata} returns this
- */
- proto.WorkingGroupStatusMetadata.prototype.clearStatus = function() {
- return jspb.Message.setField(this, 3, undefined);
- };
- /**
- * Returns whether this field is set.
- * @return {boolean}
- */
- proto.WorkingGroupStatusMetadata.prototype.hasStatus = function() {
- return jspb.Message.getField(this, 3) != null;
- };
- /**
- * optional string status_message = 4;
- * @return {string}
- */
- proto.WorkingGroupStatusMetadata.prototype.getStatusMessage = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
- };
- /**
- * @param {string} value
- * @return {!proto.WorkingGroupStatusMetadata} returns this
- */
- proto.WorkingGroupStatusMetadata.prototype.setStatusMessage = function(value) {
- return jspb.Message.setField(this, 4, value);
- };
- /**
- * Clears the field making it undefined.
- * @return {!proto.WorkingGroupStatusMetadata} returns this
- */
- proto.WorkingGroupStatusMetadata.prototype.clearStatusMessage = function() {
- return jspb.Message.setField(this, 4, undefined);
- };
- /**
- * Returns whether this field is set.
- * @return {boolean}
- */
- proto.WorkingGroupStatusMetadata.prototype.hasStatusMessage = function() {
- return jspb.Message.getField(this, 4) != null;
- };
- goog.object.extend(exports, proto);
|