@miradorlabs/web-grpc 4.5.1 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1437,10 +1437,11 @@ export function aIResourceDimensionToJSON(object: AIResourceDimension): string {
|
|
|
1437
1437
|
export enum AIResourceRankingGroupBy {
|
|
1438
1438
|
AI_RESOURCE_RANKING_GROUP_BY_UNSPECIFIED = 0,
|
|
1439
1439
|
/**
|
|
1440
|
-
* AI_RESOURCE_RANKING_GROUP_BY_PRINCIPAL - One ranking per principal
|
|
1441
|
-
*
|
|
1442
|
-
* under
|
|
1443
|
-
*
|
|
1440
|
+
* AI_RESOURCE_RANKING_GROUP_BY_PRINCIPAL - One ranking per principal the filter names (a USER per non-empty user_ids entry, an API_KEY per api_key_ids entry)
|
|
1441
|
+
* on each source system that reported it, counting the events the whole filter matched that carry that principal: an
|
|
1442
|
+
* event ranks under its user id and under its api key, and a principal the filter did not name is left out. With one
|
|
1443
|
+
* kind of id filtered, a named id's ranking is what a request filtered to that id and source returns. An empty
|
|
1444
|
+
* api_key_ids entry names only the work that recorded neither id. SKILL / TOOL / COMMAND only.
|
|
1444
1445
|
*/
|
|
1445
1446
|
AI_RESOURCE_RANKING_GROUP_BY_PRINCIPAL = 1,
|
|
1446
1447
|
UNRECOGNIZED = -1,
|
|
@@ -3364,12 +3365,17 @@ export interface ProjectSessionRef {
|
|
|
3364
3365
|
export interface ResourceRankingsRequest {
|
|
3365
3366
|
organizationId: string;
|
|
3366
3367
|
projectId: string;
|
|
3368
|
+
/** Each list holds at most 50 values; a longer one is STATUS_CODE_VALIDATION_ERROR. */
|
|
3367
3369
|
filter: AISessionFilter | undefined;
|
|
3368
3370
|
dimension: AIResourceDimension;
|
|
3369
|
-
/**
|
|
3371
|
+
/**
|
|
3372
|
+
* Splits the ranking into one top-limit list per group. Unspecified ranks the filtered set once. PRINCIPAL needs a
|
|
3373
|
+
* filter.user_ids or filter.api_key_ids entry, else STATUS_CODE_VALIDATION_ERROR, and returns only the principals
|
|
3374
|
+
* those name.
|
|
3375
|
+
*/
|
|
3370
3376
|
groupBy: AIResourceRankingGroupBy;
|
|
3371
3377
|
timeWindow: AnalyticsTimeWindow;
|
|
3372
|
-
/** Max rows, per group when group_by is set; 0 = the default 10, capped at 100. */
|
|
3378
|
+
/** Max rows, per group when group_by is set; 0 = the default 10, capped at 100, negative is a validation error. */
|
|
3373
3379
|
limit: number;
|
|
3374
3380
|
}
|
|
3375
3381
|
|
|
@@ -3774,6 +3780,26 @@ export interface AISessionInsight {
|
|
|
3774
3780
|
action: string;
|
|
3775
3781
|
/** How much the problem cost the session, as the model judged it. */
|
|
3776
3782
|
severity: AISessionInsightSeverity;
|
|
3783
|
+
/** Absent when this insight has no catalog suggestion. */
|
|
3784
|
+
skillSuggestion: AISkillSuggestion | undefined;
|
|
3785
|
+
}
|
|
3786
|
+
|
|
3787
|
+
/** AISkillSuggestion pins an immutable catalog revision, even when metadata cannot be resolved now. */
|
|
3788
|
+
export interface AISkillSuggestion {
|
|
3789
|
+
skillVersionId: string;
|
|
3790
|
+
/** Complete or absent. Absence means metadata could not be resolved now, not that the skill is unavailable. */
|
|
3791
|
+
skill: AISkillMetadata | undefined;
|
|
3792
|
+
}
|
|
3793
|
+
|
|
3794
|
+
/**
|
|
3795
|
+
* AISkillMetadata is public reference text, not instructions. Summary is pinned to the suggested revision;
|
|
3796
|
+
* name, HTTPS skills.sh source_url and availability are current catalog metadata. Withdrawn skills remain readable.
|
|
3797
|
+
*/
|
|
3798
|
+
export interface AISkillMetadata {
|
|
3799
|
+
name: string;
|
|
3800
|
+
summary: string;
|
|
3801
|
+
sourceUrl: string;
|
|
3802
|
+
available: boolean;
|
|
3777
3803
|
}
|
|
3778
3804
|
|
|
3779
3805
|
/**
|
|
@@ -23410,7 +23436,15 @@ export const AISessionInsights: MessageFns<AISessionInsights> = {
|
|
|
23410
23436
|
};
|
|
23411
23437
|
|
|
23412
23438
|
function createBaseAISessionInsight(): AISessionInsight {
|
|
23413
|
-
return {
|
|
23439
|
+
return {
|
|
23440
|
+
category: 0,
|
|
23441
|
+
actionType: 0,
|
|
23442
|
+
evidenceRefs: [],
|
|
23443
|
+
cause: "",
|
|
23444
|
+
action: "",
|
|
23445
|
+
severity: 0,
|
|
23446
|
+
skillSuggestion: undefined,
|
|
23447
|
+
};
|
|
23414
23448
|
}
|
|
23415
23449
|
|
|
23416
23450
|
export const AISessionInsight: MessageFns<AISessionInsight> = {
|
|
@@ -23433,6 +23467,9 @@ export const AISessionInsight: MessageFns<AISessionInsight> = {
|
|
|
23433
23467
|
if (message.severity !== 0) {
|
|
23434
23468
|
writer.uint32(48).int32(message.severity);
|
|
23435
23469
|
}
|
|
23470
|
+
if (message.skillSuggestion !== undefined) {
|
|
23471
|
+
AISkillSuggestion.encode(message.skillSuggestion, writer.uint32(58).fork()).join();
|
|
23472
|
+
}
|
|
23436
23473
|
return writer;
|
|
23437
23474
|
},
|
|
23438
23475
|
|
|
@@ -23497,6 +23534,14 @@ export const AISessionInsight: MessageFns<AISessionInsight> = {
|
|
|
23497
23534
|
message.severity = reader.int32() as any;
|
|
23498
23535
|
continue;
|
|
23499
23536
|
}
|
|
23537
|
+
case 7: {
|
|
23538
|
+
if (tag !== 58) {
|
|
23539
|
+
break;
|
|
23540
|
+
}
|
|
23541
|
+
|
|
23542
|
+
message.skillSuggestion = AISkillSuggestion.decode(reader, reader.uint32());
|
|
23543
|
+
continue;
|
|
23544
|
+
}
|
|
23500
23545
|
}
|
|
23501
23546
|
if ((tag & 7) === 4 || tag === 0) {
|
|
23502
23547
|
break;
|
|
@@ -23525,6 +23570,11 @@ export const AISessionInsight: MessageFns<AISessionInsight> = {
|
|
|
23525
23570
|
cause: isSet(object.cause) ? globalThis.String(object.cause) : "",
|
|
23526
23571
|
action: isSet(object.action) ? globalThis.String(object.action) : "",
|
|
23527
23572
|
severity: isSet(object.severity) ? aISessionInsightSeverityFromJSON(object.severity) : 0,
|
|
23573
|
+
skillSuggestion: isSet(object.skillSuggestion)
|
|
23574
|
+
? AISkillSuggestion.fromJSON(object.skillSuggestion)
|
|
23575
|
+
: isSet(object.skill_suggestion)
|
|
23576
|
+
? AISkillSuggestion.fromJSON(object.skill_suggestion)
|
|
23577
|
+
: undefined,
|
|
23528
23578
|
};
|
|
23529
23579
|
},
|
|
23530
23580
|
|
|
@@ -23548,6 +23598,9 @@ export const AISessionInsight: MessageFns<AISessionInsight> = {
|
|
|
23548
23598
|
if (message.severity !== 0) {
|
|
23549
23599
|
obj.severity = aISessionInsightSeverityToJSON(message.severity);
|
|
23550
23600
|
}
|
|
23601
|
+
if (message.skillSuggestion !== undefined) {
|
|
23602
|
+
obj.skillSuggestion = AISkillSuggestion.toJSON(message.skillSuggestion);
|
|
23603
|
+
}
|
|
23551
23604
|
return obj;
|
|
23552
23605
|
},
|
|
23553
23606
|
|
|
@@ -23562,6 +23615,221 @@ export const AISessionInsight: MessageFns<AISessionInsight> = {
|
|
|
23562
23615
|
message.cause = object.cause ?? "";
|
|
23563
23616
|
message.action = object.action ?? "";
|
|
23564
23617
|
message.severity = object.severity ?? 0;
|
|
23618
|
+
message.skillSuggestion = (object.skillSuggestion !== undefined && object.skillSuggestion !== null)
|
|
23619
|
+
? AISkillSuggestion.fromPartial(object.skillSuggestion)
|
|
23620
|
+
: undefined;
|
|
23621
|
+
return message;
|
|
23622
|
+
},
|
|
23623
|
+
};
|
|
23624
|
+
|
|
23625
|
+
function createBaseAISkillSuggestion(): AISkillSuggestion {
|
|
23626
|
+
return { skillVersionId: "", skill: undefined };
|
|
23627
|
+
}
|
|
23628
|
+
|
|
23629
|
+
export const AISkillSuggestion: MessageFns<AISkillSuggestion> = {
|
|
23630
|
+
encode(message: AISkillSuggestion, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
23631
|
+
if (message.skillVersionId !== "") {
|
|
23632
|
+
writer.uint32(10).string(message.skillVersionId);
|
|
23633
|
+
}
|
|
23634
|
+
if (message.skill !== undefined) {
|
|
23635
|
+
AISkillMetadata.encode(message.skill, writer.uint32(18).fork()).join();
|
|
23636
|
+
}
|
|
23637
|
+
return writer;
|
|
23638
|
+
},
|
|
23639
|
+
|
|
23640
|
+
decode(input: BinaryReader | Uint8Array, length?: number): AISkillSuggestion {
|
|
23641
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
23642
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
23643
|
+
if (previousRecursionDepth >= 100) {
|
|
23644
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
23645
|
+
}
|
|
23646
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
23647
|
+
try {
|
|
23648
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
23649
|
+
const message = createBaseAISkillSuggestion();
|
|
23650
|
+
while (reader.pos < end) {
|
|
23651
|
+
const tag = reader.uint32();
|
|
23652
|
+
switch (tag >>> 3) {
|
|
23653
|
+
case 1: {
|
|
23654
|
+
if (tag !== 10) {
|
|
23655
|
+
break;
|
|
23656
|
+
}
|
|
23657
|
+
|
|
23658
|
+
message.skillVersionId = reader.string();
|
|
23659
|
+
continue;
|
|
23660
|
+
}
|
|
23661
|
+
case 2: {
|
|
23662
|
+
if (tag !== 18) {
|
|
23663
|
+
break;
|
|
23664
|
+
}
|
|
23665
|
+
|
|
23666
|
+
message.skill = AISkillMetadata.decode(reader, reader.uint32());
|
|
23667
|
+
continue;
|
|
23668
|
+
}
|
|
23669
|
+
}
|
|
23670
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
23671
|
+
break;
|
|
23672
|
+
}
|
|
23673
|
+
reader.skip(tag & 7);
|
|
23674
|
+
}
|
|
23675
|
+
return message;
|
|
23676
|
+
} finally {
|
|
23677
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
23678
|
+
}
|
|
23679
|
+
},
|
|
23680
|
+
|
|
23681
|
+
fromJSON(object: any): AISkillSuggestion {
|
|
23682
|
+
return {
|
|
23683
|
+
skillVersionId: isSet(object.skillVersionId)
|
|
23684
|
+
? globalThis.String(object.skillVersionId)
|
|
23685
|
+
: isSet(object.skill_version_id)
|
|
23686
|
+
? globalThis.String(object.skill_version_id)
|
|
23687
|
+
: "",
|
|
23688
|
+
skill: isSet(object.skill) ? AISkillMetadata.fromJSON(object.skill) : undefined,
|
|
23689
|
+
};
|
|
23690
|
+
},
|
|
23691
|
+
|
|
23692
|
+
toJSON(message: AISkillSuggestion): unknown {
|
|
23693
|
+
const obj: any = {};
|
|
23694
|
+
if (message.skillVersionId !== "") {
|
|
23695
|
+
obj.skillVersionId = message.skillVersionId;
|
|
23696
|
+
}
|
|
23697
|
+
if (message.skill !== undefined) {
|
|
23698
|
+
obj.skill = AISkillMetadata.toJSON(message.skill);
|
|
23699
|
+
}
|
|
23700
|
+
return obj;
|
|
23701
|
+
},
|
|
23702
|
+
|
|
23703
|
+
create<I extends Exact<DeepPartial<AISkillSuggestion>, I>>(base?: I): AISkillSuggestion {
|
|
23704
|
+
return AISkillSuggestion.fromPartial(base ?? ({} as any));
|
|
23705
|
+
},
|
|
23706
|
+
fromPartial<I extends Exact<DeepPartial<AISkillSuggestion>, I>>(object: I): AISkillSuggestion {
|
|
23707
|
+
const message = createBaseAISkillSuggestion();
|
|
23708
|
+
message.skillVersionId = object.skillVersionId ?? "";
|
|
23709
|
+
message.skill = (object.skill !== undefined && object.skill !== null)
|
|
23710
|
+
? AISkillMetadata.fromPartial(object.skill)
|
|
23711
|
+
: undefined;
|
|
23712
|
+
return message;
|
|
23713
|
+
},
|
|
23714
|
+
};
|
|
23715
|
+
|
|
23716
|
+
function createBaseAISkillMetadata(): AISkillMetadata {
|
|
23717
|
+
return { name: "", summary: "", sourceUrl: "", available: false };
|
|
23718
|
+
}
|
|
23719
|
+
|
|
23720
|
+
export const AISkillMetadata: MessageFns<AISkillMetadata> = {
|
|
23721
|
+
encode(message: AISkillMetadata, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
23722
|
+
if (message.name !== "") {
|
|
23723
|
+
writer.uint32(10).string(message.name);
|
|
23724
|
+
}
|
|
23725
|
+
if (message.summary !== "") {
|
|
23726
|
+
writer.uint32(18).string(message.summary);
|
|
23727
|
+
}
|
|
23728
|
+
if (message.sourceUrl !== "") {
|
|
23729
|
+
writer.uint32(26).string(message.sourceUrl);
|
|
23730
|
+
}
|
|
23731
|
+
if (message.available !== false) {
|
|
23732
|
+
writer.uint32(32).bool(message.available);
|
|
23733
|
+
}
|
|
23734
|
+
return writer;
|
|
23735
|
+
},
|
|
23736
|
+
|
|
23737
|
+
decode(input: BinaryReader | Uint8Array, length?: number): AISkillMetadata {
|
|
23738
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
23739
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
23740
|
+
if (previousRecursionDepth >= 100) {
|
|
23741
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
23742
|
+
}
|
|
23743
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
23744
|
+
try {
|
|
23745
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
23746
|
+
const message = createBaseAISkillMetadata();
|
|
23747
|
+
while (reader.pos < end) {
|
|
23748
|
+
const tag = reader.uint32();
|
|
23749
|
+
switch (tag >>> 3) {
|
|
23750
|
+
case 1: {
|
|
23751
|
+
if (tag !== 10) {
|
|
23752
|
+
break;
|
|
23753
|
+
}
|
|
23754
|
+
|
|
23755
|
+
message.name = reader.string();
|
|
23756
|
+
continue;
|
|
23757
|
+
}
|
|
23758
|
+
case 2: {
|
|
23759
|
+
if (tag !== 18) {
|
|
23760
|
+
break;
|
|
23761
|
+
}
|
|
23762
|
+
|
|
23763
|
+
message.summary = reader.string();
|
|
23764
|
+
continue;
|
|
23765
|
+
}
|
|
23766
|
+
case 3: {
|
|
23767
|
+
if (tag !== 26) {
|
|
23768
|
+
break;
|
|
23769
|
+
}
|
|
23770
|
+
|
|
23771
|
+
message.sourceUrl = reader.string();
|
|
23772
|
+
continue;
|
|
23773
|
+
}
|
|
23774
|
+
case 4: {
|
|
23775
|
+
if (tag !== 32) {
|
|
23776
|
+
break;
|
|
23777
|
+
}
|
|
23778
|
+
|
|
23779
|
+
message.available = reader.bool();
|
|
23780
|
+
continue;
|
|
23781
|
+
}
|
|
23782
|
+
}
|
|
23783
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
23784
|
+
break;
|
|
23785
|
+
}
|
|
23786
|
+
reader.skip(tag & 7);
|
|
23787
|
+
}
|
|
23788
|
+
return message;
|
|
23789
|
+
} finally {
|
|
23790
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
23791
|
+
}
|
|
23792
|
+
},
|
|
23793
|
+
|
|
23794
|
+
fromJSON(object: any): AISkillMetadata {
|
|
23795
|
+
return {
|
|
23796
|
+
name: isSet(object.name) ? globalThis.String(object.name) : "",
|
|
23797
|
+
summary: isSet(object.summary) ? globalThis.String(object.summary) : "",
|
|
23798
|
+
sourceUrl: isSet(object.sourceUrl)
|
|
23799
|
+
? globalThis.String(object.sourceUrl)
|
|
23800
|
+
: isSet(object.source_url)
|
|
23801
|
+
? globalThis.String(object.source_url)
|
|
23802
|
+
: "",
|
|
23803
|
+
available: isSet(object.available) ? globalThis.Boolean(object.available) : false,
|
|
23804
|
+
};
|
|
23805
|
+
},
|
|
23806
|
+
|
|
23807
|
+
toJSON(message: AISkillMetadata): unknown {
|
|
23808
|
+
const obj: any = {};
|
|
23809
|
+
if (message.name !== "") {
|
|
23810
|
+
obj.name = message.name;
|
|
23811
|
+
}
|
|
23812
|
+
if (message.summary !== "") {
|
|
23813
|
+
obj.summary = message.summary;
|
|
23814
|
+
}
|
|
23815
|
+
if (message.sourceUrl !== "") {
|
|
23816
|
+
obj.sourceUrl = message.sourceUrl;
|
|
23817
|
+
}
|
|
23818
|
+
if (message.available !== false) {
|
|
23819
|
+
obj.available = message.available;
|
|
23820
|
+
}
|
|
23821
|
+
return obj;
|
|
23822
|
+
},
|
|
23823
|
+
|
|
23824
|
+
create<I extends Exact<DeepPartial<AISkillMetadata>, I>>(base?: I): AISkillMetadata {
|
|
23825
|
+
return AISkillMetadata.fromPartial(base ?? ({} as any));
|
|
23826
|
+
},
|
|
23827
|
+
fromPartial<I extends Exact<DeepPartial<AISkillMetadata>, I>>(object: I): AISkillMetadata {
|
|
23828
|
+
const message = createBaseAISkillMetadata();
|
|
23829
|
+
message.name = object.name ?? "";
|
|
23830
|
+
message.summary = object.summary ?? "";
|
|
23831
|
+
message.sourceUrl = object.sourceUrl ?? "";
|
|
23832
|
+
message.available = object.available ?? false;
|
|
23565
23833
|
return message;
|
|
23566
23834
|
},
|
|
23567
23835
|
};
|
|
@@ -84,6 +84,8 @@ goog.exportSymbol('proto.gateway.web.v1.AISessionSteeringLoad', null, global);
|
|
|
84
84
|
goog.exportSymbol('proto.gateway.web.v1.AISessionSummary', null, global);
|
|
85
85
|
goog.exportSymbol('proto.gateway.web.v1.AISessionVerification', null, global);
|
|
86
86
|
goog.exportSymbol('proto.gateway.web.v1.AISessionWorkType', null, global);
|
|
87
|
+
goog.exportSymbol('proto.gateway.web.v1.AISkillMetadata', null, global);
|
|
88
|
+
goog.exportSymbol('proto.gateway.web.v1.AISkillSuggestion', null, global);
|
|
87
89
|
goog.exportSymbol('proto.gateway.web.v1.AISpendForecastDimension', null, global);
|
|
88
90
|
goog.exportSymbol('proto.gateway.web.v1.AITokenActivityDimension', null, global);
|
|
89
91
|
goog.exportSymbol('proto.gateway.web.v1.AITokenUsage', null, global);
|
|
@@ -2698,6 +2700,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2698
2700
|
*/
|
|
2699
2701
|
proto.gateway.web.v1.AISessionInsight.displayName = 'proto.gateway.web.v1.AISessionInsight';
|
|
2700
2702
|
}
|
|
2703
|
+
/**
|
|
2704
|
+
* Generated by JsPbCodeGenerator.
|
|
2705
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2706
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2707
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2708
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2709
|
+
* valid.
|
|
2710
|
+
* @extends {jspb.Message}
|
|
2711
|
+
* @constructor
|
|
2712
|
+
*/
|
|
2713
|
+
proto.gateway.web.v1.AISkillSuggestion = function(opt_data) {
|
|
2714
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2715
|
+
};
|
|
2716
|
+
goog.inherits(proto.gateway.web.v1.AISkillSuggestion, jspb.Message);
|
|
2717
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2718
|
+
/**
|
|
2719
|
+
* @public
|
|
2720
|
+
* @override
|
|
2721
|
+
*/
|
|
2722
|
+
proto.gateway.web.v1.AISkillSuggestion.displayName = 'proto.gateway.web.v1.AISkillSuggestion';
|
|
2723
|
+
}
|
|
2724
|
+
/**
|
|
2725
|
+
* Generated by JsPbCodeGenerator.
|
|
2726
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2727
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2728
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2729
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2730
|
+
* valid.
|
|
2731
|
+
* @extends {jspb.Message}
|
|
2732
|
+
* @constructor
|
|
2733
|
+
*/
|
|
2734
|
+
proto.gateway.web.v1.AISkillMetadata = function(opt_data) {
|
|
2735
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2736
|
+
};
|
|
2737
|
+
goog.inherits(proto.gateway.web.v1.AISkillMetadata, jspb.Message);
|
|
2738
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2739
|
+
/**
|
|
2740
|
+
* @public
|
|
2741
|
+
* @override
|
|
2742
|
+
*/
|
|
2743
|
+
proto.gateway.web.v1.AISkillMetadata.displayName = 'proto.gateway.web.v1.AISkillMetadata';
|
|
2744
|
+
}
|
|
2701
2745
|
/**
|
|
2702
2746
|
* Generated by JsPbCodeGenerator.
|
|
2703
2747
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -40070,7 +40114,8 @@ evidenceRefsList: jspb.Message.toObjectList(msg.getEvidenceRefsList(),
|
|
|
40070
40114
|
proto.gateway.web.v1.AISessionEventRef.toObject, includeInstance),
|
|
40071
40115
|
cause: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
40072
40116
|
action: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
40073
|
-
severity: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
40117
|
+
severity: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
40118
|
+
skillSuggestion: (f = msg.getSkillSuggestion()) && proto.gateway.web.v1.AISkillSuggestion.toObject(includeInstance, f)
|
|
40074
40119
|
};
|
|
40075
40120
|
|
|
40076
40121
|
if (includeInstance) {
|
|
@@ -40132,6 +40177,11 @@ proto.gateway.web.v1.AISessionInsight.deserializeBinaryFromReader = function(msg
|
|
|
40132
40177
|
var value = /** @type {!proto.gateway.web.v1.AISessionInsightSeverity} */ (reader.readEnum());
|
|
40133
40178
|
msg.setSeverity(value);
|
|
40134
40179
|
break;
|
|
40180
|
+
case 7:
|
|
40181
|
+
var value = new proto.gateway.web.v1.AISkillSuggestion;
|
|
40182
|
+
reader.readMessage(value,proto.gateway.web.v1.AISkillSuggestion.deserializeBinaryFromReader);
|
|
40183
|
+
msg.setSkillSuggestion(value);
|
|
40184
|
+
break;
|
|
40135
40185
|
default:
|
|
40136
40186
|
reader.skipField();
|
|
40137
40187
|
break;
|
|
@@ -40204,6 +40254,14 @@ proto.gateway.web.v1.AISessionInsight.serializeBinaryToWriter = function(message
|
|
|
40204
40254
|
f
|
|
40205
40255
|
);
|
|
40206
40256
|
}
|
|
40257
|
+
f = message.getSkillSuggestion();
|
|
40258
|
+
if (f != null) {
|
|
40259
|
+
writer.writeMessage(
|
|
40260
|
+
7,
|
|
40261
|
+
f,
|
|
40262
|
+
proto.gateway.web.v1.AISkillSuggestion.serializeBinaryToWriter
|
|
40263
|
+
);
|
|
40264
|
+
}
|
|
40207
40265
|
};
|
|
40208
40266
|
|
|
40209
40267
|
|
|
@@ -40335,6 +40393,444 @@ proto.gateway.web.v1.AISessionInsight.prototype.setSeverity = function(value) {
|
|
|
40335
40393
|
};
|
|
40336
40394
|
|
|
40337
40395
|
|
|
40396
|
+
/**
|
|
40397
|
+
* optional AISkillSuggestion skill_suggestion = 7;
|
|
40398
|
+
* @return {?proto.gateway.web.v1.AISkillSuggestion}
|
|
40399
|
+
*/
|
|
40400
|
+
proto.gateway.web.v1.AISessionInsight.prototype.getSkillSuggestion = function() {
|
|
40401
|
+
return /** @type{?proto.gateway.web.v1.AISkillSuggestion} */ (
|
|
40402
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISkillSuggestion, 7));
|
|
40403
|
+
};
|
|
40404
|
+
|
|
40405
|
+
|
|
40406
|
+
/**
|
|
40407
|
+
* @param {?proto.gateway.web.v1.AISkillSuggestion|undefined} value
|
|
40408
|
+
* @return {!proto.gateway.web.v1.AISessionInsight} returns this
|
|
40409
|
+
*/
|
|
40410
|
+
proto.gateway.web.v1.AISessionInsight.prototype.setSkillSuggestion = function(value) {
|
|
40411
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
40412
|
+
};
|
|
40413
|
+
|
|
40414
|
+
|
|
40415
|
+
/**
|
|
40416
|
+
* Clears the message field making it undefined.
|
|
40417
|
+
* @return {!proto.gateway.web.v1.AISessionInsight} returns this
|
|
40418
|
+
*/
|
|
40419
|
+
proto.gateway.web.v1.AISessionInsight.prototype.clearSkillSuggestion = function() {
|
|
40420
|
+
return this.setSkillSuggestion(undefined);
|
|
40421
|
+
};
|
|
40422
|
+
|
|
40423
|
+
|
|
40424
|
+
/**
|
|
40425
|
+
* Returns whether this field is set.
|
|
40426
|
+
* @return {boolean}
|
|
40427
|
+
*/
|
|
40428
|
+
proto.gateway.web.v1.AISessionInsight.prototype.hasSkillSuggestion = function() {
|
|
40429
|
+
return jspb.Message.getField(this, 7) != null;
|
|
40430
|
+
};
|
|
40431
|
+
|
|
40432
|
+
|
|
40433
|
+
|
|
40434
|
+
|
|
40435
|
+
|
|
40436
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
40437
|
+
/**
|
|
40438
|
+
* Creates an object representation of this proto.
|
|
40439
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
40440
|
+
* Optional fields that are not set will be set to undefined.
|
|
40441
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
40442
|
+
* For the list of reserved names please see:
|
|
40443
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
40444
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
40445
|
+
* JSPB instance for transitional soy proto support:
|
|
40446
|
+
* http://goto/soy-param-migration
|
|
40447
|
+
* @return {!Object}
|
|
40448
|
+
*/
|
|
40449
|
+
proto.gateway.web.v1.AISkillSuggestion.prototype.toObject = function(opt_includeInstance) {
|
|
40450
|
+
return proto.gateway.web.v1.AISkillSuggestion.toObject(opt_includeInstance, this);
|
|
40451
|
+
};
|
|
40452
|
+
|
|
40453
|
+
|
|
40454
|
+
/**
|
|
40455
|
+
* Static version of the {@see toObject} method.
|
|
40456
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
40457
|
+
* the JSPB instance for transitional soy proto support:
|
|
40458
|
+
* http://goto/soy-param-migration
|
|
40459
|
+
* @param {!proto.gateway.web.v1.AISkillSuggestion} msg The msg instance to transform.
|
|
40460
|
+
* @return {!Object}
|
|
40461
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
40462
|
+
*/
|
|
40463
|
+
proto.gateway.web.v1.AISkillSuggestion.toObject = function(includeInstance, msg) {
|
|
40464
|
+
var f, obj = {
|
|
40465
|
+
skillVersionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
40466
|
+
skill: (f = msg.getSkill()) && proto.gateway.web.v1.AISkillMetadata.toObject(includeInstance, f)
|
|
40467
|
+
};
|
|
40468
|
+
|
|
40469
|
+
if (includeInstance) {
|
|
40470
|
+
obj.$jspbMessageInstance = msg;
|
|
40471
|
+
}
|
|
40472
|
+
return obj;
|
|
40473
|
+
};
|
|
40474
|
+
}
|
|
40475
|
+
|
|
40476
|
+
|
|
40477
|
+
/**
|
|
40478
|
+
* Deserializes binary data (in protobuf wire format).
|
|
40479
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
40480
|
+
* @return {!proto.gateway.web.v1.AISkillSuggestion}
|
|
40481
|
+
*/
|
|
40482
|
+
proto.gateway.web.v1.AISkillSuggestion.deserializeBinary = function(bytes) {
|
|
40483
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
40484
|
+
var msg = new proto.gateway.web.v1.AISkillSuggestion;
|
|
40485
|
+
return proto.gateway.web.v1.AISkillSuggestion.deserializeBinaryFromReader(msg, reader);
|
|
40486
|
+
};
|
|
40487
|
+
|
|
40488
|
+
|
|
40489
|
+
/**
|
|
40490
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
40491
|
+
* given reader into the given message object.
|
|
40492
|
+
* @param {!proto.gateway.web.v1.AISkillSuggestion} msg The message object to deserialize into.
|
|
40493
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
40494
|
+
* @return {!proto.gateway.web.v1.AISkillSuggestion}
|
|
40495
|
+
*/
|
|
40496
|
+
proto.gateway.web.v1.AISkillSuggestion.deserializeBinaryFromReader = function(msg, reader) {
|
|
40497
|
+
while (reader.nextField()) {
|
|
40498
|
+
if (reader.isEndGroup()) {
|
|
40499
|
+
break;
|
|
40500
|
+
}
|
|
40501
|
+
var field = reader.getFieldNumber();
|
|
40502
|
+
switch (field) {
|
|
40503
|
+
case 1:
|
|
40504
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
40505
|
+
msg.setSkillVersionId(value);
|
|
40506
|
+
break;
|
|
40507
|
+
case 2:
|
|
40508
|
+
var value = new proto.gateway.web.v1.AISkillMetadata;
|
|
40509
|
+
reader.readMessage(value,proto.gateway.web.v1.AISkillMetadata.deserializeBinaryFromReader);
|
|
40510
|
+
msg.setSkill(value);
|
|
40511
|
+
break;
|
|
40512
|
+
default:
|
|
40513
|
+
reader.skipField();
|
|
40514
|
+
break;
|
|
40515
|
+
}
|
|
40516
|
+
}
|
|
40517
|
+
return msg;
|
|
40518
|
+
};
|
|
40519
|
+
|
|
40520
|
+
|
|
40521
|
+
/**
|
|
40522
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
40523
|
+
* @return {!Uint8Array}
|
|
40524
|
+
*/
|
|
40525
|
+
proto.gateway.web.v1.AISkillSuggestion.prototype.serializeBinary = function() {
|
|
40526
|
+
var writer = new jspb.BinaryWriter();
|
|
40527
|
+
proto.gateway.web.v1.AISkillSuggestion.serializeBinaryToWriter(this, writer);
|
|
40528
|
+
return writer.getResultBuffer();
|
|
40529
|
+
};
|
|
40530
|
+
|
|
40531
|
+
|
|
40532
|
+
/**
|
|
40533
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
40534
|
+
* format), writing to the given BinaryWriter.
|
|
40535
|
+
* @param {!proto.gateway.web.v1.AISkillSuggestion} message
|
|
40536
|
+
* @param {!jspb.BinaryWriter} writer
|
|
40537
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
40538
|
+
*/
|
|
40539
|
+
proto.gateway.web.v1.AISkillSuggestion.serializeBinaryToWriter = function(message, writer) {
|
|
40540
|
+
var f = undefined;
|
|
40541
|
+
f = message.getSkillVersionId();
|
|
40542
|
+
if (f.length > 0) {
|
|
40543
|
+
writer.writeString(
|
|
40544
|
+
1,
|
|
40545
|
+
f
|
|
40546
|
+
);
|
|
40547
|
+
}
|
|
40548
|
+
f = message.getSkill();
|
|
40549
|
+
if (f != null) {
|
|
40550
|
+
writer.writeMessage(
|
|
40551
|
+
2,
|
|
40552
|
+
f,
|
|
40553
|
+
proto.gateway.web.v1.AISkillMetadata.serializeBinaryToWriter
|
|
40554
|
+
);
|
|
40555
|
+
}
|
|
40556
|
+
};
|
|
40557
|
+
|
|
40558
|
+
|
|
40559
|
+
/**
|
|
40560
|
+
* optional string skill_version_id = 1;
|
|
40561
|
+
* @return {string}
|
|
40562
|
+
*/
|
|
40563
|
+
proto.gateway.web.v1.AISkillSuggestion.prototype.getSkillVersionId = function() {
|
|
40564
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
40565
|
+
};
|
|
40566
|
+
|
|
40567
|
+
|
|
40568
|
+
/**
|
|
40569
|
+
* @param {string} value
|
|
40570
|
+
* @return {!proto.gateway.web.v1.AISkillSuggestion} returns this
|
|
40571
|
+
*/
|
|
40572
|
+
proto.gateway.web.v1.AISkillSuggestion.prototype.setSkillVersionId = function(value) {
|
|
40573
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
40574
|
+
};
|
|
40575
|
+
|
|
40576
|
+
|
|
40577
|
+
/**
|
|
40578
|
+
* optional AISkillMetadata skill = 2;
|
|
40579
|
+
* @return {?proto.gateway.web.v1.AISkillMetadata}
|
|
40580
|
+
*/
|
|
40581
|
+
proto.gateway.web.v1.AISkillSuggestion.prototype.getSkill = function() {
|
|
40582
|
+
return /** @type{?proto.gateway.web.v1.AISkillMetadata} */ (
|
|
40583
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISkillMetadata, 2));
|
|
40584
|
+
};
|
|
40585
|
+
|
|
40586
|
+
|
|
40587
|
+
/**
|
|
40588
|
+
* @param {?proto.gateway.web.v1.AISkillMetadata|undefined} value
|
|
40589
|
+
* @return {!proto.gateway.web.v1.AISkillSuggestion} returns this
|
|
40590
|
+
*/
|
|
40591
|
+
proto.gateway.web.v1.AISkillSuggestion.prototype.setSkill = function(value) {
|
|
40592
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
40593
|
+
};
|
|
40594
|
+
|
|
40595
|
+
|
|
40596
|
+
/**
|
|
40597
|
+
* Clears the message field making it undefined.
|
|
40598
|
+
* @return {!proto.gateway.web.v1.AISkillSuggestion} returns this
|
|
40599
|
+
*/
|
|
40600
|
+
proto.gateway.web.v1.AISkillSuggestion.prototype.clearSkill = function() {
|
|
40601
|
+
return this.setSkill(undefined);
|
|
40602
|
+
};
|
|
40603
|
+
|
|
40604
|
+
|
|
40605
|
+
/**
|
|
40606
|
+
* Returns whether this field is set.
|
|
40607
|
+
* @return {boolean}
|
|
40608
|
+
*/
|
|
40609
|
+
proto.gateway.web.v1.AISkillSuggestion.prototype.hasSkill = function() {
|
|
40610
|
+
return jspb.Message.getField(this, 2) != null;
|
|
40611
|
+
};
|
|
40612
|
+
|
|
40613
|
+
|
|
40614
|
+
|
|
40615
|
+
|
|
40616
|
+
|
|
40617
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
40618
|
+
/**
|
|
40619
|
+
* Creates an object representation of this proto.
|
|
40620
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
40621
|
+
* Optional fields that are not set will be set to undefined.
|
|
40622
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
40623
|
+
* For the list of reserved names please see:
|
|
40624
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
40625
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
40626
|
+
* JSPB instance for transitional soy proto support:
|
|
40627
|
+
* http://goto/soy-param-migration
|
|
40628
|
+
* @return {!Object}
|
|
40629
|
+
*/
|
|
40630
|
+
proto.gateway.web.v1.AISkillMetadata.prototype.toObject = function(opt_includeInstance) {
|
|
40631
|
+
return proto.gateway.web.v1.AISkillMetadata.toObject(opt_includeInstance, this);
|
|
40632
|
+
};
|
|
40633
|
+
|
|
40634
|
+
|
|
40635
|
+
/**
|
|
40636
|
+
* Static version of the {@see toObject} method.
|
|
40637
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
40638
|
+
* the JSPB instance for transitional soy proto support:
|
|
40639
|
+
* http://goto/soy-param-migration
|
|
40640
|
+
* @param {!proto.gateway.web.v1.AISkillMetadata} msg The msg instance to transform.
|
|
40641
|
+
* @return {!Object}
|
|
40642
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
40643
|
+
*/
|
|
40644
|
+
proto.gateway.web.v1.AISkillMetadata.toObject = function(includeInstance, msg) {
|
|
40645
|
+
var f, obj = {
|
|
40646
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
40647
|
+
summary: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
40648
|
+
sourceUrl: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
40649
|
+
available: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
40650
|
+
};
|
|
40651
|
+
|
|
40652
|
+
if (includeInstance) {
|
|
40653
|
+
obj.$jspbMessageInstance = msg;
|
|
40654
|
+
}
|
|
40655
|
+
return obj;
|
|
40656
|
+
};
|
|
40657
|
+
}
|
|
40658
|
+
|
|
40659
|
+
|
|
40660
|
+
/**
|
|
40661
|
+
* Deserializes binary data (in protobuf wire format).
|
|
40662
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
40663
|
+
* @return {!proto.gateway.web.v1.AISkillMetadata}
|
|
40664
|
+
*/
|
|
40665
|
+
proto.gateway.web.v1.AISkillMetadata.deserializeBinary = function(bytes) {
|
|
40666
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
40667
|
+
var msg = new proto.gateway.web.v1.AISkillMetadata;
|
|
40668
|
+
return proto.gateway.web.v1.AISkillMetadata.deserializeBinaryFromReader(msg, reader);
|
|
40669
|
+
};
|
|
40670
|
+
|
|
40671
|
+
|
|
40672
|
+
/**
|
|
40673
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
40674
|
+
* given reader into the given message object.
|
|
40675
|
+
* @param {!proto.gateway.web.v1.AISkillMetadata} msg The message object to deserialize into.
|
|
40676
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
40677
|
+
* @return {!proto.gateway.web.v1.AISkillMetadata}
|
|
40678
|
+
*/
|
|
40679
|
+
proto.gateway.web.v1.AISkillMetadata.deserializeBinaryFromReader = function(msg, reader) {
|
|
40680
|
+
while (reader.nextField()) {
|
|
40681
|
+
if (reader.isEndGroup()) {
|
|
40682
|
+
break;
|
|
40683
|
+
}
|
|
40684
|
+
var field = reader.getFieldNumber();
|
|
40685
|
+
switch (field) {
|
|
40686
|
+
case 1:
|
|
40687
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
40688
|
+
msg.setName(value);
|
|
40689
|
+
break;
|
|
40690
|
+
case 2:
|
|
40691
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
40692
|
+
msg.setSummary(value);
|
|
40693
|
+
break;
|
|
40694
|
+
case 3:
|
|
40695
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
40696
|
+
msg.setSourceUrl(value);
|
|
40697
|
+
break;
|
|
40698
|
+
case 4:
|
|
40699
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
40700
|
+
msg.setAvailable(value);
|
|
40701
|
+
break;
|
|
40702
|
+
default:
|
|
40703
|
+
reader.skipField();
|
|
40704
|
+
break;
|
|
40705
|
+
}
|
|
40706
|
+
}
|
|
40707
|
+
return msg;
|
|
40708
|
+
};
|
|
40709
|
+
|
|
40710
|
+
|
|
40711
|
+
/**
|
|
40712
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
40713
|
+
* @return {!Uint8Array}
|
|
40714
|
+
*/
|
|
40715
|
+
proto.gateway.web.v1.AISkillMetadata.prototype.serializeBinary = function() {
|
|
40716
|
+
var writer = new jspb.BinaryWriter();
|
|
40717
|
+
proto.gateway.web.v1.AISkillMetadata.serializeBinaryToWriter(this, writer);
|
|
40718
|
+
return writer.getResultBuffer();
|
|
40719
|
+
};
|
|
40720
|
+
|
|
40721
|
+
|
|
40722
|
+
/**
|
|
40723
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
40724
|
+
* format), writing to the given BinaryWriter.
|
|
40725
|
+
* @param {!proto.gateway.web.v1.AISkillMetadata} message
|
|
40726
|
+
* @param {!jspb.BinaryWriter} writer
|
|
40727
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
40728
|
+
*/
|
|
40729
|
+
proto.gateway.web.v1.AISkillMetadata.serializeBinaryToWriter = function(message, writer) {
|
|
40730
|
+
var f = undefined;
|
|
40731
|
+
f = message.getName();
|
|
40732
|
+
if (f.length > 0) {
|
|
40733
|
+
writer.writeString(
|
|
40734
|
+
1,
|
|
40735
|
+
f
|
|
40736
|
+
);
|
|
40737
|
+
}
|
|
40738
|
+
f = message.getSummary();
|
|
40739
|
+
if (f.length > 0) {
|
|
40740
|
+
writer.writeString(
|
|
40741
|
+
2,
|
|
40742
|
+
f
|
|
40743
|
+
);
|
|
40744
|
+
}
|
|
40745
|
+
f = message.getSourceUrl();
|
|
40746
|
+
if (f.length > 0) {
|
|
40747
|
+
writer.writeString(
|
|
40748
|
+
3,
|
|
40749
|
+
f
|
|
40750
|
+
);
|
|
40751
|
+
}
|
|
40752
|
+
f = message.getAvailable();
|
|
40753
|
+
if (f) {
|
|
40754
|
+
writer.writeBool(
|
|
40755
|
+
4,
|
|
40756
|
+
f
|
|
40757
|
+
);
|
|
40758
|
+
}
|
|
40759
|
+
};
|
|
40760
|
+
|
|
40761
|
+
|
|
40762
|
+
/**
|
|
40763
|
+
* optional string name = 1;
|
|
40764
|
+
* @return {string}
|
|
40765
|
+
*/
|
|
40766
|
+
proto.gateway.web.v1.AISkillMetadata.prototype.getName = function() {
|
|
40767
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
40768
|
+
};
|
|
40769
|
+
|
|
40770
|
+
|
|
40771
|
+
/**
|
|
40772
|
+
* @param {string} value
|
|
40773
|
+
* @return {!proto.gateway.web.v1.AISkillMetadata} returns this
|
|
40774
|
+
*/
|
|
40775
|
+
proto.gateway.web.v1.AISkillMetadata.prototype.setName = function(value) {
|
|
40776
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
40777
|
+
};
|
|
40778
|
+
|
|
40779
|
+
|
|
40780
|
+
/**
|
|
40781
|
+
* optional string summary = 2;
|
|
40782
|
+
* @return {string}
|
|
40783
|
+
*/
|
|
40784
|
+
proto.gateway.web.v1.AISkillMetadata.prototype.getSummary = function() {
|
|
40785
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
40786
|
+
};
|
|
40787
|
+
|
|
40788
|
+
|
|
40789
|
+
/**
|
|
40790
|
+
* @param {string} value
|
|
40791
|
+
* @return {!proto.gateway.web.v1.AISkillMetadata} returns this
|
|
40792
|
+
*/
|
|
40793
|
+
proto.gateway.web.v1.AISkillMetadata.prototype.setSummary = function(value) {
|
|
40794
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
40795
|
+
};
|
|
40796
|
+
|
|
40797
|
+
|
|
40798
|
+
/**
|
|
40799
|
+
* optional string source_url = 3;
|
|
40800
|
+
* @return {string}
|
|
40801
|
+
*/
|
|
40802
|
+
proto.gateway.web.v1.AISkillMetadata.prototype.getSourceUrl = function() {
|
|
40803
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
40804
|
+
};
|
|
40805
|
+
|
|
40806
|
+
|
|
40807
|
+
/**
|
|
40808
|
+
* @param {string} value
|
|
40809
|
+
* @return {!proto.gateway.web.v1.AISkillMetadata} returns this
|
|
40810
|
+
*/
|
|
40811
|
+
proto.gateway.web.v1.AISkillMetadata.prototype.setSourceUrl = function(value) {
|
|
40812
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
40813
|
+
};
|
|
40814
|
+
|
|
40815
|
+
|
|
40816
|
+
/**
|
|
40817
|
+
* optional bool available = 4;
|
|
40818
|
+
* @return {boolean}
|
|
40819
|
+
*/
|
|
40820
|
+
proto.gateway.web.v1.AISkillMetadata.prototype.getAvailable = function() {
|
|
40821
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
40822
|
+
};
|
|
40823
|
+
|
|
40824
|
+
|
|
40825
|
+
/**
|
|
40826
|
+
* @param {boolean} value
|
|
40827
|
+
* @return {!proto.gateway.web.v1.AISkillMetadata} returns this
|
|
40828
|
+
*/
|
|
40829
|
+
proto.gateway.web.v1.AISkillMetadata.prototype.setAvailable = function(value) {
|
|
40830
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
40831
|
+
};
|
|
40832
|
+
|
|
40833
|
+
|
|
40338
40834
|
|
|
40339
40835
|
|
|
40340
40836
|
|