package is changed

This commit is contained in:
병준 박 2019-05-12 16:11:53 +09:00
parent 8d4bf386c2
commit f53972e239
6 changed files with 113 additions and 113 deletions

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package oddscrawler.v1.cdp;
package cdp;
import "google/protobuf/timestamp.proto";

View File

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: cdp/cdp.service.proto
package oddscrawler_v1_cdp
package cdp
import (
context "context"
@ -87,7 +87,7 @@ type NavigateRequest struct {
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=oddscrawler.v1.cdp.TransitionType" json:"transitionType,omitempty"`
TransitionType TransitionType `protobuf:"varint,4,opt,name=transitionType,proto3,enum=cdp.TransitionType" json:"transitionType,omitempty"`
FrameID string `protobuf:"bytes,5,opt,name=frameID,proto3" json:"frameID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
@ -218,41 +218,41 @@ func (m *NavigateReply) GetErrorText() string {
}
func init() {
proto.RegisterEnum("oddscrawler.v1.cdp.TransitionType", TransitionType_name, TransitionType_value)
proto.RegisterType((*NavigateRequest)(nil), "oddscrawler.v1.cdp.NavigateRequest")
proto.RegisterType((*NavigateReply)(nil), "oddscrawler.v1.cdp.NavigateReply")
proto.RegisterEnum("cdp.TransitionType", TransitionType_name, TransitionType_value)
proto.RegisterType((*NavigateRequest)(nil), "cdp.NavigateRequest")
proto.RegisterType((*NavigateReply)(nil), "cdp.NavigateReply")
}
func init() { proto.RegisterFile("cdp/cdp.service.proto", fileDescriptor_46e2aae835bf0b06) }
var fileDescriptor_46e2aae835bf0b06 = []byte{
// 415 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00,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ab, 0xcf, 0x5f, 0x8e, 0xdd, 0xc2, 0x08, 0x46, 0xa7, 0x6b, 0xc6,
0x37, 0x4f, 0x3d, 0xe0, 0xa3, 0xf6, 0xcc, 0x5f, 0xff, 0x7f, 0xc8, 0xea, 0x2a, 0x1e, 0x34, 0xdd,
0x7b, 0xff, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x99, 0x19, 0x59, 0xea, 0xc9, 0x02, 0x00, 0x00,
// 402 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0xcf, 0x8e, 0xd3, 0x30,
0x10, 0xc6, 0x49, 0xff, 0x67, 0x4a, 0x5b, 0xef, 0x2c, 0x2b, 0x45, 0x15, 0x12, 0xab, 0x3d, 0xad,
0x38, 0xb4, 0xd2, 0xc2, 0x8d, 0x1b, 0xf4, 0xb2, 0x17, 0x84, 0x4a, 0xef, 0x95, 0x53, 0x4f, 0x4b,
0x54, 0x27, 0x36, 0x13, 0xbb, 0x90, 0x37, 0xe2, 0xad, 0x78, 0x15, 0xe4, 0x94, 0x36, 0xb4, 0xe2,
0x96, 0xef, 0x17, 0x7f, 0x93, 0x5f, 0x92, 0x81, 0xbb, 0x8d, 0xb2, 0xf3, 0x8d, 0xb2, 0xb3, 0x92,
0xf8, 0x90, 0x6d, 0x68, 0x66, 0xd9, 0x38, 0x83, 0xed, 0x8d, 0xb2, 0xd3, 0x37, 0x3b, 0x63, 0x76,
0x9a, 0xe6, 0x35, 0x4a, 0xfd, 0x76, 0xee, 0xb2, 0x9c, 0x4a, 0x27, 0x73, 0x7b, 0x3c, 0xf5, 0xf0,
0x2b, 0x82, 0xc9, 0x67, 0x79, 0xc8, 0x76, 0xd2, 0xd1, 0x92, 0xbe, 0x7b, 0x2a, 0x1d, 0x0a, 0x68,
0x4b, 0x9b, 0x25, 0xd1, 0x7d, 0xf4, 0x18, 0x2f, 0xc3, 0x65, 0x20, 0x9e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, 0x73, 0x62, 0x80, 0x00, 0x3d, 0xa6, 0xf0, 0x4a, 0x22, 0xc6, 0x21, 0xf4, 0xf7,
0x54, 0xfd, 0x30, 0xac, 0x04, 0xe0, 0x1d, 0xdc, 0xfc, 0x0d, 0xeb, 0x66, 0xe6, 0x30, 0x98, 0x1b,
0xf7, 0x8d, 0x58, 0xbc, 0x7c, 0xfa, 0x08, 0xf0, 0x69, 0xf1, 0xe5, 0xeb, 0x71, 0x7b, 0xf0, 0x3d,
0x0c, 0x4e, 0x9f, 0x19, 0x5f, 0xd5, 0x7f, 0xec, 0x6a, 0x3f, 0xa6, 0x78, 0x45, 0xad, 0xae, 0xd2,
0x5e, 0xbd, 0x4e, 0xef, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, 0x6f, 0x2a, 0x90, 0x3c, 0x8d, 0x02,
0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -280,7 +280,7 @@ func NewCDPServiceClient(cc *grpc.ClientConn) CDPServiceClient {
func (c *cDPServiceClient) Navigate(ctx context.Context, in *NavigateRequest, opts ...grpc.CallOption) (*NavigateReply, error) {
out := new(NavigateReply)
err := c.cc.Invoke(ctx, "/oddscrawler.v1.cdp.CDPService/Navigate", in, out, opts...)
err := c.cc.Invoke(ctx, "/cdp.CDPService/Navigate", in, out, opts...)
if err != nil {
return nil, err
}
@ -314,7 +314,7 @@ func _CDPService_Navigate_Handler(srv interface{}, ctx context.Context, dec func
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/oddscrawler.v1.cdp.CDPService/Navigate",
FullMethod: "/cdp.CDPService/Navigate",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CDPServiceServer).Navigate(ctx, req.(*NavigateRequest))
@ -323,7 +323,7 @@ func _CDPService_Navigate_Handler(srv interface{}, ctx context.Context, dec func
}
var _CDPService_serviceDesc = grpc.ServiceDesc{
ServiceName: "oddscrawler.v1.cdp.CDPService",
ServiceName: "cdp.CDPService",
HandlerType: (*CDPServiceServer)(nil),
Methods: []grpc.MethodDesc{
{

View File

@ -1,4 +1,4 @@
// package: oddscrawler.v1.cdp
// package: cdp
// file: cdp/cdp.service.proto
/* tslint:disable */
@ -12,7 +12,7 @@ interface ICDPServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceI
}
interface ICDPServiceService_INavigate extends grpc.MethodDefinition<cdp_cdp_service_pb.NavigateRequest, cdp_cdp_service_pb.NavigateReply> {
path: string; // "/oddscrawler.v1.cdp.CDPService/Navigate"
path: string; // "/cdp.CDPService/Navigate"
requestStream: boolean; // false
responseStream: boolean; // false
requestSerialize: grpc.serialize<cdp_cdp_service_pb.NavigateRequest>;

View File

@ -5,40 +5,40 @@ var grpc = require('grpc');
var cdp_cdp_service_pb = require('../cdp/cdp.service_pb.js');
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
function serialize_oddscrawler_v1_cdp_NavigateReply(arg) {
function serialize_cdp_NavigateReply(arg) {
if (!(arg instanceof cdp_cdp_service_pb.NavigateReply)) {
throw new Error('Expected argument of type oddscrawler.v1.cdp.NavigateReply');
throw new Error('Expected argument of type cdp.NavigateReply');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_oddscrawler_v1_cdp_NavigateReply(buffer_arg) {
function deserialize_cdp_NavigateReply(buffer_arg) {
return cdp_cdp_service_pb.NavigateReply.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_oddscrawler_v1_cdp_NavigateRequest(arg) {
function serialize_cdp_NavigateRequest(arg) {
if (!(arg instanceof cdp_cdp_service_pb.NavigateRequest)) {
throw new Error('Expected argument of type oddscrawler.v1.cdp.NavigateRequest');
throw new Error('Expected argument of type cdp.NavigateRequest');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_oddscrawler_v1_cdp_NavigateRequest(buffer_arg) {
function deserialize_cdp_NavigateRequest(buffer_arg) {
return cdp_cdp_service_pb.NavigateRequest.deserializeBinary(new Uint8Array(buffer_arg));
}
var CDPServiceService = exports.CDPServiceService = {
navigate: {
path: '/oddscrawler.v1.cdp.CDPService/Navigate',
path: '/cdp.CDPService/Navigate',
requestStream: false,
responseStream: false,
requestType: cdp_cdp_service_pb.NavigateRequest,
responseType: cdp_cdp_service_pb.NavigateReply,
requestSerialize: serialize_oddscrawler_v1_cdp_NavigateRequest,
requestDeserialize: deserialize_oddscrawler_v1_cdp_NavigateRequest,
responseSerialize: serialize_oddscrawler_v1_cdp_NavigateReply,
responseDeserialize: deserialize_oddscrawler_v1_cdp_NavigateReply,
requestSerialize: serialize_cdp_NavigateRequest,
requestDeserialize: deserialize_cdp_NavigateRequest,
responseSerialize: serialize_cdp_NavigateReply,
responseDeserialize: deserialize_cdp_NavigateReply,
},
};

View File

@ -1,4 +1,4 @@
// package: oddscrawler.v1.cdp
// package: cdp
// file: cdp/cdp.service.proto
/* tslint:disable */

View File

@ -13,9 +13,9 @@ var global = Function('return this')();
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
goog.object.extend(proto, google_protobuf_timestamp_pb);
goog.exportSymbol('proto.oddscrawler.v1.cdp.NavigateReply', null, global);
goog.exportSymbol('proto.oddscrawler.v1.cdp.NavigateRequest', null, global);
goog.exportSymbol('proto.oddscrawler.v1.cdp.TransitionType', null, global);
goog.exportSymbol('proto.cdp.NavigateReply', null, global);
goog.exportSymbol('proto.cdp.NavigateRequest', null, global);
goog.exportSymbol('proto.cdp.TransitionType', null, global);
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
@ -26,16 +26,16 @@ goog.exportSymbol('proto.oddscrawler.v1.cdp.TransitionType', null, global);
* @extends {jspb.Message}
* @constructor
*/
proto.oddscrawler.v1.cdp.NavigateRequest = function(opt_data) {
proto.cdp.NavigateRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.oddscrawler.v1.cdp.NavigateRequest, jspb.Message);
goog.inherits(proto.cdp.NavigateRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oddscrawler.v1.cdp.NavigateRequest.displayName = 'proto.oddscrawler.v1.cdp.NavigateRequest';
proto.cdp.NavigateRequest.displayName = 'proto.cdp.NavigateRequest';
}
/**
* Generated by JsPbCodeGenerator.
@ -47,16 +47,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
proto.oddscrawler.v1.cdp.NavigateReply = function(opt_data) {
proto.cdp.NavigateReply = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.oddscrawler.v1.cdp.NavigateReply, jspb.Message);
goog.inherits(proto.cdp.NavigateReply, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oddscrawler.v1.cdp.NavigateReply.displayName = 'proto.oddscrawler.v1.cdp.NavigateReply';
proto.cdp.NavigateReply.displayName = 'proto.cdp.NavigateReply';
}
@ -72,8 +72,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* for transitional soy proto support: http://goto/soy-param-migration
* @return {!Object}
*/
proto.oddscrawler.v1.cdp.NavigateRequest.prototype.toObject = function(opt_includeInstance) {
return proto.oddscrawler.v1.cdp.NavigateRequest.toObject(opt_includeInstance, this);
proto.cdp.NavigateRequest.prototype.toObject = function(opt_includeInstance) {
return proto.cdp.NavigateRequest.toObject(opt_includeInstance, this);
};
@ -82,11 +82,11 @@ proto.oddscrawler.v1.cdp.NavigateRequest.prototype.toObject = function(opt_inclu
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.oddscrawler.v1.cdp.NavigateRequest} msg The msg instance to transform.
* @param {!proto.cdp.NavigateRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.oddscrawler.v1.cdp.NavigateRequest.toObject = function(includeInstance, msg) {
proto.cdp.NavigateRequest.toObject = function(includeInstance, msg) {
var f, obj = {
api: jspb.Message.getFieldWithDefault(msg, 1, ""),
url: jspb.Message.getFieldWithDefault(msg, 2, ""),
@ -106,23 +106,23 @@ proto.oddscrawler.v1.cdp.NavigateRequest.toObject = function(includeInstance, ms
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.oddscrawler.v1.cdp.NavigateRequest}
* @return {!proto.cdp.NavigateRequest}
*/
proto.oddscrawler.v1.cdp.NavigateRequest.deserializeBinary = function(bytes) {
proto.cdp.NavigateRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.oddscrawler.v1.cdp.NavigateRequest;
return proto.oddscrawler.v1.cdp.NavigateRequest.deserializeBinaryFromReader(msg, reader);
var msg = new proto.cdp.NavigateRequest;
return proto.cdp.NavigateRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.oddscrawler.v1.cdp.NavigateRequest} msg The message object to deserialize into.
* @param {!proto.cdp.NavigateRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.oddscrawler.v1.cdp.NavigateRequest}
* @return {!proto.cdp.NavigateRequest}
*/
proto.oddscrawler.v1.cdp.NavigateRequest.deserializeBinaryFromReader = function(msg, reader) {
proto.cdp.NavigateRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@ -142,7 +142,7 @@ proto.oddscrawler.v1.cdp.NavigateRequest.deserializeBinaryFromReader = function(
msg.setReferrer(value);
break;
case 4:
var value = /** @type {!proto.oddscrawler.v1.cdp.TransitionType} */ (reader.readEnum());
var value = /** @type {!proto.cdp.TransitionType} */ (reader.readEnum());
msg.setTransitiontype(value);
break;
case 5:
@ -162,9 +162,9 @@ proto.oddscrawler.v1.cdp.NavigateRequest.deserializeBinaryFromReader = function(
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.oddscrawler.v1.cdp.NavigateRequest.prototype.serializeBinary = function() {
proto.cdp.NavigateRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.oddscrawler.v1.cdp.NavigateRequest.serializeBinaryToWriter(this, writer);
proto.cdp.NavigateRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@ -172,11 +172,11 @@ proto.oddscrawler.v1.cdp.NavigateRequest.prototype.serializeBinary = function()
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.oddscrawler.v1.cdp.NavigateRequest} message
* @param {!proto.cdp.NavigateRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.oddscrawler.v1.cdp.NavigateRequest.serializeBinaryToWriter = function(message, writer) {
proto.cdp.NavigateRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getApi();
if (f.length > 0) {
@ -220,13 +220,13 @@ proto.oddscrawler.v1.cdp.NavigateRequest.serializeBinaryToWriter = function(mess
* optional string api = 1;
* @return {string}
*/
proto.oddscrawler.v1.cdp.NavigateRequest.prototype.getApi = function() {
proto.cdp.NavigateRequest.prototype.getApi = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/** @param {string} value */
proto.oddscrawler.v1.cdp.NavigateRequest.prototype.setApi = function(value) {
proto.cdp.NavigateRequest.prototype.setApi = function(value) {
jspb.Message.setProto3StringField(this, 1, value);
};
@ -235,13 +235,13 @@ proto.oddscrawler.v1.cdp.NavigateRequest.prototype.setApi = function(value) {
* optional string url = 2;
* @return {string}
*/
proto.oddscrawler.v1.cdp.NavigateRequest.prototype.getUrl = function() {
proto.cdp.NavigateRequest.prototype.getUrl = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/** @param {string} value */
proto.oddscrawler.v1.cdp.NavigateRequest.prototype.setUrl = function(value) {
proto.cdp.NavigateRequest.prototype.setUrl = function(value) {
jspb.Message.setProto3StringField(this, 2, value);
};
@ -250,28 +250,28 @@ proto.oddscrawler.v1.cdp.NavigateRequest.prototype.setUrl = function(value) {
* optional string referrer = 3;
* @return {string}
*/
proto.oddscrawler.v1.cdp.NavigateRequest.prototype.getReferrer = function() {
proto.cdp.NavigateRequest.prototype.getReferrer = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/** @param {string} value */
proto.oddscrawler.v1.cdp.NavigateRequest.prototype.setReferrer = function(value) {
proto.cdp.NavigateRequest.prototype.setReferrer = function(value) {
jspb.Message.setProto3StringField(this, 3, value);
};
/**
* optional TransitionType transitionType = 4;
* @return {!proto.oddscrawler.v1.cdp.TransitionType}
* @return {!proto.cdp.TransitionType}
*/
proto.oddscrawler.v1.cdp.NavigateRequest.prototype.getTransitiontype = function() {
return /** @type {!proto.oddscrawler.v1.cdp.TransitionType} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
proto.cdp.NavigateRequest.prototype.getTransitiontype = function() {
return /** @type {!proto.cdp.TransitionType} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};
/** @param {!proto.oddscrawler.v1.cdp.TransitionType} value */
proto.oddscrawler.v1.cdp.NavigateRequest.prototype.setTransitiontype = function(value) {
/** @param {!proto.cdp.TransitionType} value */
proto.cdp.NavigateRequest.prototype.setTransitiontype = function(value) {
jspb.Message.setProto3EnumField(this, 4, value);
};
@ -280,13 +280,13 @@ proto.oddscrawler.v1.cdp.NavigateRequest.prototype.setTransitiontype = function(
* optional string frameID = 5;
* @return {string}
*/
proto.oddscrawler.v1.cdp.NavigateRequest.prototype.getFrameid = function() {
proto.cdp.NavigateRequest.prototype.getFrameid = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};
/** @param {string} value */
proto.oddscrawler.v1.cdp.NavigateRequest.prototype.setFrameid = function(value) {
proto.cdp.NavigateRequest.prototype.setFrameid = function(value) {
jspb.Message.setProto3StringField(this, 5, value);
};
@ -305,8 +305,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* for transitional soy proto support: http://goto/soy-param-migration
* @return {!Object}
*/
proto.oddscrawler.v1.cdp.NavigateReply.prototype.toObject = function(opt_includeInstance) {
return proto.oddscrawler.v1.cdp.NavigateReply.toObject(opt_includeInstance, this);
proto.cdp.NavigateReply.prototype.toObject = function(opt_includeInstance) {
return proto.cdp.NavigateReply.toObject(opt_includeInstance, this);
};
@ -315,11 +315,11 @@ proto.oddscrawler.v1.cdp.NavigateReply.prototype.toObject = function(opt_include
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.oddscrawler.v1.cdp.NavigateReply} msg The msg instance to transform.
* @param {!proto.cdp.NavigateReply} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.oddscrawler.v1.cdp.NavigateReply.toObject = function(includeInstance, msg) {
proto.cdp.NavigateReply.toObject = function(includeInstance, msg) {
var f, obj = {
api: jspb.Message.getFieldWithDefault(msg, 1, ""),
frameid: jspb.Message.getFieldWithDefault(msg, 2, ""),
@ -338,23 +338,23 @@ proto.oddscrawler.v1.cdp.NavigateReply.toObject = function(includeInstance, msg)
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.oddscrawler.v1.cdp.NavigateReply}
* @return {!proto.cdp.NavigateReply}
*/
proto.oddscrawler.v1.cdp.NavigateReply.deserializeBinary = function(bytes) {
proto.cdp.NavigateReply.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.oddscrawler.v1.cdp.NavigateReply;
return proto.oddscrawler.v1.cdp.NavigateReply.deserializeBinaryFromReader(msg, reader);
var msg = new proto.cdp.NavigateReply;
return proto.cdp.NavigateReply.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.oddscrawler.v1.cdp.NavigateReply} msg The message object to deserialize into.
* @param {!proto.cdp.NavigateReply} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.oddscrawler.v1.cdp.NavigateReply}
* @return {!proto.cdp.NavigateReply}
*/
proto.oddscrawler.v1.cdp.NavigateReply.deserializeBinaryFromReader = function(msg, reader) {
proto.cdp.NavigateReply.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@ -390,9 +390,9 @@ proto.oddscrawler.v1.cdp.NavigateReply.deserializeBinaryFromReader = function(ms
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.oddscrawler.v1.cdp.NavigateReply.prototype.serializeBinary = function() {
proto.cdp.NavigateReply.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.oddscrawler.v1.cdp.NavigateReply.serializeBinaryToWriter(this, writer);
proto.cdp.NavigateReply.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@ -400,11 +400,11 @@ proto.oddscrawler.v1.cdp.NavigateReply.prototype.serializeBinary = function() {
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.oddscrawler.v1.cdp.NavigateReply} message
* @param {!proto.cdp.NavigateReply} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.oddscrawler.v1.cdp.NavigateReply.serializeBinaryToWriter = function(message, writer) {
proto.cdp.NavigateReply.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getApi();
if (f.length > 0) {
@ -441,13 +441,13 @@ proto.oddscrawler.v1.cdp.NavigateReply.serializeBinaryToWriter = function(messag
* optional string api = 1;
* @return {string}
*/
proto.oddscrawler.v1.cdp.NavigateReply.prototype.getApi = function() {
proto.cdp.NavigateReply.prototype.getApi = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/** @param {string} value */
proto.oddscrawler.v1.cdp.NavigateReply.prototype.setApi = function(value) {
proto.cdp.NavigateReply.prototype.setApi = function(value) {
jspb.Message.setProto3StringField(this, 1, value);
};
@ -456,13 +456,13 @@ proto.oddscrawler.v1.cdp.NavigateReply.prototype.setApi = function(value) {
* optional string frameID = 2;
* @return {string}
*/
proto.oddscrawler.v1.cdp.NavigateReply.prototype.getFrameid = function() {
proto.cdp.NavigateReply.prototype.getFrameid = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/** @param {string} value */
proto.oddscrawler.v1.cdp.NavigateReply.prototype.setFrameid = function(value) {
proto.cdp.NavigateReply.prototype.setFrameid = function(value) {
jspb.Message.setProto3StringField(this, 2, value);
};
@ -471,13 +471,13 @@ proto.oddscrawler.v1.cdp.NavigateReply.prototype.setFrameid = function(value) {
* optional string loaderID = 3;
* @return {string}
*/
proto.oddscrawler.v1.cdp.NavigateReply.prototype.getLoaderid = function() {
proto.cdp.NavigateReply.prototype.getLoaderid = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/** @param {string} value */
proto.oddscrawler.v1.cdp.NavigateReply.prototype.setLoaderid = function(value) {
proto.cdp.NavigateReply.prototype.setLoaderid = function(value) {
jspb.Message.setProto3StringField(this, 3, value);
};
@ -486,13 +486,13 @@ proto.oddscrawler.v1.cdp.NavigateReply.prototype.setLoaderid = function(value) {
* optional string errorText = 4;
* @return {string}
*/
proto.oddscrawler.v1.cdp.NavigateReply.prototype.getErrortext = function() {
proto.cdp.NavigateReply.prototype.getErrortext = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/** @param {string} value */
proto.oddscrawler.v1.cdp.NavigateReply.prototype.setErrortext = function(value) {
proto.cdp.NavigateReply.prototype.setErrortext = function(value) {
jspb.Message.setProto3StringField(this, 4, value);
};
@ -500,7 +500,7 @@ proto.oddscrawler.v1.cdp.NavigateReply.prototype.setErrortext = function(value)
/**
* @enum {number}
*/
proto.oddscrawler.v1.cdp.TransitionType = {
proto.cdp.TransitionType = {
LINK: 0,
TYPED: 1,
ADDRESS_BAR: 2,
@ -516,4 +516,4 @@ proto.oddscrawler.v1.cdp.TransitionType = {
OTHER: 12
};
goog.object.extend(exports, proto.oddscrawler.v1.cdp);
goog.object.extend(exports, proto.cdp);