build/components_concat.js
function(values, var_args) {
                    ProtoBuf.Builder.Message.call(this);

                    // Create virtual oneof properties
                    for (var i=0, k=oneofs.length; i<k; ++i)
                        this[oneofs[i].name] = null;
                    // Create fields and set default values
                    for (i=0, k=fields.length; i<k; ++i) {
                        var field = fields[i];
                        this[field.name] =
                            field.repeated ? [] :
                            (field.map ? new ProtoBuf.Map(field) : null);
                        if ((field.required || T.syntax === 'proto3') &&
                            field.defaultValue !== null)
                            this[field.name] = field.defaultValue;
                    }

                    if (arguments.length > 0) {
                        var value;
                        // Set field values from a values object
                        if (arguments.length === 1 && values !== null && typeof values === 'object' &&
                            /* not _another_ Message */ (typeof values.encode !== 'function' || values instanceof Message) &&
                            /* not a repeated field */ !Array.isArray(values) &&
                            /* not a Map */ !(values instanceof ProtoBuf.Map) &&
                            /* not a ByteBuffer */ !ByteBuffer.isByteBuffer(values) &&
                            /* not an ArrayBuffer */ !(values instanceof ArrayBuffer) &&
                            /* not a Long */ !(ProtoBuf.Long && values instanceof ProtoBuf.Long)) {
                            this.$set(values);
                        } else // Set field values from arguments, in declaration order
                            for (i=0, k=arguments.length; i<k; ++i)
                                if (typeof (value = arguments[i]) !== 'undefined')
                                    this.$set(fields[i].name, value); // May throw
                    }
                }
function(values, var_args) {
                    ProtoBuf.Builder.Message.call(this);

                    // Create virtual oneof properties
                    for (var i=0, k=oneofs.length; i<k; ++i)
                        this[oneofs[i].name] = null;
                    // Create fields and set default values
                    for (i=0, k=fields.length; i<k; ++i) {
                        var field = fields[i];
                        this[field.name] =
                            field.repeated ? [] :
                            (field.map ? new ProtoBuf.Map(field) : null);
                        if ((field.required || T.syntax === 'proto3') &&
                            field.defaultValue !== null)
                            this[field.name] = field.defaultValue;
                    }

                    if (arguments.length > 0) {
                        var value;
                        // Set field values from a values object
                        if (arguments.length === 1 && values !== null && typeof values === 'object' &&
                            /* not _another_ Message */ (typeof values.encode !== 'function' || values instanceof Message) &&
                            /* not a repeated field */ !Array.isArray(values) &&
                            /* not a Map */ !(values instanceof ProtoBuf.Map) &&
                            /* not a ByteBuffer */ !ByteBuffer.isByteBuffer(values) &&
                            /* not an ArrayBuffer */ !(values instanceof ArrayBuffer) &&
                            /* not a Long */ !(ProtoBuf.Long && values instanceof ProtoBuf.Long)) {
                            this.$set(values);
                        } else // Set field values from arguments, in declaration order
                            for (i=0, k=arguments.length; i<k; ++i)
                                if (typeof (value = arguments[i]) !== 'undefined')
                                    this.$set(fields[i].name, value); // May throw
                    }
                }
function ( values , var_args ) { ProtoBuf . Builder . Message . call ( this ) ; // Create virtual oneof properties
 for ( var i = 0 , k = oneofs . length ; i < k ; ++ i ) this [ oneofs [ i ] . name ] = null ; // Create fields and set default values
 for ( i = 0 , k = fields . length ; i < k ; ++ i ) { var field = fields [ i ] ; this [ field . name ] = field . repeated ? [ ] : ( field . map ? new ProtoBuf . Map ( field ) : null ) ; if ( ( field . required || T . syntax === 'proto3' ) && field . defaultValue !== null ) this [ field . name ] = field . defaultValue ; } if ( arguments . length > 0 ) { var value ; // Set field values from a values object
 if ( arguments . length === 1 && values !== null && typeof values === 'object' && /* not _another_ Message */ ( typeof values . encode !== 'function' || values instanceof Message ) && /* not a repeated field */ ! Array . isArray ( values ) && /* not a Map */ ! ( values instanceof ProtoBuf . Map ) && /* not a ByteBuffer */ ! ByteBuffer . isByteBuffer ( values ) && /* not an ArrayBuffer */ ! ( values instanceof ArrayBuffer ) && /* not a Long */ ! ( ProtoBuf . Long && values instanceof ProtoBuf . Long ) ) { this . $set ( values ) ; } else // Set field values from arguments, in declaration order
 for ( i = 0 , k = arguments . length ; i < k ; ++ i ) if ( typeof ( value = arguments [ i ] ) !== 'undefined' ) this . $set ( fields [ i ] . name , value ) ; // May throw
 } }
Constructs a new runtime Message.
@name ProtoBuf.Builder.Message
@class Barebone of all runtime messages.
@param {!Object.<string,*>|string} values Preset values
@param {...string} var_args
@constructor
@throws {Error} If the message cannot be created
Constructs a new runtime Message .