@pulumi/pulumi 3.166.0-alpha.xee90e48 → 3.166.0-alpha.xfd42286
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 +1 -1
- package/proto/analyzer_grpc_pb.d.ts +17 -0
- package/proto/analyzer_grpc_pb.js +36 -0
- package/proto/analyzer_pb.d.ts +67 -0
- package/proto/analyzer_pb.js +542 -0
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -17,6 +17,7 @@ interface IAnalyzerService extends grpc.ServiceDefinition<grpc.UntypedServiceImp
|
|
|
17
17
|
getAnalyzerInfo: IAnalyzerService_IGetAnalyzerInfo;
|
|
18
18
|
getPluginInfo: IAnalyzerService_IGetPluginInfo;
|
|
19
19
|
configure: IAnalyzerService_IConfigure;
|
|
20
|
+
handshake: IAnalyzerService_IHandshake;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
interface IAnalyzerService_IAnalyze extends grpc.MethodDefinition<pulumi_analyzer_pb.AnalyzeRequest, pulumi_analyzer_pb.AnalyzeResponse> {
|
|
@@ -73,6 +74,15 @@ interface IAnalyzerService_IConfigure extends grpc.MethodDefinition<pulumi_analy
|
|
|
73
74
|
responseSerialize: grpc.serialize<google_protobuf_empty_pb.Empty>;
|
|
74
75
|
responseDeserialize: grpc.deserialize<google_protobuf_empty_pb.Empty>;
|
|
75
76
|
}
|
|
77
|
+
interface IAnalyzerService_IHandshake extends grpc.MethodDefinition<pulumi_analyzer_pb.AnalyzerHandshakeRequest, pulumi_analyzer_pb.AnalyzerHandshakeResponse> {
|
|
78
|
+
path: "/pulumirpc.Analyzer/Handshake";
|
|
79
|
+
requestStream: false;
|
|
80
|
+
responseStream: false;
|
|
81
|
+
requestSerialize: grpc.serialize<pulumi_analyzer_pb.AnalyzerHandshakeRequest>;
|
|
82
|
+
requestDeserialize: grpc.deserialize<pulumi_analyzer_pb.AnalyzerHandshakeRequest>;
|
|
83
|
+
responseSerialize: grpc.serialize<pulumi_analyzer_pb.AnalyzerHandshakeResponse>;
|
|
84
|
+
responseDeserialize: grpc.deserialize<pulumi_analyzer_pb.AnalyzerHandshakeResponse>;
|
|
85
|
+
}
|
|
76
86
|
|
|
77
87
|
export const AnalyzerService: IAnalyzerService;
|
|
78
88
|
|
|
@@ -83,6 +93,7 @@ export interface IAnalyzerServer extends grpc.UntypedServiceImplementation {
|
|
|
83
93
|
getAnalyzerInfo: grpc.handleUnaryCall<google_protobuf_empty_pb.Empty, pulumi_analyzer_pb.AnalyzerInfo>;
|
|
84
94
|
getPluginInfo: grpc.handleUnaryCall<google_protobuf_empty_pb.Empty, pulumi_plugin_pb.PluginInfo>;
|
|
85
95
|
configure: grpc.handleUnaryCall<pulumi_analyzer_pb.ConfigureAnalyzerRequest, google_protobuf_empty_pb.Empty>;
|
|
96
|
+
handshake: grpc.handleUnaryCall<pulumi_analyzer_pb.AnalyzerHandshakeRequest, pulumi_analyzer_pb.AnalyzerHandshakeResponse>;
|
|
86
97
|
}
|
|
87
98
|
|
|
88
99
|
export interface IAnalyzerClient {
|
|
@@ -104,6 +115,9 @@ export interface IAnalyzerClient {
|
|
|
104
115
|
configure(request: pulumi_analyzer_pb.ConfigureAnalyzerRequest, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
105
116
|
configure(request: pulumi_analyzer_pb.ConfigureAnalyzerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
106
117
|
configure(request: pulumi_analyzer_pb.ConfigureAnalyzerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
118
|
+
handshake(request: pulumi_analyzer_pb.AnalyzerHandshakeRequest, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerHandshakeResponse) => void): grpc.ClientUnaryCall;
|
|
119
|
+
handshake(request: pulumi_analyzer_pb.AnalyzerHandshakeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerHandshakeResponse) => void): grpc.ClientUnaryCall;
|
|
120
|
+
handshake(request: pulumi_analyzer_pb.AnalyzerHandshakeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerHandshakeResponse) => void): grpc.ClientUnaryCall;
|
|
107
121
|
}
|
|
108
122
|
|
|
109
123
|
export class AnalyzerClient extends grpc.Client implements IAnalyzerClient {
|
|
@@ -126,4 +140,7 @@ export class AnalyzerClient extends grpc.Client implements IAnalyzerClient {
|
|
|
126
140
|
public configure(request: pulumi_analyzer_pb.ConfigureAnalyzerRequest, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
127
141
|
public configure(request: pulumi_analyzer_pb.ConfigureAnalyzerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
128
142
|
public configure(request: pulumi_analyzer_pb.ConfigureAnalyzerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
143
|
+
public handshake(request: pulumi_analyzer_pb.AnalyzerHandshakeRequest, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerHandshakeResponse) => void): grpc.ClientUnaryCall;
|
|
144
|
+
public handshake(request: pulumi_analyzer_pb.AnalyzerHandshakeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerHandshakeResponse) => void): grpc.ClientUnaryCall;
|
|
145
|
+
public handshake(request: pulumi_analyzer_pb.AnalyzerHandshakeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_analyzer_pb.AnalyzerHandshakeResponse) => void): grpc.ClientUnaryCall;
|
|
129
146
|
}
|
|
@@ -66,6 +66,28 @@ function deserialize_pulumirpc_AnalyzeStackRequest(buffer_arg) {
|
|
|
66
66
|
return pulumi_analyzer_pb.AnalyzeStackRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
+
function serialize_pulumirpc_AnalyzerHandshakeRequest(arg) {
|
|
70
|
+
if (!(arg instanceof pulumi_analyzer_pb.AnalyzerHandshakeRequest)) {
|
|
71
|
+
throw new Error('Expected argument of type pulumirpc.AnalyzerHandshakeRequest');
|
|
72
|
+
}
|
|
73
|
+
return Buffer.from(arg.serializeBinary());
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
function deserialize_pulumirpc_AnalyzerHandshakeRequest(buffer_arg) {
|
|
77
|
+
return pulumi_analyzer_pb.AnalyzerHandshakeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
function serialize_pulumirpc_AnalyzerHandshakeResponse(arg) {
|
|
81
|
+
if (!(arg instanceof pulumi_analyzer_pb.AnalyzerHandshakeResponse)) {
|
|
82
|
+
throw new Error('Expected argument of type pulumirpc.AnalyzerHandshakeResponse');
|
|
83
|
+
}
|
|
84
|
+
return Buffer.from(arg.serializeBinary());
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
function deserialize_pulumirpc_AnalyzerHandshakeResponse(buffer_arg) {
|
|
88
|
+
return pulumi_analyzer_pb.AnalyzerHandshakeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
89
|
+
}
|
|
90
|
+
|
|
69
91
|
function serialize_pulumirpc_AnalyzerInfo(arg) {
|
|
70
92
|
if (!(arg instanceof pulumi_analyzer_pb.AnalyzerInfo)) {
|
|
71
93
|
throw new Error('Expected argument of type pulumirpc.AnalyzerInfo');
|
|
@@ -192,6 +214,20 @@ configure: {
|
|
|
192
214
|
responseSerialize: serialize_google_protobuf_Empty,
|
|
193
215
|
responseDeserialize: deserialize_google_protobuf_Empty,
|
|
194
216
|
},
|
|
217
|
+
// `Handshake` is the first call made by the engine to an analyzer. It is used to pass the engine's address to the
|
|
218
|
+
// analyzer so that it may establish its own connections back, and to establish protocol configuration that will be
|
|
219
|
+
// used to communicate between the two parties.
|
|
220
|
+
handshake: {
|
|
221
|
+
path: '/pulumirpc.Analyzer/Handshake',
|
|
222
|
+
requestStream: false,
|
|
223
|
+
responseStream: false,
|
|
224
|
+
requestType: pulumi_analyzer_pb.AnalyzerHandshakeRequest,
|
|
225
|
+
responseType: pulumi_analyzer_pb.AnalyzerHandshakeResponse,
|
|
226
|
+
requestSerialize: serialize_pulumirpc_AnalyzerHandshakeRequest,
|
|
227
|
+
requestDeserialize: deserialize_pulumirpc_AnalyzerHandshakeRequest,
|
|
228
|
+
responseSerialize: serialize_pulumirpc_AnalyzerHandshakeResponse,
|
|
229
|
+
responseDeserialize: deserialize_pulumirpc_AnalyzerHandshakeResponse,
|
|
230
|
+
},
|
|
195
231
|
};
|
|
196
232
|
|
|
197
233
|
exports.AnalyzerClient = grpc.makeGenericClientConstructor(AnalyzerService);
|
package/proto/analyzer_pb.d.ts
CHANGED
|
@@ -9,6 +9,73 @@ import * as pulumi_plugin_pb from "./plugin_pb";
|
|
|
9
9
|
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
|
10
10
|
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
|
|
11
11
|
|
|
12
|
+
export class AnalyzerHandshakeRequest extends jspb.Message {
|
|
13
|
+
getEngineAddress(): string;
|
|
14
|
+
setEngineAddress(value: string): AnalyzerHandshakeRequest;
|
|
15
|
+
|
|
16
|
+
hasRootDirectory(): boolean;
|
|
17
|
+
clearRootDirectory(): void;
|
|
18
|
+
getRootDirectory(): string | undefined;
|
|
19
|
+
setRootDirectory(value: string): AnalyzerHandshakeRequest;
|
|
20
|
+
|
|
21
|
+
hasProgramDirectory(): boolean;
|
|
22
|
+
clearProgramDirectory(): void;
|
|
23
|
+
getProgramDirectory(): string | undefined;
|
|
24
|
+
setProgramDirectory(value: string): AnalyzerHandshakeRequest;
|
|
25
|
+
getStack(): string;
|
|
26
|
+
setStack(value: string): AnalyzerHandshakeRequest;
|
|
27
|
+
getProject(): string;
|
|
28
|
+
setProject(value: string): AnalyzerHandshakeRequest;
|
|
29
|
+
getOrganization(): string;
|
|
30
|
+
setOrganization(value: string): AnalyzerHandshakeRequest;
|
|
31
|
+
getDryRun(): boolean;
|
|
32
|
+
setDryRun(value: boolean): AnalyzerHandshakeRequest;
|
|
33
|
+
|
|
34
|
+
hasConfig(): boolean;
|
|
35
|
+
clearConfig(): void;
|
|
36
|
+
getConfig(): google_protobuf_struct_pb.Struct | undefined;
|
|
37
|
+
setConfig(value?: google_protobuf_struct_pb.Struct): AnalyzerHandshakeRequest;
|
|
38
|
+
|
|
39
|
+
serializeBinary(): Uint8Array;
|
|
40
|
+
toObject(includeInstance?: boolean): AnalyzerHandshakeRequest.AsObject;
|
|
41
|
+
static toObject(includeInstance: boolean, msg: AnalyzerHandshakeRequest): AnalyzerHandshakeRequest.AsObject;
|
|
42
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
43
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
44
|
+
static serializeBinaryToWriter(message: AnalyzerHandshakeRequest, writer: jspb.BinaryWriter): void;
|
|
45
|
+
static deserializeBinary(bytes: Uint8Array): AnalyzerHandshakeRequest;
|
|
46
|
+
static deserializeBinaryFromReader(message: AnalyzerHandshakeRequest, reader: jspb.BinaryReader): AnalyzerHandshakeRequest;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export namespace AnalyzerHandshakeRequest {
|
|
50
|
+
export type AsObject = {
|
|
51
|
+
engineAddress: string,
|
|
52
|
+
rootDirectory?: string,
|
|
53
|
+
programDirectory?: string,
|
|
54
|
+
stack: string,
|
|
55
|
+
project: string,
|
|
56
|
+
organization: string,
|
|
57
|
+
dryRun: boolean,
|
|
58
|
+
config?: google_protobuf_struct_pb.Struct.AsObject,
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export class AnalyzerHandshakeResponse extends jspb.Message {
|
|
63
|
+
|
|
64
|
+
serializeBinary(): Uint8Array;
|
|
65
|
+
toObject(includeInstance?: boolean): AnalyzerHandshakeResponse.AsObject;
|
|
66
|
+
static toObject(includeInstance: boolean, msg: AnalyzerHandshakeResponse): AnalyzerHandshakeResponse.AsObject;
|
|
67
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
68
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
69
|
+
static serializeBinaryToWriter(message: AnalyzerHandshakeResponse, writer: jspb.BinaryWriter): void;
|
|
70
|
+
static deserializeBinary(bytes: Uint8Array): AnalyzerHandshakeResponse;
|
|
71
|
+
static deserializeBinaryFromReader(message: AnalyzerHandshakeResponse, reader: jspb.BinaryReader): AnalyzerHandshakeResponse;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export namespace AnalyzerHandshakeResponse {
|
|
75
|
+
export type AsObject = {
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
12
79
|
export class AnalyzeRequest extends jspb.Message {
|
|
13
80
|
getType(): string;
|
|
14
81
|
setType(value: string): AnalyzeRequest;
|
package/proto/analyzer_pb.js
CHANGED
|
@@ -25,6 +25,8 @@ goog.exportSymbol('proto.pulumirpc.AnalyzeDiagnostic', null, global);
|
|
|
25
25
|
goog.exportSymbol('proto.pulumirpc.AnalyzeRequest', null, global);
|
|
26
26
|
goog.exportSymbol('proto.pulumirpc.AnalyzeResponse', null, global);
|
|
27
27
|
goog.exportSymbol('proto.pulumirpc.AnalyzeStackRequest', null, global);
|
|
28
|
+
goog.exportSymbol('proto.pulumirpc.AnalyzerHandshakeRequest', null, global);
|
|
29
|
+
goog.exportSymbol('proto.pulumirpc.AnalyzerHandshakeResponse', null, global);
|
|
28
30
|
goog.exportSymbol('proto.pulumirpc.AnalyzerInfo', null, global);
|
|
29
31
|
goog.exportSymbol('proto.pulumirpc.AnalyzerPropertyDependencies', null, global);
|
|
30
32
|
goog.exportSymbol('proto.pulumirpc.AnalyzerProviderResource', null, global);
|
|
@@ -38,6 +40,48 @@ goog.exportSymbol('proto.pulumirpc.PolicyConfigSchema', null, global);
|
|
|
38
40
|
goog.exportSymbol('proto.pulumirpc.PolicyInfo', null, global);
|
|
39
41
|
goog.exportSymbol('proto.pulumirpc.RemediateResponse', null, global);
|
|
40
42
|
goog.exportSymbol('proto.pulumirpc.Remediation', null, global);
|
|
43
|
+
/**
|
|
44
|
+
* Generated by JsPbCodeGenerator.
|
|
45
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
46
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
47
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
48
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
49
|
+
* valid.
|
|
50
|
+
* @extends {jspb.Message}
|
|
51
|
+
* @constructor
|
|
52
|
+
*/
|
|
53
|
+
proto.pulumirpc.AnalyzerHandshakeRequest = function(opt_data) {
|
|
54
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
55
|
+
};
|
|
56
|
+
goog.inherits(proto.pulumirpc.AnalyzerHandshakeRequest, jspb.Message);
|
|
57
|
+
if (goog.DEBUG && !COMPILED) {
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
* @override
|
|
61
|
+
*/
|
|
62
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.displayName = 'proto.pulumirpc.AnalyzerHandshakeRequest';
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Generated by JsPbCodeGenerator.
|
|
66
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
67
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
68
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
69
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
70
|
+
* valid.
|
|
71
|
+
* @extends {jspb.Message}
|
|
72
|
+
* @constructor
|
|
73
|
+
*/
|
|
74
|
+
proto.pulumirpc.AnalyzerHandshakeResponse = function(opt_data) {
|
|
75
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
76
|
+
};
|
|
77
|
+
goog.inherits(proto.pulumirpc.AnalyzerHandshakeResponse, jspb.Message);
|
|
78
|
+
if (goog.DEBUG && !COMPILED) {
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
* @override
|
|
82
|
+
*/
|
|
83
|
+
proto.pulumirpc.AnalyzerHandshakeResponse.displayName = 'proto.pulumirpc.AnalyzerHandshakeResponse';
|
|
84
|
+
}
|
|
41
85
|
/**
|
|
42
86
|
* Generated by JsPbCodeGenerator.
|
|
43
87
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -377,6 +421,504 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
377
421
|
|
|
378
422
|
|
|
379
423
|
|
|
424
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
425
|
+
/**
|
|
426
|
+
* Creates an object representation of this proto.
|
|
427
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
428
|
+
* Optional fields that are not set will be set to undefined.
|
|
429
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
430
|
+
* For the list of reserved names please see:
|
|
431
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
432
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
433
|
+
* JSPB instance for transitional soy proto support:
|
|
434
|
+
* http://goto/soy-param-migration
|
|
435
|
+
* @return {!Object}
|
|
436
|
+
*/
|
|
437
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
438
|
+
return proto.pulumirpc.AnalyzerHandshakeRequest.toObject(opt_includeInstance, this);
|
|
439
|
+
};
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* Static version of the {@see toObject} method.
|
|
444
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
445
|
+
* the JSPB instance for transitional soy proto support:
|
|
446
|
+
* http://goto/soy-param-migration
|
|
447
|
+
* @param {!proto.pulumirpc.AnalyzerHandshakeRequest} msg The msg instance to transform.
|
|
448
|
+
* @return {!Object}
|
|
449
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
450
|
+
*/
|
|
451
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.toObject = function(includeInstance, msg) {
|
|
452
|
+
var f, obj = {
|
|
453
|
+
engineAddress: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
454
|
+
rootDirectory: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
455
|
+
programDirectory: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
456
|
+
stack: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
457
|
+
project: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
458
|
+
organization: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
459
|
+
dryRun: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
460
|
+
config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
|
|
461
|
+
};
|
|
462
|
+
|
|
463
|
+
if (includeInstance) {
|
|
464
|
+
obj.$jspbMessageInstance = msg;
|
|
465
|
+
}
|
|
466
|
+
return obj;
|
|
467
|
+
};
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* Deserializes binary data (in protobuf wire format).
|
|
473
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
474
|
+
* @return {!proto.pulumirpc.AnalyzerHandshakeRequest}
|
|
475
|
+
*/
|
|
476
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.deserializeBinary = function(bytes) {
|
|
477
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
478
|
+
var msg = new proto.pulumirpc.AnalyzerHandshakeRequest;
|
|
479
|
+
return proto.pulumirpc.AnalyzerHandshakeRequest.deserializeBinaryFromReader(msg, reader);
|
|
480
|
+
};
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
485
|
+
* given reader into the given message object.
|
|
486
|
+
* @param {!proto.pulumirpc.AnalyzerHandshakeRequest} msg The message object to deserialize into.
|
|
487
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
488
|
+
* @return {!proto.pulumirpc.AnalyzerHandshakeRequest}
|
|
489
|
+
*/
|
|
490
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
491
|
+
while (reader.nextField()) {
|
|
492
|
+
if (reader.isEndGroup()) {
|
|
493
|
+
break;
|
|
494
|
+
}
|
|
495
|
+
var field = reader.getFieldNumber();
|
|
496
|
+
switch (field) {
|
|
497
|
+
case 1:
|
|
498
|
+
var value = /** @type {string} */ (reader.readString());
|
|
499
|
+
msg.setEngineAddress(value);
|
|
500
|
+
break;
|
|
501
|
+
case 2:
|
|
502
|
+
var value = /** @type {string} */ (reader.readString());
|
|
503
|
+
msg.setRootDirectory(value);
|
|
504
|
+
break;
|
|
505
|
+
case 3:
|
|
506
|
+
var value = /** @type {string} */ (reader.readString());
|
|
507
|
+
msg.setProgramDirectory(value);
|
|
508
|
+
break;
|
|
509
|
+
case 4:
|
|
510
|
+
var value = /** @type {string} */ (reader.readString());
|
|
511
|
+
msg.setStack(value);
|
|
512
|
+
break;
|
|
513
|
+
case 5:
|
|
514
|
+
var value = /** @type {string} */ (reader.readString());
|
|
515
|
+
msg.setProject(value);
|
|
516
|
+
break;
|
|
517
|
+
case 6:
|
|
518
|
+
var value = /** @type {string} */ (reader.readString());
|
|
519
|
+
msg.setOrganization(value);
|
|
520
|
+
break;
|
|
521
|
+
case 7:
|
|
522
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
523
|
+
msg.setDryRun(value);
|
|
524
|
+
break;
|
|
525
|
+
case 8:
|
|
526
|
+
var value = new google_protobuf_struct_pb.Struct;
|
|
527
|
+
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
528
|
+
msg.setConfig(value);
|
|
529
|
+
break;
|
|
530
|
+
default:
|
|
531
|
+
reader.skipField();
|
|
532
|
+
break;
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
return msg;
|
|
536
|
+
};
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
541
|
+
* @return {!Uint8Array}
|
|
542
|
+
*/
|
|
543
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.serializeBinary = function() {
|
|
544
|
+
var writer = new jspb.BinaryWriter();
|
|
545
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.serializeBinaryToWriter(this, writer);
|
|
546
|
+
return writer.getResultBuffer();
|
|
547
|
+
};
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
552
|
+
* format), writing to the given BinaryWriter.
|
|
553
|
+
* @param {!proto.pulumirpc.AnalyzerHandshakeRequest} message
|
|
554
|
+
* @param {!jspb.BinaryWriter} writer
|
|
555
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
556
|
+
*/
|
|
557
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
558
|
+
var f = undefined;
|
|
559
|
+
f = message.getEngineAddress();
|
|
560
|
+
if (f.length > 0) {
|
|
561
|
+
writer.writeString(
|
|
562
|
+
1,
|
|
563
|
+
f
|
|
564
|
+
);
|
|
565
|
+
}
|
|
566
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
567
|
+
if (f != null) {
|
|
568
|
+
writer.writeString(
|
|
569
|
+
2,
|
|
570
|
+
f
|
|
571
|
+
);
|
|
572
|
+
}
|
|
573
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
574
|
+
if (f != null) {
|
|
575
|
+
writer.writeString(
|
|
576
|
+
3,
|
|
577
|
+
f
|
|
578
|
+
);
|
|
579
|
+
}
|
|
580
|
+
f = message.getStack();
|
|
581
|
+
if (f.length > 0) {
|
|
582
|
+
writer.writeString(
|
|
583
|
+
4,
|
|
584
|
+
f
|
|
585
|
+
);
|
|
586
|
+
}
|
|
587
|
+
f = message.getProject();
|
|
588
|
+
if (f.length > 0) {
|
|
589
|
+
writer.writeString(
|
|
590
|
+
5,
|
|
591
|
+
f
|
|
592
|
+
);
|
|
593
|
+
}
|
|
594
|
+
f = message.getOrganization();
|
|
595
|
+
if (f.length > 0) {
|
|
596
|
+
writer.writeString(
|
|
597
|
+
6,
|
|
598
|
+
f
|
|
599
|
+
);
|
|
600
|
+
}
|
|
601
|
+
f = message.getDryRun();
|
|
602
|
+
if (f) {
|
|
603
|
+
writer.writeBool(
|
|
604
|
+
7,
|
|
605
|
+
f
|
|
606
|
+
);
|
|
607
|
+
}
|
|
608
|
+
f = message.getConfig();
|
|
609
|
+
if (f != null) {
|
|
610
|
+
writer.writeMessage(
|
|
611
|
+
8,
|
|
612
|
+
f,
|
|
613
|
+
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
614
|
+
);
|
|
615
|
+
}
|
|
616
|
+
};
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* optional string engine_address = 1;
|
|
621
|
+
* @return {string}
|
|
622
|
+
*/
|
|
623
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getEngineAddress = function() {
|
|
624
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
625
|
+
};
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* @param {string} value
|
|
630
|
+
* @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
|
|
631
|
+
*/
|
|
632
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setEngineAddress = function(value) {
|
|
633
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
634
|
+
};
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* optional string root_directory = 2;
|
|
639
|
+
* @return {string}
|
|
640
|
+
*/
|
|
641
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getRootDirectory = function() {
|
|
642
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
643
|
+
};
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* @param {string} value
|
|
648
|
+
* @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
|
|
649
|
+
*/
|
|
650
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setRootDirectory = function(value) {
|
|
651
|
+
return jspb.Message.setField(this, 2, value);
|
|
652
|
+
};
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* Clears the field making it undefined.
|
|
657
|
+
* @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
|
|
658
|
+
*/
|
|
659
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.clearRootDirectory = function() {
|
|
660
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
661
|
+
};
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* Returns whether this field is set.
|
|
666
|
+
* @return {boolean}
|
|
667
|
+
*/
|
|
668
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.hasRootDirectory = function() {
|
|
669
|
+
return jspb.Message.getField(this, 2) != null;
|
|
670
|
+
};
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* optional string program_directory = 3;
|
|
675
|
+
* @return {string}
|
|
676
|
+
*/
|
|
677
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getProgramDirectory = function() {
|
|
678
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
679
|
+
};
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* @param {string} value
|
|
684
|
+
* @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
|
|
685
|
+
*/
|
|
686
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setProgramDirectory = function(value) {
|
|
687
|
+
return jspb.Message.setField(this, 3, value);
|
|
688
|
+
};
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* Clears the field making it undefined.
|
|
693
|
+
* @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
|
|
694
|
+
*/
|
|
695
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.clearProgramDirectory = function() {
|
|
696
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
697
|
+
};
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* Returns whether this field is set.
|
|
702
|
+
* @return {boolean}
|
|
703
|
+
*/
|
|
704
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.hasProgramDirectory = function() {
|
|
705
|
+
return jspb.Message.getField(this, 3) != null;
|
|
706
|
+
};
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* optional string stack = 4;
|
|
711
|
+
* @return {string}
|
|
712
|
+
*/
|
|
713
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getStack = function() {
|
|
714
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
715
|
+
};
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* @param {string} value
|
|
720
|
+
* @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
|
|
721
|
+
*/
|
|
722
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setStack = function(value) {
|
|
723
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
724
|
+
};
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* optional string project = 5;
|
|
729
|
+
* @return {string}
|
|
730
|
+
*/
|
|
731
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getProject = function() {
|
|
732
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
733
|
+
};
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* @param {string} value
|
|
738
|
+
* @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
|
|
739
|
+
*/
|
|
740
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setProject = function(value) {
|
|
741
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
742
|
+
};
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
/**
|
|
746
|
+
* optional string organization = 6;
|
|
747
|
+
* @return {string}
|
|
748
|
+
*/
|
|
749
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getOrganization = function() {
|
|
750
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
751
|
+
};
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* @param {string} value
|
|
756
|
+
* @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
|
|
757
|
+
*/
|
|
758
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setOrganization = function(value) {
|
|
759
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
760
|
+
};
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* optional bool dry_run = 7;
|
|
765
|
+
* @return {boolean}
|
|
766
|
+
*/
|
|
767
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getDryRun = function() {
|
|
768
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
|
769
|
+
};
|
|
770
|
+
|
|
771
|
+
|
|
772
|
+
/**
|
|
773
|
+
* @param {boolean} value
|
|
774
|
+
* @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
|
|
775
|
+
*/
|
|
776
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setDryRun = function(value) {
|
|
777
|
+
return jspb.Message.setProto3BooleanField(this, 7, value);
|
|
778
|
+
};
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* optional google.protobuf.Struct config = 8;
|
|
783
|
+
* @return {?proto.google.protobuf.Struct}
|
|
784
|
+
*/
|
|
785
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.getConfig = function() {
|
|
786
|
+
return /** @type{?proto.google.protobuf.Struct} */ (
|
|
787
|
+
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 8));
|
|
788
|
+
};
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* @param {?proto.google.protobuf.Struct|undefined} value
|
|
793
|
+
* @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
|
|
794
|
+
*/
|
|
795
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.setConfig = function(value) {
|
|
796
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
797
|
+
};
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* Clears the message field making it undefined.
|
|
802
|
+
* @return {!proto.pulumirpc.AnalyzerHandshakeRequest} returns this
|
|
803
|
+
*/
|
|
804
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.clearConfig = function() {
|
|
805
|
+
return this.setConfig(undefined);
|
|
806
|
+
};
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* Returns whether this field is set.
|
|
811
|
+
* @return {boolean}
|
|
812
|
+
*/
|
|
813
|
+
proto.pulumirpc.AnalyzerHandshakeRequest.prototype.hasConfig = function() {
|
|
814
|
+
return jspb.Message.getField(this, 8) != null;
|
|
815
|
+
};
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
822
|
+
/**
|
|
823
|
+
* Creates an object representation of this proto.
|
|
824
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
825
|
+
* Optional fields that are not set will be set to undefined.
|
|
826
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
827
|
+
* For the list of reserved names please see:
|
|
828
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
829
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
830
|
+
* JSPB instance for transitional soy proto support:
|
|
831
|
+
* http://goto/soy-param-migration
|
|
832
|
+
* @return {!Object}
|
|
833
|
+
*/
|
|
834
|
+
proto.pulumirpc.AnalyzerHandshakeResponse.prototype.toObject = function(opt_includeInstance) {
|
|
835
|
+
return proto.pulumirpc.AnalyzerHandshakeResponse.toObject(opt_includeInstance, this);
|
|
836
|
+
};
|
|
837
|
+
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* Static version of the {@see toObject} method.
|
|
841
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
842
|
+
* the JSPB instance for transitional soy proto support:
|
|
843
|
+
* http://goto/soy-param-migration
|
|
844
|
+
* @param {!proto.pulumirpc.AnalyzerHandshakeResponse} msg The msg instance to transform.
|
|
845
|
+
* @return {!Object}
|
|
846
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
847
|
+
*/
|
|
848
|
+
proto.pulumirpc.AnalyzerHandshakeResponse.toObject = function(includeInstance, msg) {
|
|
849
|
+
var f, obj = {
|
|
850
|
+
|
|
851
|
+
};
|
|
852
|
+
|
|
853
|
+
if (includeInstance) {
|
|
854
|
+
obj.$jspbMessageInstance = msg;
|
|
855
|
+
}
|
|
856
|
+
return obj;
|
|
857
|
+
};
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* Deserializes binary data (in protobuf wire format).
|
|
863
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
864
|
+
* @return {!proto.pulumirpc.AnalyzerHandshakeResponse}
|
|
865
|
+
*/
|
|
866
|
+
proto.pulumirpc.AnalyzerHandshakeResponse.deserializeBinary = function(bytes) {
|
|
867
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
868
|
+
var msg = new proto.pulumirpc.AnalyzerHandshakeResponse;
|
|
869
|
+
return proto.pulumirpc.AnalyzerHandshakeResponse.deserializeBinaryFromReader(msg, reader);
|
|
870
|
+
};
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
875
|
+
* given reader into the given message object.
|
|
876
|
+
* @param {!proto.pulumirpc.AnalyzerHandshakeResponse} msg The message object to deserialize into.
|
|
877
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
878
|
+
* @return {!proto.pulumirpc.AnalyzerHandshakeResponse}
|
|
879
|
+
*/
|
|
880
|
+
proto.pulumirpc.AnalyzerHandshakeResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
881
|
+
while (reader.nextField()) {
|
|
882
|
+
if (reader.isEndGroup()) {
|
|
883
|
+
break;
|
|
884
|
+
}
|
|
885
|
+
var field = reader.getFieldNumber();
|
|
886
|
+
switch (field) {
|
|
887
|
+
default:
|
|
888
|
+
reader.skipField();
|
|
889
|
+
break;
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
return msg;
|
|
893
|
+
};
|
|
894
|
+
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
898
|
+
* @return {!Uint8Array}
|
|
899
|
+
*/
|
|
900
|
+
proto.pulumirpc.AnalyzerHandshakeResponse.prototype.serializeBinary = function() {
|
|
901
|
+
var writer = new jspb.BinaryWriter();
|
|
902
|
+
proto.pulumirpc.AnalyzerHandshakeResponse.serializeBinaryToWriter(this, writer);
|
|
903
|
+
return writer.getResultBuffer();
|
|
904
|
+
};
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
909
|
+
* format), writing to the given BinaryWriter.
|
|
910
|
+
* @param {!proto.pulumirpc.AnalyzerHandshakeResponse} message
|
|
911
|
+
* @param {!jspb.BinaryWriter} writer
|
|
912
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
913
|
+
*/
|
|
914
|
+
proto.pulumirpc.AnalyzerHandshakeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
915
|
+
var f = undefined;
|
|
916
|
+
};
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
|
|
380
922
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
381
923
|
/**
|
|
382
924
|
* Creates an object representation of this proto.
|
package/version.js
CHANGED
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
// See the License for the specific language governing permissions and
|
|
14
14
|
// limitations under the License.
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.version = "3.166.0-alpha.
|
|
16
|
+
exports.version = "3.166.0-alpha.xfd42286";
|
|
17
17
|
//# sourceMappingURL=version.js.map
|