@viamrobotics/rpc
Advanced tools
Comparing version 0.2.5 to 0.2.6
{ | ||
"name": "@viamrobotics/rpc", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -304,2 +304,8 @@ import { grpc } from '@improbable-eng/grpc-web'; | ||
pResolve(result); | ||
// In some cases the `OptionalWebRTCConfig` method seems to be unimplemented, even | ||
// when building `viam-server` from latest. Falling back to a default config seems | ||
// harmless in these cases, and allows connection to continue. | ||
} else if (status === grpc.Code.Unimplemented) { | ||
pResolve(new WebRTCConfig()); | ||
return; | ||
} else { | ||
@@ -361,3 +367,5 @@ pReject(statusMessage); | ||
} else { | ||
webrtcOpts = opts.webrtcOptions; | ||
// RSDK-8715: We deep copy here to avoid mutating the input config's `rtcConfig.iceServers` | ||
// list. | ||
webrtcOpts = JSON.parse(JSON.stringify(opts.webrtcOptions)); | ||
if (!webrtcOpts.rtcConfig) { | ||
@@ -479,2 +487,20 @@ webrtcOpts.rtcConfig = { iceServers: additionalIceServers }; | ||
let iceComplete = false; | ||
let numCallUpdates = 0; | ||
let maxCallUpdateDuration = 0; | ||
let totalCallUpdateDuration = 0; | ||
pc.addEventListener('iceconnectionstatechange', () => { | ||
if (pc.iceConnectionState !== 'completed' || numCallUpdates === 0) { | ||
return; | ||
} | ||
let averageCallUpdateDuration = | ||
totalCallUpdateDuration / numCallUpdates; | ||
console.groupCollapsed('Caller update statistics'); | ||
console.table({ | ||
num_updates: numCallUpdates, | ||
average_duration: `${averageCallUpdateDuration}ms`, | ||
max_duration: `${maxCallUpdateDuration}ms`, | ||
}); | ||
console.groupEnd(); | ||
}); | ||
pc.addEventListener( | ||
@@ -494,2 +520,5 @@ 'icecandidate', | ||
if (event.candidate.candidate !== null) { | ||
console.debug(`gathered local ICE ${event.candidate.candidate}`); | ||
} | ||
const iProto = iceCandidateToProto(event.candidate); | ||
@@ -499,2 +528,3 @@ const callRequestUpdate = new CallUpdateRequest(); | ||
callRequestUpdate.setCandidate(iProto); | ||
const callUpdateStart = new Date(); | ||
grpc.unary(SignalingService.CallUpdate, { | ||
@@ -510,2 +540,10 @@ request: callRequestUpdate, | ||
if (status === grpc.Code.OK && message) { | ||
numCallUpdates++; | ||
let callUpdateEnd = new Date(); | ||
let callUpdateDuration = | ||
callUpdateEnd.getTime() - callUpdateStart.getTime(); | ||
if (callUpdateDuration > maxCallUpdateDuration) { | ||
maxCallUpdateDuration = callUpdateDuration; | ||
} | ||
totalCallUpdateDuration += callUpdateDuration; | ||
return; | ||
@@ -569,2 +607,5 @@ } | ||
const cand = iceCandidateFromProto(update.getCandidate()!); | ||
if (cand.candidate !== null) { | ||
console.debug(`received remote ICE ${cand.candidate}`); | ||
} | ||
try { | ||
@@ -571,0 +612,0 @@ await pc.addIceCandidate(cand); |
@@ -16,3 +16,9 @@ // source: google/api/annotations.proto | ||
var goog = jspb; | ||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); | ||
var global = | ||
(typeof globalThis !== 'undefined' && globalThis) || | ||
(typeof window !== 'undefined' && window) || | ||
(typeof global !== 'undefined' && global) || | ||
(typeof self !== 'undefined' && self) || | ||
(function () { return this; }).call(null) || | ||
Function('return this')(); | ||
@@ -19,0 +25,0 @@ var google_api_http_pb = require('../../google/api/http_pb.js'); |
@@ -256,2 +256,7 @@ // package: google.api | ||
hasExperimentalFeatures(): boolean; | ||
clearExperimentalFeatures(): void; | ||
getExperimentalFeatures(): PythonSettings.ExperimentalFeatures | undefined; | ||
setExperimentalFeatures(value?: PythonSettings.ExperimentalFeatures): void; | ||
serializeBinary(): Uint8Array; | ||
@@ -270,3 +275,24 @@ toObject(includeInstance?: boolean): PythonSettings.AsObject; | ||
common?: CommonLanguageSettings.AsObject, | ||
experimentalFeatures?: PythonSettings.ExperimentalFeatures.AsObject, | ||
} | ||
export class ExperimentalFeatures extends jspb.Message { | ||
getRestAsyncIoEnabled(): boolean; | ||
setRestAsyncIoEnabled(value: boolean): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): ExperimentalFeatures.AsObject; | ||
static toObject(includeInstance: boolean, msg: ExperimentalFeatures): ExperimentalFeatures.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: ExperimentalFeatures, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): ExperimentalFeatures; | ||
static deserializeBinaryFromReader(message: ExperimentalFeatures, reader: jspb.BinaryReader): ExperimentalFeatures; | ||
} | ||
export namespace ExperimentalFeatures { | ||
export type AsObject = { | ||
restAsyncIoEnabled: boolean, | ||
} | ||
} | ||
} | ||
@@ -273,0 +299,0 @@ |
@@ -16,3 +16,9 @@ // source: google/api/expr/v1alpha1/eval.proto | ||
var goog = jspb; | ||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); | ||
var global = | ||
(typeof globalThis !== 'undefined' && globalThis) || | ||
(typeof window !== 'undefined' && window) || | ||
(typeof global !== 'undefined' && global) || | ||
(typeof self !== 'undefined' && self) || | ||
(function () { return this; }).call(null) || | ||
Function('return this')(); | ||
@@ -173,5 +179,5 @@ var google_api_expr_v1alpha1_value_pb = require('../../../../google/api/expr/v1alpha1/value_pb.js'); | ||
var f, obj = { | ||
valuesList: jspb.Message.toObjectList(msg.getValuesList(), | ||
valuesList: jspb.Message.toObjectList(msg.getValuesList(), | ||
proto.google.api.expr.v1alpha1.ExprValue.toObject, includeInstance), | ||
resultsList: jspb.Message.toObjectList(msg.getResultsList(), | ||
resultsList: jspb.Message.toObjectList(msg.getResultsList(), | ||
proto.google.api.expr.v1alpha1.EvalState.Result.toObject, includeInstance) | ||
@@ -304,4 +310,4 @@ }; | ||
var f, obj = { | ||
expr: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
value: jspb.Message.getFieldWithDefault(msg, 2, 0) | ||
expr: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
value: jspb.Message.getFieldWithDefault(msg, 2, 0) | ||
}; | ||
@@ -568,5 +574,5 @@ | ||
var f, obj = { | ||
value: (f = msg.getValue()) && google_api_expr_v1alpha1_value_pb.Value.toObject(includeInstance, f), | ||
error: (f = msg.getError()) && proto.google.api.expr.v1alpha1.ErrorSet.toObject(includeInstance, f), | ||
unknown: (f = msg.getUnknown()) && proto.google.api.expr.v1alpha1.UnknownSet.toObject(includeInstance, f) | ||
value: (f = msg.getValue()) && google_api_expr_v1alpha1_value_pb.Value.toObject(includeInstance, f), | ||
error: (f = msg.getError()) && proto.google.api.expr.v1alpha1.ErrorSet.toObject(includeInstance, f), | ||
unknown: (f = msg.getUnknown()) && proto.google.api.expr.v1alpha1.UnknownSet.toObject(includeInstance, f) | ||
}; | ||
@@ -829,3 +835,3 @@ | ||
var f, obj = { | ||
errorsList: jspb.Message.toObjectList(msg.getErrorsList(), | ||
errorsList: jspb.Message.toObjectList(msg.getErrorsList(), | ||
google_rpc_status_pb.Status.toObject, includeInstance) | ||
@@ -990,3 +996,3 @@ }; | ||
var f, obj = { | ||
exprsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f | ||
exprsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f | ||
}; | ||
@@ -993,0 +999,0 @@ |
@@ -16,3 +16,9 @@ // source: google/api/expr/v1alpha1/explain.proto | ||
var goog = jspb; | ||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); | ||
var global = | ||
(typeof globalThis !== 'undefined' && globalThis) || | ||
(typeof window !== 'undefined' && window) || | ||
(typeof global !== 'undefined' && global) || | ||
(typeof self !== 'undefined' && self) || | ||
(function () { return this; }).call(null) || | ||
Function('return this')(); | ||
@@ -104,5 +110,5 @@ var google_api_expr_v1alpha1_value_pb = require('../../../../google/api/expr/v1alpha1/value_pb.js'); | ||
var f, obj = { | ||
valuesList: jspb.Message.toObjectList(msg.getValuesList(), | ||
valuesList: jspb.Message.toObjectList(msg.getValuesList(), | ||
google_api_expr_v1alpha1_value_pb.Value.toObject, includeInstance), | ||
exprStepsList: jspb.Message.toObjectList(msg.getExprStepsList(), | ||
exprStepsList: jspb.Message.toObjectList(msg.getExprStepsList(), | ||
proto.google.api.expr.v1alpha1.Explain.ExprStep.toObject, includeInstance) | ||
@@ -235,4 +241,4 @@ }; | ||
var f, obj = { | ||
id: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
valueIndex: jspb.Message.getFieldWithDefault(msg, 2, 0) | ||
id: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
valueIndex: jspb.Message.getFieldWithDefault(msg, 2, 0) | ||
}; | ||
@@ -239,0 +245,0 @@ |
@@ -288,2 +288,5 @@ // package: google.api.expr.v1alpha1 | ||
getIterVar2(): string; | ||
setIterVar2(value: string): void; | ||
hasIterRange(): boolean; | ||
@@ -330,2 +333,3 @@ clearIterRange(): void; | ||
iterVar: string, | ||
iterVar2: string, | ||
iterRange?: Expr.AsObject, | ||
@@ -332,0 +336,0 @@ accuVar: string, |
@@ -16,3 +16,9 @@ // source: google/api/expr/v1alpha1/value.proto | ||
var goog = jspb; | ||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); | ||
var global = | ||
(typeof globalThis !== 'undefined' && globalThis) || | ||
(typeof window !== 'undefined' && window) || | ||
(typeof global !== 'undefined' && global) || | ||
(typeof self !== 'undefined' && self) || | ||
(function () { return this; }).call(null) || | ||
Function('return this')(); | ||
@@ -202,14 +208,14 @@ var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); | ||
var f, obj = { | ||
nullValue: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
boolValue: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), | ||
int64Value: jspb.Message.getFieldWithDefault(msg, 3, 0), | ||
uint64Value: jspb.Message.getFieldWithDefault(msg, 4, 0), | ||
doubleValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), | ||
stringValue: jspb.Message.getFieldWithDefault(msg, 6, ""), | ||
bytesValue: msg.getBytesValue_asB64(), | ||
enumValue: (f = msg.getEnumValue()) && proto.google.api.expr.v1alpha1.EnumValue.toObject(includeInstance, f), | ||
objectValue: (f = msg.getObjectValue()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), | ||
mapValue: (f = msg.getMapValue()) && proto.google.api.expr.v1alpha1.MapValue.toObject(includeInstance, f), | ||
listValue: (f = msg.getListValue()) && proto.google.api.expr.v1alpha1.ListValue.toObject(includeInstance, f), | ||
typeValue: jspb.Message.getFieldWithDefault(msg, 15, "") | ||
nullValue: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, | ||
boolValue: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, | ||
int64Value: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, | ||
uint64Value: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, | ||
doubleValue: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f, | ||
stringValue: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, | ||
bytesValue: msg.getBytesValue_asB64(), | ||
enumValue: (f = msg.getEnumValue()) && proto.google.api.expr.v1alpha1.EnumValue.toObject(includeInstance, f), | ||
objectValue: (f = msg.getObjectValue()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), | ||
mapValue: (f = msg.getMapValue()) && proto.google.api.expr.v1alpha1.MapValue.toObject(includeInstance, f), | ||
listValue: (f = msg.getListValue()) && proto.google.api.expr.v1alpha1.ListValue.toObject(includeInstance, f), | ||
typeValue: (f = jspb.Message.getField(msg, 15)) == null ? undefined : f | ||
}; | ||
@@ -915,4 +921,4 @@ | ||
var f, obj = { | ||
type: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
value: jspb.Message.getFieldWithDefault(msg, 2, 0) | ||
type: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
value: jspb.Message.getFieldWithDefault(msg, 2, 0) | ||
}; | ||
@@ -1083,3 +1089,3 @@ | ||
var f, obj = { | ||
valuesList: jspb.Message.toObjectList(msg.getValuesList(), | ||
valuesList: jspb.Message.toObjectList(msg.getValuesList(), | ||
proto.google.api.expr.v1alpha1.Value.toObject, includeInstance) | ||
@@ -1244,3 +1250,3 @@ }; | ||
var f, obj = { | ||
entriesList: jspb.Message.toObjectList(msg.getEntriesList(), | ||
entriesList: jspb.Message.toObjectList(msg.getEntriesList(), | ||
proto.google.api.expr.v1alpha1.MapValue.Entry.toObject, includeInstance) | ||
@@ -1360,4 +1366,4 @@ }; | ||
var f, obj = { | ||
key: (f = msg.getKey()) && proto.google.api.expr.v1alpha1.Value.toObject(includeInstance, f), | ||
value: (f = msg.getValue()) && proto.google.api.expr.v1alpha1.Value.toObject(includeInstance, f) | ||
key: (f = msg.getKey()) && proto.google.api.expr.v1alpha1.Value.toObject(includeInstance, f), | ||
value: (f = msg.getValue()) && proto.google.api.expr.v1alpha1.Value.toObject(includeInstance, f) | ||
}; | ||
@@ -1364,0 +1370,0 @@ |
@@ -16,3 +16,9 @@ // source: google/api/expr/v1beta1/decl.proto | ||
var goog = jspb; | ||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); | ||
var global = | ||
(typeof globalThis !== 'undefined' && globalThis) || | ||
(typeof window !== 'undefined' && window) || | ||
(typeof global !== 'undefined' && global) || | ||
(typeof self !== 'undefined' && self) || | ||
(function () { return this; }).call(null) || | ||
Function('return this')(); | ||
@@ -168,7 +174,7 @@ var google_api_expr_v1beta1_expr_pb = require('../../../../google/api/expr/v1beta1/expr_pb.js'); | ||
var f, obj = { | ||
id: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
name: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
doc: jspb.Message.getFieldWithDefault(msg, 3, ""), | ||
ident: (f = msg.getIdent()) && proto.google.api.expr.v1beta1.IdentDecl.toObject(includeInstance, f), | ||
pb_function: (f = msg.getFunction()) && proto.google.api.expr.v1beta1.FunctionDecl.toObject(includeInstance, f) | ||
id: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
name: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
doc: jspb.Message.getFieldWithDefault(msg, 3, ""), | ||
ident: (f = msg.getIdent()) && proto.google.api.expr.v1beta1.IdentDecl.toObject(includeInstance, f), | ||
pb_function: (f = msg.getFunction()) && proto.google.api.expr.v1beta1.FunctionDecl.toObject(includeInstance, f) | ||
}; | ||
@@ -468,5 +474,5 @@ | ||
var f, obj = { | ||
id: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
type: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
typeParamsList: jspb.Message.toObjectList(msg.getTypeParamsList(), | ||
id: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
type: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
typeParamsList: jspb.Message.toObjectList(msg.getTypeParamsList(), | ||
proto.google.api.expr.v1beta1.DeclType.toObject, includeInstance) | ||
@@ -682,4 +688,4 @@ }; | ||
var f, obj = { | ||
type: (f = msg.getType()) && proto.google.api.expr.v1beta1.DeclType.toObject(includeInstance, f), | ||
value: (f = msg.getValue()) && google_api_expr_v1beta1_expr_pb.Expr.toObject(includeInstance, f) | ||
type: (f = msg.getType()) && proto.google.api.expr.v1beta1.DeclType.toObject(includeInstance, f), | ||
value: (f = msg.getValue()) && google_api_expr_v1beta1_expr_pb.Expr.toObject(includeInstance, f) | ||
}; | ||
@@ -892,6 +898,6 @@ | ||
var f, obj = { | ||
argsList: jspb.Message.toObjectList(msg.getArgsList(), | ||
argsList: jspb.Message.toObjectList(msg.getArgsList(), | ||
proto.google.api.expr.v1beta1.IdentDecl.toObject, includeInstance), | ||
returnType: (f = msg.getReturnType()) && proto.google.api.expr.v1beta1.DeclType.toObject(includeInstance, f), | ||
receiverFunction: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) | ||
returnType: (f = msg.getReturnType()) && proto.google.api.expr.v1beta1.DeclType.toObject(includeInstance, f), | ||
receiverFunction: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) | ||
}; | ||
@@ -898,0 +904,0 @@ |
@@ -16,3 +16,9 @@ // source: google/api/expr/v1beta1/eval.proto | ||
var goog = jspb; | ||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); | ||
var global = | ||
(typeof globalThis !== 'undefined' && globalThis) || | ||
(typeof window !== 'undefined' && window) || | ||
(typeof global !== 'undefined' && global) || | ||
(typeof self !== 'undefined' && self) || | ||
(function () { return this; }).call(null) || | ||
Function('return this')(); | ||
@@ -195,5 +201,5 @@ var google_api_expr_v1beta1_value_pb = require('../../../../google/api/expr/v1beta1/value_pb.js'); | ||
var f, obj = { | ||
valuesList: jspb.Message.toObjectList(msg.getValuesList(), | ||
valuesList: jspb.Message.toObjectList(msg.getValuesList(), | ||
proto.google.api.expr.v1beta1.ExprValue.toObject, includeInstance), | ||
resultsList: jspb.Message.toObjectList(msg.getResultsList(), | ||
resultsList: jspb.Message.toObjectList(msg.getResultsList(), | ||
proto.google.api.expr.v1beta1.EvalState.Result.toObject, includeInstance) | ||
@@ -326,4 +332,4 @@ }; | ||
var f, obj = { | ||
expr: (f = msg.getExpr()) && proto.google.api.expr.v1beta1.IdRef.toObject(includeInstance, f), | ||
value: jspb.Message.getFieldWithDefault(msg, 2, 0) | ||
expr: (f = msg.getExpr()) && proto.google.api.expr.v1beta1.IdRef.toObject(includeInstance, f), | ||
value: jspb.Message.getFieldWithDefault(msg, 2, 0) | ||
}; | ||
@@ -611,5 +617,5 @@ | ||
var f, obj = { | ||
value: (f = msg.getValue()) && google_api_expr_v1beta1_value_pb.Value.toObject(includeInstance, f), | ||
error: (f = msg.getError()) && proto.google.api.expr.v1beta1.ErrorSet.toObject(includeInstance, f), | ||
unknown: (f = msg.getUnknown()) && proto.google.api.expr.v1beta1.UnknownSet.toObject(includeInstance, f) | ||
value: (f = msg.getValue()) && google_api_expr_v1beta1_value_pb.Value.toObject(includeInstance, f), | ||
error: (f = msg.getError()) && proto.google.api.expr.v1beta1.ErrorSet.toObject(includeInstance, f), | ||
unknown: (f = msg.getUnknown()) && proto.google.api.expr.v1beta1.UnknownSet.toObject(includeInstance, f) | ||
}; | ||
@@ -872,3 +878,3 @@ | ||
var f, obj = { | ||
errorsList: jspb.Message.toObjectList(msg.getErrorsList(), | ||
errorsList: jspb.Message.toObjectList(msg.getErrorsList(), | ||
google_rpc_status_pb.Status.toObject, includeInstance) | ||
@@ -1033,3 +1039,3 @@ }; | ||
var f, obj = { | ||
exprsList: jspb.Message.toObjectList(msg.getExprsList(), | ||
exprsList: jspb.Message.toObjectList(msg.getExprsList(), | ||
proto.google.api.expr.v1beta1.IdRef.toObject, includeInstance) | ||
@@ -1187,3 +1193,3 @@ }; | ||
var f, obj = { | ||
id: jspb.Message.getFieldWithDefault(msg, 1, 0) | ||
id: jspb.Message.getFieldWithDefault(msg, 1, 0) | ||
}; | ||
@@ -1190,0 +1196,0 @@ |
@@ -16,3 +16,9 @@ // source: google/api/expr/v1beta1/source.proto | ||
var goog = jspb; | ||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); | ||
var global = | ||
(typeof globalThis !== 'undefined' && globalThis) || | ||
(typeof window !== 'undefined' && window) || | ||
(typeof global !== 'undefined' && global) || | ||
(typeof self !== 'undefined' && self) || | ||
(function () { return this; }).call(null) || | ||
Function('return this')(); | ||
@@ -102,5 +108,5 @@ goog.exportSymbol('proto.google.api.expr.v1beta1.SourceInfo', null, global); | ||
var f, obj = { | ||
location: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
lineOffsetsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, | ||
positionsMap: (f = msg.getPositionsMap()) ? f.toObject(includeInstance, undefined) : [] | ||
location: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
lineOffsetsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, | ||
positionsMap: (f = msg.getPositionsMap()) ? f.toObject(includeInstance, undefined) : [] | ||
}; | ||
@@ -282,3 +288,4 @@ | ||
this.getPositionsMap().clear(); | ||
return this;}; | ||
return this; | ||
}; | ||
@@ -318,6 +325,6 @@ | ||
var f, obj = { | ||
location: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
offset: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
line: jspb.Message.getFieldWithDefault(msg, 3, 0), | ||
column: jspb.Message.getFieldWithDefault(msg, 4, 0) | ||
location: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
offset: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
line: jspb.Message.getFieldWithDefault(msg, 3, 0), | ||
column: jspb.Message.getFieldWithDefault(msg, 4, 0) | ||
}; | ||
@@ -324,0 +331,0 @@ |
@@ -16,3 +16,9 @@ // source: google/api/expr/v1beta1/value.proto | ||
var goog = jspb; | ||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); | ||
var global = | ||
(typeof globalThis !== 'undefined' && globalThis) || | ||
(typeof window !== 'undefined' && window) || | ||
(typeof global !== 'undefined' && global) || | ||
(typeof self !== 'undefined' && self) || | ||
(function () { return this; }).call(null) || | ||
Function('return this')(); | ||
@@ -202,14 +208,14 @@ var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); | ||
var f, obj = { | ||
nullValue: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
boolValue: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), | ||
int64Value: jspb.Message.getFieldWithDefault(msg, 3, 0), | ||
uint64Value: jspb.Message.getFieldWithDefault(msg, 4, 0), | ||
doubleValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), | ||
stringValue: jspb.Message.getFieldWithDefault(msg, 6, ""), | ||
bytesValue: msg.getBytesValue_asB64(), | ||
enumValue: (f = msg.getEnumValue()) && proto.google.api.expr.v1beta1.EnumValue.toObject(includeInstance, f), | ||
objectValue: (f = msg.getObjectValue()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), | ||
mapValue: (f = msg.getMapValue()) && proto.google.api.expr.v1beta1.MapValue.toObject(includeInstance, f), | ||
listValue: (f = msg.getListValue()) && proto.google.api.expr.v1beta1.ListValue.toObject(includeInstance, f), | ||
typeValue: jspb.Message.getFieldWithDefault(msg, 15, "") | ||
nullValue: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, | ||
boolValue: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, | ||
int64Value: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, | ||
uint64Value: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, | ||
doubleValue: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f, | ||
stringValue: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, | ||
bytesValue: msg.getBytesValue_asB64(), | ||
enumValue: (f = msg.getEnumValue()) && proto.google.api.expr.v1beta1.EnumValue.toObject(includeInstance, f), | ||
objectValue: (f = msg.getObjectValue()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), | ||
mapValue: (f = msg.getMapValue()) && proto.google.api.expr.v1beta1.MapValue.toObject(includeInstance, f), | ||
listValue: (f = msg.getListValue()) && proto.google.api.expr.v1beta1.ListValue.toObject(includeInstance, f), | ||
typeValue: (f = jspb.Message.getField(msg, 15)) == null ? undefined : f | ||
}; | ||
@@ -915,4 +921,4 @@ | ||
var f, obj = { | ||
type: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
value: jspb.Message.getFieldWithDefault(msg, 2, 0) | ||
type: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
value: jspb.Message.getFieldWithDefault(msg, 2, 0) | ||
}; | ||
@@ -1083,3 +1089,3 @@ | ||
var f, obj = { | ||
valuesList: jspb.Message.toObjectList(msg.getValuesList(), | ||
valuesList: jspb.Message.toObjectList(msg.getValuesList(), | ||
proto.google.api.expr.v1beta1.Value.toObject, includeInstance) | ||
@@ -1244,3 +1250,3 @@ }; | ||
var f, obj = { | ||
entriesList: jspb.Message.toObjectList(msg.getEntriesList(), | ||
entriesList: jspb.Message.toObjectList(msg.getEntriesList(), | ||
proto.google.api.expr.v1beta1.MapValue.Entry.toObject, includeInstance) | ||
@@ -1360,4 +1366,4 @@ }; | ||
var f, obj = { | ||
key: (f = msg.getKey()) && proto.google.api.expr.v1beta1.Value.toObject(includeInstance, f), | ||
value: (f = msg.getValue()) && proto.google.api.expr.v1beta1.Value.toObject(includeInstance, f) | ||
key: (f = msg.getKey()) && proto.google.api.expr.v1beta1.Value.toObject(includeInstance, f), | ||
value: (f = msg.getValue()) && proto.google.api.expr.v1beta1.Value.toObject(includeInstance, f) | ||
}; | ||
@@ -1364,0 +1370,0 @@ |
@@ -16,3 +16,9 @@ // source: google/api/field_behavior.proto | ||
var goog = jspb; | ||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); | ||
var global = | ||
(typeof globalThis !== 'undefined' && globalThis) || | ||
(typeof window !== 'undefined' && window) || | ||
(typeof global !== 'undefined' && global) || | ||
(typeof self !== 'undefined' && self) || | ||
(function () { return this; }).call(null) || | ||
Function('return this')(); | ||
@@ -19,0 +25,0 @@ var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); |
@@ -11,2 +11,7 @@ // package: google.api | ||
clearReferencedTypesList(): void; | ||
getReferencedTypesList(): Array<TypeReference>; | ||
setReferencedTypesList(value: Array<TypeReference>): void; | ||
addReferencedTypes(value?: TypeReference, index?: number): TypeReference; | ||
serializeBinary(): Uint8Array; | ||
@@ -25,2 +30,3 @@ toObject(includeInstance?: boolean): FieldInfo.AsObject; | ||
format: FieldInfo.FormatMap[keyof FieldInfo.FormatMap], | ||
referencedTypesList: Array<TypeReference.AsObject>, | ||
} | ||
@@ -39,3 +45,23 @@ | ||
export class TypeReference extends jspb.Message { | ||
getTypeName(): string; | ||
setTypeName(value: string): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): TypeReference.AsObject; | ||
static toObject(includeInstance: boolean, msg: TypeReference): TypeReference.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: TypeReference, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): TypeReference; | ||
static deserializeBinaryFromReader(message: TypeReference, reader: jspb.BinaryReader): TypeReference; | ||
} | ||
export namespace TypeReference { | ||
export type AsObject = { | ||
typeName: string, | ||
} | ||
} | ||
export const fieldInfo: jspb.ExtensionFieldInfo<FieldInfo>; | ||
@@ -16,3 +16,9 @@ // source: google/api/field_info.proto | ||
var goog = jspb; | ||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); | ||
var global = | ||
(typeof globalThis !== 'undefined' && globalThis) || | ||
(typeof window !== 'undefined' && window) || | ||
(typeof global !== 'undefined' && global) || | ||
(typeof self !== 'undefined' && self) || | ||
(function () { return this; }).call(null) || | ||
Function('return this')(); | ||
@@ -23,2 +29,3 @@ var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); | ||
goog.exportSymbol('proto.google.api.FieldInfo.Format', null, global); | ||
goog.exportSymbol('proto.google.api.TypeReference', null, global); | ||
goog.exportSymbol('proto.google.api.fieldInfo', null, global); | ||
@@ -36,3 +43,3 @@ /** | ||
proto.google.api.FieldInfo = function(opt_data) { | ||
jspb.Message.initialize(this, opt_data, 0, -1, null, null); | ||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.FieldInfo.repeatedFields_, null); | ||
}; | ||
@@ -47,5 +54,33 @@ goog.inherits(proto.google.api.FieldInfo, jspb.Message); | ||
} | ||
/** | ||
* 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.google.api.TypeReference = function(opt_data) { | ||
jspb.Message.initialize(this, opt_data, 0, -1, null, null); | ||
}; | ||
goog.inherits(proto.google.api.TypeReference, jspb.Message); | ||
if (goog.DEBUG && !COMPILED) { | ||
/** | ||
* @public | ||
* @override | ||
*/ | ||
proto.google.api.TypeReference.displayName = 'proto.google.api.TypeReference'; | ||
} | ||
/** | ||
* List of repeated fields within this message type. | ||
* @private {!Array<number>} | ||
* @const | ||
*/ | ||
proto.google.api.FieldInfo.repeatedFields_ = [2]; | ||
if (jspb.Message.GENERATE_TO_OBJECT) { | ||
@@ -80,3 +115,5 @@ /** | ||
var f, obj = { | ||
format: jspb.Message.getFieldWithDefault(msg, 1, 0) | ||
format: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
referencedTypesList: jspb.Message.toObjectList(msg.getReferencedTypesList(), | ||
proto.google.api.TypeReference.toObject, includeInstance) | ||
}; | ||
@@ -122,2 +159,7 @@ | ||
break; | ||
case 2: | ||
var value = new proto.google.api.TypeReference; | ||
reader.readMessage(value,proto.google.api.TypeReference.deserializeBinaryFromReader); | ||
msg.addReferencedTypes(value); | ||
break; | ||
default: | ||
@@ -159,2 +201,10 @@ reader.skipField(); | ||
} | ||
f = message.getReferencedTypesList(); | ||
if (f.length > 0) { | ||
writer.writeRepeatedMessage( | ||
2, | ||
f, | ||
proto.google.api.TypeReference.serializeBinaryToWriter | ||
); | ||
} | ||
}; | ||
@@ -192,4 +242,172 @@ | ||
/** | ||
* repeated TypeReference referenced_types = 2; | ||
* @return {!Array<!proto.google.api.TypeReference>} | ||
*/ | ||
proto.google.api.FieldInfo.prototype.getReferencedTypesList = function() { | ||
return /** @type{!Array<!proto.google.api.TypeReference>} */ ( | ||
jspb.Message.getRepeatedWrapperField(this, proto.google.api.TypeReference, 2)); | ||
}; | ||
/** | ||
* @param {!Array<!proto.google.api.TypeReference>} value | ||
* @return {!proto.google.api.FieldInfo} returns this | ||
*/ | ||
proto.google.api.FieldInfo.prototype.setReferencedTypesList = function(value) { | ||
return jspb.Message.setRepeatedWrapperField(this, 2, value); | ||
}; | ||
/** | ||
* @param {!proto.google.api.TypeReference=} opt_value | ||
* @param {number=} opt_index | ||
* @return {!proto.google.api.TypeReference} | ||
*/ | ||
proto.google.api.FieldInfo.prototype.addReferencedTypes = function(opt_value, opt_index) { | ||
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.google.api.TypeReference, opt_index); | ||
}; | ||
/** | ||
* Clears the list making it empty but non-null. | ||
* @return {!proto.google.api.FieldInfo} returns this | ||
*/ | ||
proto.google.api.FieldInfo.prototype.clearReferencedTypesList = function() { | ||
return this.setReferencedTypesList([]); | ||
}; | ||
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.google.api.TypeReference.prototype.toObject = function(opt_includeInstance) { | ||
return proto.google.api.TypeReference.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.google.api.TypeReference} msg The msg instance to transform. | ||
* @return {!Object} | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.google.api.TypeReference.toObject = function(includeInstance, msg) { | ||
var f, obj = { | ||
typeName: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
}; | ||
if (includeInstance) { | ||
obj.$jspbMessageInstance = msg; | ||
} | ||
return obj; | ||
}; | ||
} | ||
/** | ||
* Deserializes binary data (in protobuf wire format). | ||
* @param {jspb.ByteSource} bytes The bytes to deserialize. | ||
* @return {!proto.google.api.TypeReference} | ||
*/ | ||
proto.google.api.TypeReference.deserializeBinary = function(bytes) { | ||
var reader = new jspb.BinaryReader(bytes); | ||
var msg = new proto.google.api.TypeReference; | ||
return proto.google.api.TypeReference.deserializeBinaryFromReader(msg, reader); | ||
}; | ||
/** | ||
* Deserializes binary data (in protobuf wire format) from the | ||
* given reader into the given message object. | ||
* @param {!proto.google.api.TypeReference} msg The message object to deserialize into. | ||
* @param {!jspb.BinaryReader} reader The BinaryReader to use. | ||
* @return {!proto.google.api.TypeReference} | ||
*/ | ||
proto.google.api.TypeReference.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.setTypeName(value); | ||
break; | ||
default: | ||
reader.skipField(); | ||
break; | ||
} | ||
} | ||
return msg; | ||
}; | ||
/** | ||
* Serializes the message to binary data (in protobuf wire format). | ||
* @return {!Uint8Array} | ||
*/ | ||
proto.google.api.TypeReference.prototype.serializeBinary = function() { | ||
var writer = new jspb.BinaryWriter(); | ||
proto.google.api.TypeReference.serializeBinaryToWriter(this, writer); | ||
return writer.getResultBuffer(); | ||
}; | ||
/** | ||
* Serializes the given message to binary data (in protobuf wire | ||
* format), writing to the given BinaryWriter. | ||
* @param {!proto.google.api.TypeReference} message | ||
* @param {!jspb.BinaryWriter} writer | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.google.api.TypeReference.serializeBinaryToWriter = function(message, writer) { | ||
var f = undefined; | ||
f = message.getTypeName(); | ||
if (f.length > 0) { | ||
writer.writeString( | ||
1, | ||
f | ||
); | ||
} | ||
}; | ||
/** | ||
* optional string type_name = 1; | ||
* @return {string} | ||
*/ | ||
proto.google.api.TypeReference.prototype.getTypeName = function() { | ||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); | ||
}; | ||
/** | ||
* @param {string} value | ||
* @return {!proto.google.api.TypeReference} returns this | ||
*/ | ||
proto.google.api.TypeReference.prototype.setTypeName = function(value) { | ||
return jspb.Message.setProto3StringField(this, 1, value); | ||
}; | ||
/** | ||
* A tuple of {field number, class constructor} for the extension | ||
@@ -196,0 +414,0 @@ * field named `fieldInfo`. |
@@ -16,3 +16,9 @@ // source: google/api/http.proto | ||
var goog = jspb; | ||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); | ||
var global = | ||
(typeof globalThis !== 'undefined' && globalThis) || | ||
(typeof window !== 'undefined' && window) || | ||
(typeof global !== 'undefined' && global) || | ||
(typeof self !== 'undefined' && self) || | ||
(function () { return this; }).call(null) || | ||
Function('return this')(); | ||
@@ -125,5 +131,5 @@ goog.exportSymbol('proto.google.api.CustomHttpPattern', null, global); | ||
var f, obj = { | ||
rulesList: jspb.Message.toObjectList(msg.getRulesList(), | ||
rulesList: jspb.Message.toObjectList(msg.getRulesList(), | ||
proto.google.api.HttpRule.toObject, includeInstance), | ||
fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) | ||
fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) | ||
}; | ||
@@ -346,12 +352,12 @@ | ||
var f, obj = { | ||
selector: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
get: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
put: jspb.Message.getFieldWithDefault(msg, 3, ""), | ||
post: jspb.Message.getFieldWithDefault(msg, 4, ""), | ||
pb_delete: jspb.Message.getFieldWithDefault(msg, 5, ""), | ||
patch: jspb.Message.getFieldWithDefault(msg, 6, ""), | ||
custom: (f = msg.getCustom()) && proto.google.api.CustomHttpPattern.toObject(includeInstance, f), | ||
body: jspb.Message.getFieldWithDefault(msg, 7, ""), | ||
responseBody: jspb.Message.getFieldWithDefault(msg, 12, ""), | ||
additionalBindingsList: jspb.Message.toObjectList(msg.getAdditionalBindingsList(), | ||
selector: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
get: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, | ||
put: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, | ||
post: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, | ||
pb_delete: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, | ||
patch: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, | ||
custom: (f = msg.getCustom()) && proto.google.api.CustomHttpPattern.toObject(includeInstance, f), | ||
body: jspb.Message.getFieldWithDefault(msg, 7, ""), | ||
responseBody: jspb.Message.getFieldWithDefault(msg, 12, ""), | ||
additionalBindingsList: jspb.Message.toObjectList(msg.getAdditionalBindingsList(), | ||
proto.google.api.HttpRule.toObject, includeInstance) | ||
@@ -881,4 +887,4 @@ }; | ||
var f, obj = { | ||
kind: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
path: jspb.Message.getFieldWithDefault(msg, 2, "") | ||
kind: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
path: jspb.Message.getFieldWithDefault(msg, 2, "") | ||
}; | ||
@@ -885,0 +891,0 @@ |
@@ -16,3 +16,9 @@ // source: google/api/httpbody.proto | ||
var goog = jspb; | ||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); | ||
var global = | ||
(typeof globalThis !== 'undefined' && globalThis) || | ||
(typeof window !== 'undefined' && window) || | ||
(typeof global !== 'undefined' && global) || | ||
(typeof self !== 'undefined' && self) || | ||
(function () { return this; }).call(null) || | ||
Function('return this')(); | ||
@@ -82,5 +88,5 @@ var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); | ||
var f, obj = { | ||
contentType: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
data: msg.getData_asB64(), | ||
extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), | ||
contentType: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
data: msg.getData_asB64(), | ||
extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), | ||
google_protobuf_any_pb.Any.toObject, includeInstance) | ||
@@ -87,0 +93,0 @@ }; |
@@ -16,3 +16,9 @@ // source: google/api/launch_stage.proto | ||
var goog = jspb; | ||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); | ||
var global = | ||
(typeof globalThis !== 'undefined' && globalThis) || | ||
(typeof window !== 'undefined' && window) || | ||
(typeof global !== 'undefined' && global) || | ||
(typeof self !== 'undefined' && self) || | ||
(function () { return this; }).call(null) || | ||
Function('return this')(); | ||
@@ -19,0 +25,0 @@ goog.exportSymbol('proto.google.api.LaunchStage', null, global); |
@@ -16,3 +16,9 @@ // source: google/api/resource.proto | ||
var goog = jspb; | ||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); | ||
var global = | ||
(typeof globalThis !== 'undefined' && globalThis) || | ||
(typeof window !== 'undefined' && window) || | ||
(typeof global !== 'undefined' && global) || | ||
(typeof self !== 'undefined' && self) || | ||
(function () { return this; }).call(null) || | ||
Function('return this')(); | ||
@@ -109,9 +115,9 @@ var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); | ||
var f, obj = { | ||
type: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
patternList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, | ||
nameField: jspb.Message.getFieldWithDefault(msg, 3, ""), | ||
history: jspb.Message.getFieldWithDefault(msg, 4, 0), | ||
plural: jspb.Message.getFieldWithDefault(msg, 5, ""), | ||
singular: jspb.Message.getFieldWithDefault(msg, 6, ""), | ||
styleList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f | ||
type: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
patternList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, | ||
nameField: jspb.Message.getFieldWithDefault(msg, 3, ""), | ||
history: jspb.Message.getFieldWithDefault(msg, 4, 0), | ||
plural: jspb.Message.getFieldWithDefault(msg, 5, ""), | ||
singular: jspb.Message.getFieldWithDefault(msg, 6, ""), | ||
styleList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f | ||
}; | ||
@@ -477,4 +483,4 @@ | ||
var f, obj = { | ||
type: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
childType: jspb.Message.getFieldWithDefault(msg, 2, "") | ||
type: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
childType: jspb.Message.getFieldWithDefault(msg, 2, "") | ||
}; | ||
@@ -481,0 +487,0 @@ |
@@ -16,3 +16,9 @@ // source: google/api/visibility.proto | ||
var goog = jspb; | ||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); | ||
var global = | ||
(typeof globalThis !== 'undefined' && globalThis) || | ||
(typeof window !== 'undefined' && window) || | ||
(typeof global !== 'undefined' && global) || | ||
(typeof self !== 'undefined' && self) || | ||
(function () { return this; }).call(null) || | ||
Function('return this')(); | ||
@@ -110,3 +116,3 @@ var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); | ||
var f, obj = { | ||
rulesList: jspb.Message.toObjectList(msg.getRulesList(), | ||
rulesList: jspb.Message.toObjectList(msg.getRulesList(), | ||
proto.google.api.VisibilityRule.toObject, includeInstance) | ||
@@ -264,4 +270,4 @@ }; | ||
var f, obj = { | ||
selector: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
restriction: jspb.Message.getFieldWithDefault(msg, 2, "") | ||
selector: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
restriction: jspb.Message.getFieldWithDefault(msg, 2, "") | ||
}; | ||
@@ -268,0 +274,0 @@ |
@@ -16,3 +16,9 @@ // source: google/rpc/code.proto | ||
var goog = jspb; | ||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); | ||
var global = | ||
(typeof globalThis !== 'undefined' && globalThis) || | ||
(typeof window !== 'undefined' && window) || | ||
(typeof global !== 'undefined' && global) || | ||
(typeof self !== 'undefined' && self) || | ||
(function () { return this; }).call(null) || | ||
Function('return this')(); | ||
@@ -19,0 +25,0 @@ goog.exportSymbol('proto.google.rpc.Code', null, global); |
@@ -16,3 +16,9 @@ // source: google/rpc/status.proto | ||
var goog = jspb; | ||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); | ||
var global = | ||
(typeof globalThis !== 'undefined' && globalThis) || | ||
(typeof window !== 'undefined' && window) || | ||
(typeof global !== 'undefined' && global) || | ||
(typeof self !== 'undefined' && self) || | ||
(function () { return this; }).call(null) || | ||
Function('return this')(); | ||
@@ -82,5 +88,5 @@ var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); | ||
var f, obj = { | ||
code: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
message: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
detailsList: jspb.Message.toObjectList(msg.getDetailsList(), | ||
code: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
message: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
detailsList: jspb.Message.toObjectList(msg.getDetailsList(), | ||
google_protobuf_any_pb.Any.toObject, includeInstance) | ||
@@ -87,0 +93,0 @@ }; |
@@ -9,3 +9,3 @@ /** | ||
// versions: | ||
// protoc-gen-grpc-web v1.4.2 | ||
// protoc-gen-grpc-web v1.5.0 | ||
// protoc v0.0.0 | ||
@@ -12,0 +12,0 @@ // source: proto/rpc/v1/auth.proto |
@@ -16,3 +16,9 @@ // source: proto/rpc/v1/auth.proto | ||
var goog = jspb; | ||
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); | ||
var global = | ||
(typeof globalThis !== 'undefined' && globalThis) || | ||
(typeof window !== 'undefined' && window) || | ||
(typeof global !== 'undefined' && global) || | ||
(typeof self !== 'undefined' && self) || | ||
(function () { return this; }).call(null) || | ||
Function('return this')(); | ||
@@ -163,4 +169,4 @@ var google_api_annotations_pb = require('../../../google/api/annotations_pb.js'); | ||
var f, obj = { | ||
type: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
payload: jspb.Message.getFieldWithDefault(msg, 2, "") | ||
type: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
payload: jspb.Message.getFieldWithDefault(msg, 2, "") | ||
}; | ||
@@ -324,4 +330,4 @@ | ||
var f, obj = { | ||
entity: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
credentials: (f = msg.getCredentials()) && proto.proto.rpc.v1.Credentials.toObject(includeInstance, f) | ||
entity: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
credentials: (f = msg.getCredentials()) && proto.proto.rpc.v1.Credentials.toObject(includeInstance, f) | ||
}; | ||
@@ -506,3 +512,3 @@ | ||
var f, obj = { | ||
accessToken: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
accessToken: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
}; | ||
@@ -637,3 +643,3 @@ | ||
var f, obj = { | ||
entity: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
entity: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
}; | ||
@@ -768,3 +774,3 @@ | ||
var f, obj = { | ||
accessToken: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
accessToken: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
}; | ||
@@ -771,0 +777,0 @@ |
@@ -9,3 +9,3 @@ /** | ||
// versions: | ||
// protoc-gen-grpc-web v1.4.2 | ||
// protoc-gen-grpc-web v1.5.0 | ||
// protoc v0.0.0 | ||
@@ -12,0 +12,0 @@ // source: proto/rpc/webrtc/v1/signaling.proto |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2188089
55117