From 440e7ba009ca2d6f18db2765aa9f79fb693d5c7b Mon Sep 17 00:00:00 2001 From: Richard Park Date: Sat, 11 May 2019 14:11:33 +0900 Subject: [PATCH] new gen --- pkg/api/v1/cdp-service.pb.go | 82 ++++++++++++-------- pkg/api/v1/cdp-service_pb.d.ts | 8 ++ pkg/api/v1/cdp-service_pb.js | 134 +++++++++++++++++++++++---------- 3 files changed, 151 insertions(+), 73 deletions(-) diff --git a/pkg/api/v1/cdp-service.pb.go b/pkg/api/v1/cdp-service.pb.go index 228a8c4..faea49d 100644 --- a/pkg/api/v1/cdp-service.pb.go +++ b/pkg/api/v1/cdp-service.pb.go @@ -84,10 +84,11 @@ func (TransitionType) EnumDescriptor() ([]byte, []int) { } type NavigateRequest struct { - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - Referrer string `protobuf:"bytes,2,opt,name=referrer,proto3" json:"referrer,omitempty"` - TransitionType TransitionType `protobuf:"varint,3,opt,name=transitionType,proto3,enum=v1.TransitionType" json:"transitionType,omitempty"` - FrameId string `protobuf:"bytes,4,opt,name=frameId,proto3" json:"frameId,omitempty"` + Api string `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + Referrer string `protobuf:"bytes,3,opt,name=referrer,proto3" json:"referrer,omitempty"` + TransitionType TransitionType `protobuf:"varint,4,opt,name=transitionType,proto3,enum=v1.TransitionType" json:"transitionType,omitempty"` + FrameId string `protobuf:"bytes,5,opt,name=frameId,proto3" json:"frameId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -118,6 +119,13 @@ func (m *NavigateRequest) XXX_DiscardUnknown() { var xxx_messageInfo_NavigateRequest proto.InternalMessageInfo +func (m *NavigateRequest) GetApi() string { + if m != nil { + return m.Api + } + return "" +} + func (m *NavigateRequest) GetUrl() string { if m != nil { return m.Url @@ -147,9 +155,10 @@ func (m *NavigateRequest) GetFrameId() string { } type NavigateReply struct { - FrameId string `protobuf:"bytes,1,opt,name=frameId,proto3" json:"frameId,omitempty"` - LoaderId string `protobuf:"bytes,2,opt,name=loaderId,proto3" json:"loaderId,omitempty"` - ErrorText string `protobuf:"bytes,3,opt,name=errorText,proto3" json:"errorText,omitempty"` + Api string `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"` + FrameId string `protobuf:"bytes,2,opt,name=frameId,proto3" json:"frameId,omitempty"` + LoaderId string `protobuf:"bytes,3,opt,name=loaderId,proto3" json:"loaderId,omitempty"` + ErrorText string `protobuf:"bytes,4,opt,name=errorText,proto3" json:"errorText,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -180,6 +189,13 @@ func (m *NavigateReply) XXX_DiscardUnknown() { var xxx_messageInfo_NavigateReply proto.InternalMessageInfo +func (m *NavigateReply) GetApi() string { + if m != nil { + return m.Api + } + return "" +} + func (m *NavigateReply) GetFrameId() string { if m != nil { return m.FrameId @@ -210,32 +226,32 @@ func init() { func init() { proto.RegisterFile("cdp-service.proto", fileDescriptor_2d5fb18e228de6bf) } var fileDescriptor_2d5fb18e228de6bf = []byte{ - // 389 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x92, 0xc1, 0x6e, 0xd3, 0x40, - 0x10, 0x86, 0x71, 0x92, 0x26, 0xf1, 0x84, 0x24, 0x9b, 0xa9, 0x90, 0xac, 0x08, 0x89, 0xaa, 0xa7, - 0x0a, 0x89, 0x54, 0x0d, 0x37, 0x4e, 0x48, 0x70, 0xe9, 0x05, 0xa1, 0x90, 0x7b, 0xb4, 0xce, 0x8e, - 0x8d, 0xe5, 0xb5, 0x77, 0x19, 0xaf, 0x0d, 0x7e, 0x10, 0x9e, 0x8f, 0x57, 0x41, 0x76, 0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, 0x61, 0x21, 0x95, 0x62, 0x2a, 0x8a, 0x53, 0x28, 0x59, 0x8c, 0x70, - 0x03, 0x4b, 0x59, 0x3a, 0x73, 0x0a, 0x8d, 0x49, 0x33, 0xc9, 0xa9, 0x18, 0x5f, 0xac, 0xa2, 0x0c, - 0x5b, 0x30, 0x31, 0xc1, 0x6b, 0x58, 0x67, 0x32, 0x2f, 0xa5, 0xee, 0xcd, 0x2b, 0x5c, 0x82, 0x1f, - 0x53, 0x4e, 0x2c, 0x1d, 0x29, 0x31, 0xbd, 0x94, 0x39, 0x63, 0x35, 0x55, 0xa4, 0xc5, 0xac, 0x39, - 0x2d, 0x32, 0x9c, 0x35, 0x45, 0x59, 0xe2, 0xc4, 0x1c, 0x01, 0xa6, 0x4c, 0xcd, 0x95, 0x84, 0x8f, - 0x0b, 0x98, 0xa5, 0x54, 0xff, 0x34, 0xac, 0x04, 0xe0, 0x2b, 0xd8, 0xfc, 0x13, 0xa7, 0xbe, 0xe7, - 0xa2, 0x21, 0x37, 0xee, 0x3b, 0xb1, 0x78, 0xb9, 0xff, 0x08, 0xf0, 0xe9, 0xf3, 0xd7, 0x6f, 0x4f, - 0x7b, 0x81, 0x7b, 0x98, 0x77, 0x8f, 0x8a, 0xd7, 0xcd, 0x78, 0x9e, 0x4d, 0x7e, 0xbb, 0x19, 0x9a, - 0x56, 0xd7, 0xe1, 0xb4, 0xdd, 0x93, 0xf7, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x60, 0xab, 0x50, - 0x6c, 0x61, 0x02, 0x00, 0x00, + // 400 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0xcf, 0x6e, 0xd3, 0x40, + 0x10, 0xc6, 0x71, 0xfe, 0x7b, 0x42, 0x92, 0xcd, 0x54, 0x48, 0x56, 0x84, 0x44, 0xd5, 0x53, 0x85, + 0x44, 0xaa, 0x86, 0x1b, 0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, 0x29, 0xe3, 0x6b, 0x88, 0x89, + 0xd9, 0xf0, 0x86, 0x7e, 0xb9, 0xc6, 0x34, 0x5e, 0x5f, 0xc0, 0xdb, 0x3f, 0x11, 0x4c, 0xdb, 0xce, + 0x38, 0x82, 0x9e, 0xce, 0x8a, 0x83, 0x78, 0x81, 0x31, 0xf4, 0x5d, 0x6d, 0x49, 0x89, 0x08, 0x67, + 0x30, 0x96, 0x4a, 0x31, 0x95, 0xe5, 0x36, 0x95, 0x2c, 0x3a, 0x38, 0x87, 0x89, 0xf4, 0xce, 0x6c, + 0x53, 0x63, 0x0e, 0xb9, 0xe4, 0x83, 0xe8, 0x9e, 0x51, 0xe9, 0xd3, 0x46, 0x4c, 0xf4, 0xf0, 0x0a, + 0x66, 0xb9, 0x2c, 0xbc, 0xd4, 0x17, 0xd8, 0xc7, 0x09, 0xc4, 0x7b, 0x2a, 0x88, 0xa5, 0x23, 0x25, + 0x06, 0xe7, 0x9a, 0x33, 0x56, 0x53, 0x45, 0x5a, 0x0c, 0xc3, 0xd3, 0x76, 0x86, 0xf3, 0x50, 0xca, + 0x33, 0x27, 0x46, 0x08, 0x30, 0x60, 0x0a, 0xaf, 0x24, 0x62, 0x1c, 0xc3, 0xf0, 0x40, 0xf5, 0x4f, + 0xc3, 0x4a, 0x00, 0xbe, 0x82, 0xf9, 0xbf, 0xb0, 0xbd, 0xcc, 0x1c, 0x07, 0x73, 0xe3, 0xbe, 0x13, + 0x8b, 0x97, 0xab, 0x8f, 0x00, 0x9f, 0x3e, 0x7f, 0xfd, 0x76, 0xdc, 0x1d, 0x5c, 0xc1, 0xe8, 0xf4, + 0x99, 0xf1, 0x2a, 0xfc, 0xb0, 0x27, 0xdb, 0xb1, 0x98, 0xb7, 0xa1, 0xd5, 0x75, 0x3a, 0x68, 0x76, + 0xe9, 0xfd, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x59, 0x7c, 0x41, 0xdf, 0x85, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/pkg/api/v1/cdp-service_pb.d.ts b/pkg/api/v1/cdp-service_pb.d.ts index 81667b5..bf9edc2 100644 --- a/pkg/api/v1/cdp-service_pb.d.ts +++ b/pkg/api/v1/cdp-service_pb.d.ts @@ -7,6 +7,9 @@ import * as jspb from "google-protobuf"; import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb"; export class NavigateRequest extends jspb.Message { + getApi(): string; + setApi(value: string): void; + getUrl(): string; setUrl(value: string): void; @@ -32,6 +35,7 @@ export class NavigateRequest extends jspb.Message { export namespace NavigateRequest { export type AsObject = { + api: string, url: string, referrer: string, transitiontype: TransitionType, @@ -40,6 +44,9 @@ export namespace NavigateRequest { } export class NavigateReply extends jspb.Message { + getApi(): string; + setApi(value: string): void; + getFrameid(): string; setFrameid(value: string): void; @@ -62,6 +69,7 @@ export class NavigateReply extends jspb.Message { export namespace NavigateReply { export type AsObject = { + api: string, frameid: string, loaderid: string, errortext: string, diff --git a/pkg/api/v1/cdp-service_pb.js b/pkg/api/v1/cdp-service_pb.js index c590b46..3febc56 100644 --- a/pkg/api/v1/cdp-service_pb.js +++ b/pkg/api/v1/cdp-service_pb.js @@ -88,10 +88,11 @@ proto.v1.NavigateRequest.prototype.toObject = function(opt_includeInstance) { */ proto.v1.NavigateRequest.toObject = function(includeInstance, msg) { var f, obj = { - url: jspb.Message.getFieldWithDefault(msg, 1, ""), - referrer: jspb.Message.getFieldWithDefault(msg, 2, ""), - transitiontype: jspb.Message.getFieldWithDefault(msg, 3, 0), - frameid: jspb.Message.getFieldWithDefault(msg, 4, "") + api: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, ""), + referrer: jspb.Message.getFieldWithDefault(msg, 3, ""), + transitiontype: jspb.Message.getFieldWithDefault(msg, 4, 0), + frameid: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -130,17 +131,21 @@ proto.v1.NavigateRequest.deserializeBinaryFromReader = function(msg, reader) { switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); - msg.setUrl(value); + msg.setApi(value); break; case 2: var value = /** @type {string} */ (reader.readString()); - msg.setReferrer(value); + msg.setUrl(value); break; case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setReferrer(value); + break; + case 4: var value = /** @type {!proto.v1.TransitionType} */ (reader.readEnum()); msg.setTransitiontype(value); break; - case 4: + case 5: var value = /** @type {string} */ (reader.readString()); msg.setFrameid(value); break; @@ -173,31 +178,38 @@ proto.v1.NavigateRequest.prototype.serializeBinary = function() { */ proto.v1.NavigateRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getUrl(); + f = message.getApi(); if (f.length > 0) { writer.writeString( 1, f ); } - f = message.getReferrer(); + f = message.getUrl(); if (f.length > 0) { writer.writeString( 2, f ); } + f = message.getReferrer(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } f = message.getTransitiontype(); if (f !== 0.0) { writer.writeEnum( - 3, + 4, f ); } f = message.getFrameid(); if (f.length > 0) { writer.writeString( - 4, + 5, f ); } @@ -205,62 +217,77 @@ proto.v1.NavigateRequest.serializeBinaryToWriter = function(message, writer) { /** - * optional string url = 1; + * optional string api = 1; * @return {string} */ -proto.v1.NavigateRequest.prototype.getUrl = function() { +proto.v1.NavigateRequest.prototype.getApi = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** @param {string} value */ -proto.v1.NavigateRequest.prototype.setUrl = function(value) { +proto.v1.NavigateRequest.prototype.setApi = function(value) { jspb.Message.setProto3StringField(this, 1, value); }; /** - * optional string referrer = 2; + * optional string url = 2; * @return {string} */ -proto.v1.NavigateRequest.prototype.getReferrer = function() { +proto.v1.NavigateRequest.prototype.getUrl = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** @param {string} value */ -proto.v1.NavigateRequest.prototype.setReferrer = function(value) { +proto.v1.NavigateRequest.prototype.setUrl = function(value) { jspb.Message.setProto3StringField(this, 2, value); }; /** - * optional TransitionType transitionType = 3; + * optional string referrer = 3; + * @return {string} + */ +proto.v1.NavigateRequest.prototype.getReferrer = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** @param {string} value */ +proto.v1.NavigateRequest.prototype.setReferrer = function(value) { + jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional TransitionType transitionType = 4; * @return {!proto.v1.TransitionType} */ proto.v1.NavigateRequest.prototype.getTransitiontype = function() { - return /** @type {!proto.v1.TransitionType} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); + return /** @type {!proto.v1.TransitionType} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** @param {!proto.v1.TransitionType} value */ proto.v1.NavigateRequest.prototype.setTransitiontype = function(value) { - jspb.Message.setProto3EnumField(this, 3, value); + jspb.Message.setProto3EnumField(this, 4, value); }; /** - * optional string frameId = 4; + * optional string frameId = 5; * @return {string} */ proto.v1.NavigateRequest.prototype.getFrameid = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** @param {string} value */ proto.v1.NavigateRequest.prototype.setFrameid = function(value) { - jspb.Message.setProto3StringField(this, 4, value); + jspb.Message.setProto3StringField(this, 5, value); }; @@ -294,9 +321,10 @@ proto.v1.NavigateReply.prototype.toObject = function(opt_includeInstance) { */ proto.v1.NavigateReply.toObject = function(includeInstance, msg) { var f, obj = { - frameid: jspb.Message.getFieldWithDefault(msg, 1, ""), - loaderid: jspb.Message.getFieldWithDefault(msg, 2, ""), - errortext: jspb.Message.getFieldWithDefault(msg, 3, "") + api: jspb.Message.getFieldWithDefault(msg, 1, ""), + frameid: jspb.Message.getFieldWithDefault(msg, 2, ""), + loaderid: jspb.Message.getFieldWithDefault(msg, 3, ""), + errortext: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -335,13 +363,17 @@ proto.v1.NavigateReply.deserializeBinaryFromReader = function(msg, reader) { switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); - msg.setFrameid(value); + msg.setApi(value); break; case 2: var value = /** @type {string} */ (reader.readString()); - msg.setLoaderid(value); + msg.setFrameid(value); break; case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setLoaderid(value); + break; + case 4: var value = /** @type {string} */ (reader.readString()); msg.setErrortext(value); break; @@ -374,75 +406,97 @@ proto.v1.NavigateReply.prototype.serializeBinary = function() { */ proto.v1.NavigateReply.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getFrameid(); + f = message.getApi(); if (f.length > 0) { writer.writeString( 1, f ); } - f = message.getLoaderid(); + f = message.getFrameid(); if (f.length > 0) { writer.writeString( 2, f ); } - f = message.getErrortext(); + f = message.getLoaderid(); if (f.length > 0) { writer.writeString( 3, f ); } + f = message.getErrortext(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } }; /** - * optional string frameId = 1; + * optional string api = 1; * @return {string} */ -proto.v1.NavigateReply.prototype.getFrameid = function() { +proto.v1.NavigateReply.prototype.getApi = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** @param {string} value */ -proto.v1.NavigateReply.prototype.setFrameid = function(value) { +proto.v1.NavigateReply.prototype.setApi = function(value) { jspb.Message.setProto3StringField(this, 1, value); }; /** - * optional string loaderId = 2; + * optional string frameId = 2; * @return {string} */ -proto.v1.NavigateReply.prototype.getLoaderid = function() { +proto.v1.NavigateReply.prototype.getFrameid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** @param {string} value */ -proto.v1.NavigateReply.prototype.setLoaderid = function(value) { +proto.v1.NavigateReply.prototype.setFrameid = function(value) { jspb.Message.setProto3StringField(this, 2, value); }; /** - * optional string errorText = 3; + * optional string loaderId = 3; * @return {string} */ -proto.v1.NavigateReply.prototype.getErrortext = function() { +proto.v1.NavigateReply.prototype.getLoaderid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** @param {string} value */ -proto.v1.NavigateReply.prototype.setErrortext = function(value) { +proto.v1.NavigateReply.prototype.setLoaderid = function(value) { jspb.Message.setProto3StringField(this, 3, value); }; +/** + * optional string errorText = 4; + * @return {string} + */ +proto.v1.NavigateReply.prototype.getErrortext = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** @param {string} value */ +proto.v1.NavigateReply.prototype.setErrortext = function(value) { + jspb.Message.setProto3StringField(this, 4, value); +}; + + /** * @enum {number} */