@pulumi/pulumi 3.82.0 → 3.83.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 +1 -1
- package/proto/testing/language_grpc_pb.js +132 -0
- package/proto/testing/language_pb.js +1195 -0
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
// Original file comments:
|
|
4
|
+
// Copyright 2016-2023, Pulumi Corporation.
|
|
5
|
+
//
|
|
6
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
// you may not use this file except in compliance with the License.
|
|
8
|
+
// You may obtain a copy of the License at
|
|
9
|
+
//
|
|
10
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
//
|
|
12
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
// See the License for the specific language governing permissions and
|
|
16
|
+
// limitations under the License.
|
|
17
|
+
//
|
|
18
|
+
'use strict';
|
|
19
|
+
var grpc = require('grpc');
|
|
20
|
+
var pulumi_testing_language_pb = require('../../pulumi/testing/language_pb.js');
|
|
21
|
+
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
22
|
+
|
|
23
|
+
function serialize_pulumirpc_testing_GetLanguageTestsRequest(arg) {
|
|
24
|
+
if (!(arg instanceof pulumi_testing_language_pb.GetLanguageTestsRequest)) {
|
|
25
|
+
throw new Error('Expected argument of type pulumirpc.testing.GetLanguageTestsRequest');
|
|
26
|
+
}
|
|
27
|
+
return Buffer.from(arg.serializeBinary());
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function deserialize_pulumirpc_testing_GetLanguageTestsRequest(buffer_arg) {
|
|
31
|
+
return pulumi_testing_language_pb.GetLanguageTestsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
function serialize_pulumirpc_testing_GetLanguageTestsResponse(arg) {
|
|
35
|
+
if (!(arg instanceof pulumi_testing_language_pb.GetLanguageTestsResponse)) {
|
|
36
|
+
throw new Error('Expected argument of type pulumirpc.testing.GetLanguageTestsResponse');
|
|
37
|
+
}
|
|
38
|
+
return Buffer.from(arg.serializeBinary());
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function deserialize_pulumirpc_testing_GetLanguageTestsResponse(buffer_arg) {
|
|
42
|
+
return pulumi_testing_language_pb.GetLanguageTestsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
function serialize_pulumirpc_testing_PrepareLanguageTestsRequest(arg) {
|
|
46
|
+
if (!(arg instanceof pulumi_testing_language_pb.PrepareLanguageTestsRequest)) {
|
|
47
|
+
throw new Error('Expected argument of type pulumirpc.testing.PrepareLanguageTestsRequest');
|
|
48
|
+
}
|
|
49
|
+
return Buffer.from(arg.serializeBinary());
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function deserialize_pulumirpc_testing_PrepareLanguageTestsRequest(buffer_arg) {
|
|
53
|
+
return pulumi_testing_language_pb.PrepareLanguageTestsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
function serialize_pulumirpc_testing_PrepareLanguageTestsResponse(arg) {
|
|
57
|
+
if (!(arg instanceof pulumi_testing_language_pb.PrepareLanguageTestsResponse)) {
|
|
58
|
+
throw new Error('Expected argument of type pulumirpc.testing.PrepareLanguageTestsResponse');
|
|
59
|
+
}
|
|
60
|
+
return Buffer.from(arg.serializeBinary());
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function deserialize_pulumirpc_testing_PrepareLanguageTestsResponse(buffer_arg) {
|
|
64
|
+
return pulumi_testing_language_pb.PrepareLanguageTestsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
function serialize_pulumirpc_testing_RunLanguageTestRequest(arg) {
|
|
68
|
+
if (!(arg instanceof pulumi_testing_language_pb.RunLanguageTestRequest)) {
|
|
69
|
+
throw new Error('Expected argument of type pulumirpc.testing.RunLanguageTestRequest');
|
|
70
|
+
}
|
|
71
|
+
return Buffer.from(arg.serializeBinary());
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
function deserialize_pulumirpc_testing_RunLanguageTestRequest(buffer_arg) {
|
|
75
|
+
return pulumi_testing_language_pb.RunLanguageTestRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
function serialize_pulumirpc_testing_RunLanguageTestResponse(arg) {
|
|
79
|
+
if (!(arg instanceof pulumi_testing_language_pb.RunLanguageTestResponse)) {
|
|
80
|
+
throw new Error('Expected argument of type pulumirpc.testing.RunLanguageTestResponse');
|
|
81
|
+
}
|
|
82
|
+
return Buffer.from(arg.serializeBinary());
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
function deserialize_pulumirpc_testing_RunLanguageTestResponse(buffer_arg) {
|
|
86
|
+
return pulumi_testing_language_pb.RunLanguageTestResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
// LanguageTest is the interface to the pulumi language test framework. This is _highly_ experimental and
|
|
91
|
+
// currently subject to breaking changes without warning.
|
|
92
|
+
var LanguageTestService = exports.LanguageTestService = {
|
|
93
|
+
// GetLanguageTests returns a list of all the language tests.
|
|
94
|
+
getLanguageTests: {
|
|
95
|
+
path: '/pulumirpc.testing.LanguageTest/GetLanguageTests',
|
|
96
|
+
requestStream: false,
|
|
97
|
+
responseStream: false,
|
|
98
|
+
requestType: pulumi_testing_language_pb.GetLanguageTestsRequest,
|
|
99
|
+
responseType: pulumi_testing_language_pb.GetLanguageTestsResponse,
|
|
100
|
+
requestSerialize: serialize_pulumirpc_testing_GetLanguageTestsRequest,
|
|
101
|
+
requestDeserialize: deserialize_pulumirpc_testing_GetLanguageTestsRequest,
|
|
102
|
+
responseSerialize: serialize_pulumirpc_testing_GetLanguageTestsResponse,
|
|
103
|
+
responseDeserialize: deserialize_pulumirpc_testing_GetLanguageTestsResponse,
|
|
104
|
+
},
|
|
105
|
+
// PrepareLanguageTests prepares the engine to run language tests. It sets up a stable artifacts folder
|
|
106
|
+
// (which should be .gitignore'd) and fills it with the core SDK artifact.
|
|
107
|
+
prepareLanguageTests: {
|
|
108
|
+
path: '/pulumirpc.testing.LanguageTest/PrepareLanguageTests',
|
|
109
|
+
requestStream: false,
|
|
110
|
+
responseStream: false,
|
|
111
|
+
requestType: pulumi_testing_language_pb.PrepareLanguageTestsRequest,
|
|
112
|
+
responseType: pulumi_testing_language_pb.PrepareLanguageTestsResponse,
|
|
113
|
+
requestSerialize: serialize_pulumirpc_testing_PrepareLanguageTestsRequest,
|
|
114
|
+
requestDeserialize: deserialize_pulumirpc_testing_PrepareLanguageTestsRequest,
|
|
115
|
+
responseSerialize: serialize_pulumirpc_testing_PrepareLanguageTestsResponse,
|
|
116
|
+
responseDeserialize: deserialize_pulumirpc_testing_PrepareLanguageTestsResponse,
|
|
117
|
+
},
|
|
118
|
+
// RunLanguageTest runs a single test of the language plugin.
|
|
119
|
+
runLanguageTest: {
|
|
120
|
+
path: '/pulumirpc.testing.LanguageTest/RunLanguageTest',
|
|
121
|
+
requestStream: false,
|
|
122
|
+
responseStream: false,
|
|
123
|
+
requestType: pulumi_testing_language_pb.RunLanguageTestRequest,
|
|
124
|
+
responseType: pulumi_testing_language_pb.RunLanguageTestResponse,
|
|
125
|
+
requestSerialize: serialize_pulumirpc_testing_RunLanguageTestRequest,
|
|
126
|
+
requestDeserialize: deserialize_pulumirpc_testing_RunLanguageTestRequest,
|
|
127
|
+
responseSerialize: serialize_pulumirpc_testing_RunLanguageTestResponse,
|
|
128
|
+
responseDeserialize: deserialize_pulumirpc_testing_RunLanguageTestResponse,
|
|
129
|
+
},
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
exports.LanguageTestClient = grpc.makeGenericClientConstructor(LanguageTestService);
|
|
@@ -0,0 +1,1195 @@
|
|
|
1
|
+
// source: pulumi/testing/language.proto
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview
|
|
4
|
+
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
+
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
+
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
13
|
+
|
|
14
|
+
var jspb = require('google-protobuf');
|
|
15
|
+
var goog = jspb;
|
|
16
|
+
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
|
17
|
+
|
|
18
|
+
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
19
|
+
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
20
|
+
goog.exportSymbol('proto.pulumirpc.testing.GetLanguageTestsRequest', null, global);
|
|
21
|
+
goog.exportSymbol('proto.pulumirpc.testing.GetLanguageTestsResponse', null, global);
|
|
22
|
+
goog.exportSymbol('proto.pulumirpc.testing.PrepareLanguageTestsRequest', null, global);
|
|
23
|
+
goog.exportSymbol('proto.pulumirpc.testing.PrepareLanguageTestsResponse', null, global);
|
|
24
|
+
goog.exportSymbol('proto.pulumirpc.testing.RunLanguageTestRequest', null, global);
|
|
25
|
+
goog.exportSymbol('proto.pulumirpc.testing.RunLanguageTestResponse', null, global);
|
|
26
|
+
/**
|
|
27
|
+
* Generated by JsPbCodeGenerator.
|
|
28
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
29
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
30
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
31
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
32
|
+
* valid.
|
|
33
|
+
* @extends {jspb.Message}
|
|
34
|
+
* @constructor
|
|
35
|
+
*/
|
|
36
|
+
proto.pulumirpc.testing.GetLanguageTestsRequest = function(opt_data) {
|
|
37
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
38
|
+
};
|
|
39
|
+
goog.inherits(proto.pulumirpc.testing.GetLanguageTestsRequest, jspb.Message);
|
|
40
|
+
if (goog.DEBUG && !COMPILED) {
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
* @override
|
|
44
|
+
*/
|
|
45
|
+
proto.pulumirpc.testing.GetLanguageTestsRequest.displayName = 'proto.pulumirpc.testing.GetLanguageTestsRequest';
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Generated by JsPbCodeGenerator.
|
|
49
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
50
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
51
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
52
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
53
|
+
* valid.
|
|
54
|
+
* @extends {jspb.Message}
|
|
55
|
+
* @constructor
|
|
56
|
+
*/
|
|
57
|
+
proto.pulumirpc.testing.GetLanguageTestsResponse = function(opt_data) {
|
|
58
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.testing.GetLanguageTestsResponse.repeatedFields_, null);
|
|
59
|
+
};
|
|
60
|
+
goog.inherits(proto.pulumirpc.testing.GetLanguageTestsResponse, jspb.Message);
|
|
61
|
+
if (goog.DEBUG && !COMPILED) {
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
* @override
|
|
65
|
+
*/
|
|
66
|
+
proto.pulumirpc.testing.GetLanguageTestsResponse.displayName = 'proto.pulumirpc.testing.GetLanguageTestsResponse';
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Generated by JsPbCodeGenerator.
|
|
70
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
71
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
72
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
73
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
74
|
+
* valid.
|
|
75
|
+
* @extends {jspb.Message}
|
|
76
|
+
* @constructor
|
|
77
|
+
*/
|
|
78
|
+
proto.pulumirpc.testing.PrepareLanguageTestsRequest = function(opt_data) {
|
|
79
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
80
|
+
};
|
|
81
|
+
goog.inherits(proto.pulumirpc.testing.PrepareLanguageTestsRequest, jspb.Message);
|
|
82
|
+
if (goog.DEBUG && !COMPILED) {
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
* @override
|
|
86
|
+
*/
|
|
87
|
+
proto.pulumirpc.testing.PrepareLanguageTestsRequest.displayName = 'proto.pulumirpc.testing.PrepareLanguageTestsRequest';
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Generated by JsPbCodeGenerator.
|
|
91
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
92
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
93
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
94
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
95
|
+
* valid.
|
|
96
|
+
* @extends {jspb.Message}
|
|
97
|
+
* @constructor
|
|
98
|
+
*/
|
|
99
|
+
proto.pulumirpc.testing.PrepareLanguageTestsResponse = function(opt_data) {
|
|
100
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
101
|
+
};
|
|
102
|
+
goog.inherits(proto.pulumirpc.testing.PrepareLanguageTestsResponse, jspb.Message);
|
|
103
|
+
if (goog.DEBUG && !COMPILED) {
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
* @override
|
|
107
|
+
*/
|
|
108
|
+
proto.pulumirpc.testing.PrepareLanguageTestsResponse.displayName = 'proto.pulumirpc.testing.PrepareLanguageTestsResponse';
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Generated by JsPbCodeGenerator.
|
|
112
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
113
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
114
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
115
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
116
|
+
* valid.
|
|
117
|
+
* @extends {jspb.Message}
|
|
118
|
+
* @constructor
|
|
119
|
+
*/
|
|
120
|
+
proto.pulumirpc.testing.RunLanguageTestRequest = function(opt_data) {
|
|
121
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
122
|
+
};
|
|
123
|
+
goog.inherits(proto.pulumirpc.testing.RunLanguageTestRequest, jspb.Message);
|
|
124
|
+
if (goog.DEBUG && !COMPILED) {
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
* @override
|
|
128
|
+
*/
|
|
129
|
+
proto.pulumirpc.testing.RunLanguageTestRequest.displayName = 'proto.pulumirpc.testing.RunLanguageTestRequest';
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Generated by JsPbCodeGenerator.
|
|
133
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
134
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
135
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
136
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
137
|
+
* valid.
|
|
138
|
+
* @extends {jspb.Message}
|
|
139
|
+
* @constructor
|
|
140
|
+
*/
|
|
141
|
+
proto.pulumirpc.testing.RunLanguageTestResponse = function(opt_data) {
|
|
142
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.testing.RunLanguageTestResponse.repeatedFields_, null);
|
|
143
|
+
};
|
|
144
|
+
goog.inherits(proto.pulumirpc.testing.RunLanguageTestResponse, jspb.Message);
|
|
145
|
+
if (goog.DEBUG && !COMPILED) {
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
* @override
|
|
149
|
+
*/
|
|
150
|
+
proto.pulumirpc.testing.RunLanguageTestResponse.displayName = 'proto.pulumirpc.testing.RunLanguageTestResponse';
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
156
|
+
/**
|
|
157
|
+
* Creates an object representation of this proto.
|
|
158
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
159
|
+
* Optional fields that are not set will be set to undefined.
|
|
160
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
161
|
+
* For the list of reserved names please see:
|
|
162
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
163
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
164
|
+
* JSPB instance for transitional soy proto support:
|
|
165
|
+
* http://goto/soy-param-migration
|
|
166
|
+
* @return {!Object}
|
|
167
|
+
*/
|
|
168
|
+
proto.pulumirpc.testing.GetLanguageTestsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
169
|
+
return proto.pulumirpc.testing.GetLanguageTestsRequest.toObject(opt_includeInstance, this);
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Static version of the {@see toObject} method.
|
|
175
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
176
|
+
* the JSPB instance for transitional soy proto support:
|
|
177
|
+
* http://goto/soy-param-migration
|
|
178
|
+
* @param {!proto.pulumirpc.testing.GetLanguageTestsRequest} msg The msg instance to transform.
|
|
179
|
+
* @return {!Object}
|
|
180
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
181
|
+
*/
|
|
182
|
+
proto.pulumirpc.testing.GetLanguageTestsRequest.toObject = function(includeInstance, msg) {
|
|
183
|
+
var f, obj = {
|
|
184
|
+
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
if (includeInstance) {
|
|
188
|
+
obj.$jspbMessageInstance = msg;
|
|
189
|
+
}
|
|
190
|
+
return obj;
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Deserializes binary data (in protobuf wire format).
|
|
197
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
198
|
+
* @return {!proto.pulumirpc.testing.GetLanguageTestsRequest}
|
|
199
|
+
*/
|
|
200
|
+
proto.pulumirpc.testing.GetLanguageTestsRequest.deserializeBinary = function(bytes) {
|
|
201
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
202
|
+
var msg = new proto.pulumirpc.testing.GetLanguageTestsRequest;
|
|
203
|
+
return proto.pulumirpc.testing.GetLanguageTestsRequest.deserializeBinaryFromReader(msg, reader);
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
209
|
+
* given reader into the given message object.
|
|
210
|
+
* @param {!proto.pulumirpc.testing.GetLanguageTestsRequest} msg The message object to deserialize into.
|
|
211
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
212
|
+
* @return {!proto.pulumirpc.testing.GetLanguageTestsRequest}
|
|
213
|
+
*/
|
|
214
|
+
proto.pulumirpc.testing.GetLanguageTestsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
215
|
+
while (reader.nextField()) {
|
|
216
|
+
if (reader.isEndGroup()) {
|
|
217
|
+
break;
|
|
218
|
+
}
|
|
219
|
+
var field = reader.getFieldNumber();
|
|
220
|
+
switch (field) {
|
|
221
|
+
default:
|
|
222
|
+
reader.skipField();
|
|
223
|
+
break;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
return msg;
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
232
|
+
* @return {!Uint8Array}
|
|
233
|
+
*/
|
|
234
|
+
proto.pulumirpc.testing.GetLanguageTestsRequest.prototype.serializeBinary = function() {
|
|
235
|
+
var writer = new jspb.BinaryWriter();
|
|
236
|
+
proto.pulumirpc.testing.GetLanguageTestsRequest.serializeBinaryToWriter(this, writer);
|
|
237
|
+
return writer.getResultBuffer();
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
243
|
+
* format), writing to the given BinaryWriter.
|
|
244
|
+
* @param {!proto.pulumirpc.testing.GetLanguageTestsRequest} message
|
|
245
|
+
* @param {!jspb.BinaryWriter} writer
|
|
246
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
247
|
+
*/
|
|
248
|
+
proto.pulumirpc.testing.GetLanguageTestsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
249
|
+
var f = undefined;
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* List of repeated fields within this message type.
|
|
256
|
+
* @private {!Array<number>}
|
|
257
|
+
* @const
|
|
258
|
+
*/
|
|
259
|
+
proto.pulumirpc.testing.GetLanguageTestsResponse.repeatedFields_ = [1];
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
264
|
+
/**
|
|
265
|
+
* Creates an object representation of this proto.
|
|
266
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
267
|
+
* Optional fields that are not set will be set to undefined.
|
|
268
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
269
|
+
* For the list of reserved names please see:
|
|
270
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
271
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
272
|
+
* JSPB instance for transitional soy proto support:
|
|
273
|
+
* http://goto/soy-param-migration
|
|
274
|
+
* @return {!Object}
|
|
275
|
+
*/
|
|
276
|
+
proto.pulumirpc.testing.GetLanguageTestsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
277
|
+
return proto.pulumirpc.testing.GetLanguageTestsResponse.toObject(opt_includeInstance, this);
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* Static version of the {@see toObject} method.
|
|
283
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
284
|
+
* the JSPB instance for transitional soy proto support:
|
|
285
|
+
* http://goto/soy-param-migration
|
|
286
|
+
* @param {!proto.pulumirpc.testing.GetLanguageTestsResponse} msg The msg instance to transform.
|
|
287
|
+
* @return {!Object}
|
|
288
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
289
|
+
*/
|
|
290
|
+
proto.pulumirpc.testing.GetLanguageTestsResponse.toObject = function(includeInstance, msg) {
|
|
291
|
+
var f, obj = {
|
|
292
|
+
testsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
293
|
+
};
|
|
294
|
+
|
|
295
|
+
if (includeInstance) {
|
|
296
|
+
obj.$jspbMessageInstance = msg;
|
|
297
|
+
}
|
|
298
|
+
return obj;
|
|
299
|
+
};
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Deserializes binary data (in protobuf wire format).
|
|
305
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
306
|
+
* @return {!proto.pulumirpc.testing.GetLanguageTestsResponse}
|
|
307
|
+
*/
|
|
308
|
+
proto.pulumirpc.testing.GetLanguageTestsResponse.deserializeBinary = function(bytes) {
|
|
309
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
310
|
+
var msg = new proto.pulumirpc.testing.GetLanguageTestsResponse;
|
|
311
|
+
return proto.pulumirpc.testing.GetLanguageTestsResponse.deserializeBinaryFromReader(msg, reader);
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
317
|
+
* given reader into the given message object.
|
|
318
|
+
* @param {!proto.pulumirpc.testing.GetLanguageTestsResponse} msg The message object to deserialize into.
|
|
319
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
320
|
+
* @return {!proto.pulumirpc.testing.GetLanguageTestsResponse}
|
|
321
|
+
*/
|
|
322
|
+
proto.pulumirpc.testing.GetLanguageTestsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
323
|
+
while (reader.nextField()) {
|
|
324
|
+
if (reader.isEndGroup()) {
|
|
325
|
+
break;
|
|
326
|
+
}
|
|
327
|
+
var field = reader.getFieldNumber();
|
|
328
|
+
switch (field) {
|
|
329
|
+
case 1:
|
|
330
|
+
var value = /** @type {string} */ (reader.readString());
|
|
331
|
+
msg.addTests(value);
|
|
332
|
+
break;
|
|
333
|
+
default:
|
|
334
|
+
reader.skipField();
|
|
335
|
+
break;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
return msg;
|
|
339
|
+
};
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
344
|
+
* @return {!Uint8Array}
|
|
345
|
+
*/
|
|
346
|
+
proto.pulumirpc.testing.GetLanguageTestsResponse.prototype.serializeBinary = function() {
|
|
347
|
+
var writer = new jspb.BinaryWriter();
|
|
348
|
+
proto.pulumirpc.testing.GetLanguageTestsResponse.serializeBinaryToWriter(this, writer);
|
|
349
|
+
return writer.getResultBuffer();
|
|
350
|
+
};
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
355
|
+
* format), writing to the given BinaryWriter.
|
|
356
|
+
* @param {!proto.pulumirpc.testing.GetLanguageTestsResponse} message
|
|
357
|
+
* @param {!jspb.BinaryWriter} writer
|
|
358
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
359
|
+
*/
|
|
360
|
+
proto.pulumirpc.testing.GetLanguageTestsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
361
|
+
var f = undefined;
|
|
362
|
+
f = message.getTestsList();
|
|
363
|
+
if (f.length > 0) {
|
|
364
|
+
writer.writeRepeatedString(
|
|
365
|
+
1,
|
|
366
|
+
f
|
|
367
|
+
);
|
|
368
|
+
}
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* repeated string tests = 1;
|
|
374
|
+
* @return {!Array<string>}
|
|
375
|
+
*/
|
|
376
|
+
proto.pulumirpc.testing.GetLanguageTestsResponse.prototype.getTestsList = function() {
|
|
377
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
378
|
+
};
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* @param {!Array<string>} value
|
|
383
|
+
* @return {!proto.pulumirpc.testing.GetLanguageTestsResponse} returns this
|
|
384
|
+
*/
|
|
385
|
+
proto.pulumirpc.testing.GetLanguageTestsResponse.prototype.setTestsList = function(value) {
|
|
386
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
387
|
+
};
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* @param {string} value
|
|
392
|
+
* @param {number=} opt_index
|
|
393
|
+
* @return {!proto.pulumirpc.testing.GetLanguageTestsResponse} returns this
|
|
394
|
+
*/
|
|
395
|
+
proto.pulumirpc.testing.GetLanguageTestsResponse.prototype.addTests = function(value, opt_index) {
|
|
396
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
397
|
+
};
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* Clears the list making it empty but non-null.
|
|
402
|
+
* @return {!proto.pulumirpc.testing.GetLanguageTestsResponse} returns this
|
|
403
|
+
*/
|
|
404
|
+
proto.pulumirpc.testing.GetLanguageTestsResponse.prototype.clearTestsList = function() {
|
|
405
|
+
return this.setTestsList([]);
|
|
406
|
+
};
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
413
|
+
/**
|
|
414
|
+
* Creates an object representation of this proto.
|
|
415
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
416
|
+
* Optional fields that are not set will be set to undefined.
|
|
417
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
418
|
+
* For the list of reserved names please see:
|
|
419
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
420
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
421
|
+
* JSPB instance for transitional soy proto support:
|
|
422
|
+
* http://goto/soy-param-migration
|
|
423
|
+
* @return {!Object}
|
|
424
|
+
*/
|
|
425
|
+
proto.pulumirpc.testing.PrepareLanguageTestsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
426
|
+
return proto.pulumirpc.testing.PrepareLanguageTestsRequest.toObject(opt_includeInstance, this);
|
|
427
|
+
};
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* Static version of the {@see toObject} method.
|
|
432
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
433
|
+
* the JSPB instance for transitional soy proto support:
|
|
434
|
+
* http://goto/soy-param-migration
|
|
435
|
+
* @param {!proto.pulumirpc.testing.PrepareLanguageTestsRequest} msg The msg instance to transform.
|
|
436
|
+
* @return {!Object}
|
|
437
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
438
|
+
*/
|
|
439
|
+
proto.pulumirpc.testing.PrepareLanguageTestsRequest.toObject = function(includeInstance, msg) {
|
|
440
|
+
var f, obj = {
|
|
441
|
+
languagePluginName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
442
|
+
languagePluginTarget: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
443
|
+
snapshotDirectory: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
444
|
+
temporaryDirectory: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
445
|
+
coreSdkDirectory: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
446
|
+
};
|
|
447
|
+
|
|
448
|
+
if (includeInstance) {
|
|
449
|
+
obj.$jspbMessageInstance = msg;
|
|
450
|
+
}
|
|
451
|
+
return obj;
|
|
452
|
+
};
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* Deserializes binary data (in protobuf wire format).
|
|
458
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
459
|
+
* @return {!proto.pulumirpc.testing.PrepareLanguageTestsRequest}
|
|
460
|
+
*/
|
|
461
|
+
proto.pulumirpc.testing.PrepareLanguageTestsRequest.deserializeBinary = function(bytes) {
|
|
462
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
463
|
+
var msg = new proto.pulumirpc.testing.PrepareLanguageTestsRequest;
|
|
464
|
+
return proto.pulumirpc.testing.PrepareLanguageTestsRequest.deserializeBinaryFromReader(msg, reader);
|
|
465
|
+
};
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
470
|
+
* given reader into the given message object.
|
|
471
|
+
* @param {!proto.pulumirpc.testing.PrepareLanguageTestsRequest} msg The message object to deserialize into.
|
|
472
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
473
|
+
* @return {!proto.pulumirpc.testing.PrepareLanguageTestsRequest}
|
|
474
|
+
*/
|
|
475
|
+
proto.pulumirpc.testing.PrepareLanguageTestsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
476
|
+
while (reader.nextField()) {
|
|
477
|
+
if (reader.isEndGroup()) {
|
|
478
|
+
break;
|
|
479
|
+
}
|
|
480
|
+
var field = reader.getFieldNumber();
|
|
481
|
+
switch (field) {
|
|
482
|
+
case 1:
|
|
483
|
+
var value = /** @type {string} */ (reader.readString());
|
|
484
|
+
msg.setLanguagePluginName(value);
|
|
485
|
+
break;
|
|
486
|
+
case 2:
|
|
487
|
+
var value = /** @type {string} */ (reader.readString());
|
|
488
|
+
msg.setLanguagePluginTarget(value);
|
|
489
|
+
break;
|
|
490
|
+
case 3:
|
|
491
|
+
var value = /** @type {string} */ (reader.readString());
|
|
492
|
+
msg.setSnapshotDirectory(value);
|
|
493
|
+
break;
|
|
494
|
+
case 4:
|
|
495
|
+
var value = /** @type {string} */ (reader.readString());
|
|
496
|
+
msg.setTemporaryDirectory(value);
|
|
497
|
+
break;
|
|
498
|
+
case 5:
|
|
499
|
+
var value = /** @type {string} */ (reader.readString());
|
|
500
|
+
msg.setCoreSdkDirectory(value);
|
|
501
|
+
break;
|
|
502
|
+
default:
|
|
503
|
+
reader.skipField();
|
|
504
|
+
break;
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
return msg;
|
|
508
|
+
};
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
513
|
+
* @return {!Uint8Array}
|
|
514
|
+
*/
|
|
515
|
+
proto.pulumirpc.testing.PrepareLanguageTestsRequest.prototype.serializeBinary = function() {
|
|
516
|
+
var writer = new jspb.BinaryWriter();
|
|
517
|
+
proto.pulumirpc.testing.PrepareLanguageTestsRequest.serializeBinaryToWriter(this, writer);
|
|
518
|
+
return writer.getResultBuffer();
|
|
519
|
+
};
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
524
|
+
* format), writing to the given BinaryWriter.
|
|
525
|
+
* @param {!proto.pulumirpc.testing.PrepareLanguageTestsRequest} message
|
|
526
|
+
* @param {!jspb.BinaryWriter} writer
|
|
527
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
528
|
+
*/
|
|
529
|
+
proto.pulumirpc.testing.PrepareLanguageTestsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
530
|
+
var f = undefined;
|
|
531
|
+
f = message.getLanguagePluginName();
|
|
532
|
+
if (f.length > 0) {
|
|
533
|
+
writer.writeString(
|
|
534
|
+
1,
|
|
535
|
+
f
|
|
536
|
+
);
|
|
537
|
+
}
|
|
538
|
+
f = message.getLanguagePluginTarget();
|
|
539
|
+
if (f.length > 0) {
|
|
540
|
+
writer.writeString(
|
|
541
|
+
2,
|
|
542
|
+
f
|
|
543
|
+
);
|
|
544
|
+
}
|
|
545
|
+
f = message.getSnapshotDirectory();
|
|
546
|
+
if (f.length > 0) {
|
|
547
|
+
writer.writeString(
|
|
548
|
+
3,
|
|
549
|
+
f
|
|
550
|
+
);
|
|
551
|
+
}
|
|
552
|
+
f = message.getTemporaryDirectory();
|
|
553
|
+
if (f.length > 0) {
|
|
554
|
+
writer.writeString(
|
|
555
|
+
4,
|
|
556
|
+
f
|
|
557
|
+
);
|
|
558
|
+
}
|
|
559
|
+
f = message.getCoreSdkDirectory();
|
|
560
|
+
if (f.length > 0) {
|
|
561
|
+
writer.writeString(
|
|
562
|
+
5,
|
|
563
|
+
f
|
|
564
|
+
);
|
|
565
|
+
}
|
|
566
|
+
};
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* optional string language_plugin_name = 1;
|
|
571
|
+
* @return {string}
|
|
572
|
+
*/
|
|
573
|
+
proto.pulumirpc.testing.PrepareLanguageTestsRequest.prototype.getLanguagePluginName = function() {
|
|
574
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
575
|
+
};
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* @param {string} value
|
|
580
|
+
* @return {!proto.pulumirpc.testing.PrepareLanguageTestsRequest} returns this
|
|
581
|
+
*/
|
|
582
|
+
proto.pulumirpc.testing.PrepareLanguageTestsRequest.prototype.setLanguagePluginName = function(value) {
|
|
583
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
584
|
+
};
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* optional string language_plugin_target = 2;
|
|
589
|
+
* @return {string}
|
|
590
|
+
*/
|
|
591
|
+
proto.pulumirpc.testing.PrepareLanguageTestsRequest.prototype.getLanguagePluginTarget = function() {
|
|
592
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
593
|
+
};
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* @param {string} value
|
|
598
|
+
* @return {!proto.pulumirpc.testing.PrepareLanguageTestsRequest} returns this
|
|
599
|
+
*/
|
|
600
|
+
proto.pulumirpc.testing.PrepareLanguageTestsRequest.prototype.setLanguagePluginTarget = function(value) {
|
|
601
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
602
|
+
};
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* optional string snapshot_directory = 3;
|
|
607
|
+
* @return {string}
|
|
608
|
+
*/
|
|
609
|
+
proto.pulumirpc.testing.PrepareLanguageTestsRequest.prototype.getSnapshotDirectory = function() {
|
|
610
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
611
|
+
};
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* @param {string} value
|
|
616
|
+
* @return {!proto.pulumirpc.testing.PrepareLanguageTestsRequest} returns this
|
|
617
|
+
*/
|
|
618
|
+
proto.pulumirpc.testing.PrepareLanguageTestsRequest.prototype.setSnapshotDirectory = function(value) {
|
|
619
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
620
|
+
};
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* optional string temporary_directory = 4;
|
|
625
|
+
* @return {string}
|
|
626
|
+
*/
|
|
627
|
+
proto.pulumirpc.testing.PrepareLanguageTestsRequest.prototype.getTemporaryDirectory = function() {
|
|
628
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
629
|
+
};
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* @param {string} value
|
|
634
|
+
* @return {!proto.pulumirpc.testing.PrepareLanguageTestsRequest} returns this
|
|
635
|
+
*/
|
|
636
|
+
proto.pulumirpc.testing.PrepareLanguageTestsRequest.prototype.setTemporaryDirectory = function(value) {
|
|
637
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
638
|
+
};
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* optional string core_sdk_directory = 5;
|
|
643
|
+
* @return {string}
|
|
644
|
+
*/
|
|
645
|
+
proto.pulumirpc.testing.PrepareLanguageTestsRequest.prototype.getCoreSdkDirectory = function() {
|
|
646
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
647
|
+
};
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* @param {string} value
|
|
652
|
+
* @return {!proto.pulumirpc.testing.PrepareLanguageTestsRequest} returns this
|
|
653
|
+
*/
|
|
654
|
+
proto.pulumirpc.testing.PrepareLanguageTestsRequest.prototype.setCoreSdkDirectory = function(value) {
|
|
655
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
656
|
+
};
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
663
|
+
/**
|
|
664
|
+
* Creates an object representation of this proto.
|
|
665
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
666
|
+
* Optional fields that are not set will be set to undefined.
|
|
667
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
668
|
+
* For the list of reserved names please see:
|
|
669
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
670
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
671
|
+
* JSPB instance for transitional soy proto support:
|
|
672
|
+
* http://goto/soy-param-migration
|
|
673
|
+
* @return {!Object}
|
|
674
|
+
*/
|
|
675
|
+
proto.pulumirpc.testing.PrepareLanguageTestsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
676
|
+
return proto.pulumirpc.testing.PrepareLanguageTestsResponse.toObject(opt_includeInstance, this);
|
|
677
|
+
};
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* Static version of the {@see toObject} method.
|
|
682
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
683
|
+
* the JSPB instance for transitional soy proto support:
|
|
684
|
+
* http://goto/soy-param-migration
|
|
685
|
+
* @param {!proto.pulumirpc.testing.PrepareLanguageTestsResponse} msg The msg instance to transform.
|
|
686
|
+
* @return {!Object}
|
|
687
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
688
|
+
*/
|
|
689
|
+
proto.pulumirpc.testing.PrepareLanguageTestsResponse.toObject = function(includeInstance, msg) {
|
|
690
|
+
var f, obj = {
|
|
691
|
+
token: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
692
|
+
};
|
|
693
|
+
|
|
694
|
+
if (includeInstance) {
|
|
695
|
+
obj.$jspbMessageInstance = msg;
|
|
696
|
+
}
|
|
697
|
+
return obj;
|
|
698
|
+
};
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* Deserializes binary data (in protobuf wire format).
|
|
704
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
705
|
+
* @return {!proto.pulumirpc.testing.PrepareLanguageTestsResponse}
|
|
706
|
+
*/
|
|
707
|
+
proto.pulumirpc.testing.PrepareLanguageTestsResponse.deserializeBinary = function(bytes) {
|
|
708
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
709
|
+
var msg = new proto.pulumirpc.testing.PrepareLanguageTestsResponse;
|
|
710
|
+
return proto.pulumirpc.testing.PrepareLanguageTestsResponse.deserializeBinaryFromReader(msg, reader);
|
|
711
|
+
};
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
716
|
+
* given reader into the given message object.
|
|
717
|
+
* @param {!proto.pulumirpc.testing.PrepareLanguageTestsResponse} msg The message object to deserialize into.
|
|
718
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
719
|
+
* @return {!proto.pulumirpc.testing.PrepareLanguageTestsResponse}
|
|
720
|
+
*/
|
|
721
|
+
proto.pulumirpc.testing.PrepareLanguageTestsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
722
|
+
while (reader.nextField()) {
|
|
723
|
+
if (reader.isEndGroup()) {
|
|
724
|
+
break;
|
|
725
|
+
}
|
|
726
|
+
var field = reader.getFieldNumber();
|
|
727
|
+
switch (field) {
|
|
728
|
+
case 1:
|
|
729
|
+
var value = /** @type {string} */ (reader.readString());
|
|
730
|
+
msg.setToken(value);
|
|
731
|
+
break;
|
|
732
|
+
default:
|
|
733
|
+
reader.skipField();
|
|
734
|
+
break;
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
return msg;
|
|
738
|
+
};
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
743
|
+
* @return {!Uint8Array}
|
|
744
|
+
*/
|
|
745
|
+
proto.pulumirpc.testing.PrepareLanguageTestsResponse.prototype.serializeBinary = function() {
|
|
746
|
+
var writer = new jspb.BinaryWriter();
|
|
747
|
+
proto.pulumirpc.testing.PrepareLanguageTestsResponse.serializeBinaryToWriter(this, writer);
|
|
748
|
+
return writer.getResultBuffer();
|
|
749
|
+
};
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
754
|
+
* format), writing to the given BinaryWriter.
|
|
755
|
+
* @param {!proto.pulumirpc.testing.PrepareLanguageTestsResponse} message
|
|
756
|
+
* @param {!jspb.BinaryWriter} writer
|
|
757
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
758
|
+
*/
|
|
759
|
+
proto.pulumirpc.testing.PrepareLanguageTestsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
760
|
+
var f = undefined;
|
|
761
|
+
f = message.getToken();
|
|
762
|
+
if (f.length > 0) {
|
|
763
|
+
writer.writeString(
|
|
764
|
+
1,
|
|
765
|
+
f
|
|
766
|
+
);
|
|
767
|
+
}
|
|
768
|
+
};
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
/**
|
|
772
|
+
* optional string token = 1;
|
|
773
|
+
* @return {string}
|
|
774
|
+
*/
|
|
775
|
+
proto.pulumirpc.testing.PrepareLanguageTestsResponse.prototype.getToken = function() {
|
|
776
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
777
|
+
};
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+
/**
|
|
781
|
+
* @param {string} value
|
|
782
|
+
* @return {!proto.pulumirpc.testing.PrepareLanguageTestsResponse} returns this
|
|
783
|
+
*/
|
|
784
|
+
proto.pulumirpc.testing.PrepareLanguageTestsResponse.prototype.setToken = function(value) {
|
|
785
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
786
|
+
};
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
793
|
+
/**
|
|
794
|
+
* Creates an object representation of this proto.
|
|
795
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
796
|
+
* Optional fields that are not set will be set to undefined.
|
|
797
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
798
|
+
* For the list of reserved names please see:
|
|
799
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
800
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
801
|
+
* JSPB instance for transitional soy proto support:
|
|
802
|
+
* http://goto/soy-param-migration
|
|
803
|
+
* @return {!Object}
|
|
804
|
+
*/
|
|
805
|
+
proto.pulumirpc.testing.RunLanguageTestRequest.prototype.toObject = function(opt_includeInstance) {
|
|
806
|
+
return proto.pulumirpc.testing.RunLanguageTestRequest.toObject(opt_includeInstance, this);
|
|
807
|
+
};
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* Static version of the {@see toObject} method.
|
|
812
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
813
|
+
* the JSPB instance for transitional soy proto support:
|
|
814
|
+
* http://goto/soy-param-migration
|
|
815
|
+
* @param {!proto.pulumirpc.testing.RunLanguageTestRequest} msg The msg instance to transform.
|
|
816
|
+
* @return {!Object}
|
|
817
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
818
|
+
*/
|
|
819
|
+
proto.pulumirpc.testing.RunLanguageTestRequest.toObject = function(includeInstance, msg) {
|
|
820
|
+
var f, obj = {
|
|
821
|
+
token: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
822
|
+
test: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
823
|
+
};
|
|
824
|
+
|
|
825
|
+
if (includeInstance) {
|
|
826
|
+
obj.$jspbMessageInstance = msg;
|
|
827
|
+
}
|
|
828
|
+
return obj;
|
|
829
|
+
};
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* Deserializes binary data (in protobuf wire format).
|
|
835
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
836
|
+
* @return {!proto.pulumirpc.testing.RunLanguageTestRequest}
|
|
837
|
+
*/
|
|
838
|
+
proto.pulumirpc.testing.RunLanguageTestRequest.deserializeBinary = function(bytes) {
|
|
839
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
840
|
+
var msg = new proto.pulumirpc.testing.RunLanguageTestRequest;
|
|
841
|
+
return proto.pulumirpc.testing.RunLanguageTestRequest.deserializeBinaryFromReader(msg, reader);
|
|
842
|
+
};
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
847
|
+
* given reader into the given message object.
|
|
848
|
+
* @param {!proto.pulumirpc.testing.RunLanguageTestRequest} msg The message object to deserialize into.
|
|
849
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
850
|
+
* @return {!proto.pulumirpc.testing.RunLanguageTestRequest}
|
|
851
|
+
*/
|
|
852
|
+
proto.pulumirpc.testing.RunLanguageTestRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
853
|
+
while (reader.nextField()) {
|
|
854
|
+
if (reader.isEndGroup()) {
|
|
855
|
+
break;
|
|
856
|
+
}
|
|
857
|
+
var field = reader.getFieldNumber();
|
|
858
|
+
switch (field) {
|
|
859
|
+
case 1:
|
|
860
|
+
var value = /** @type {string} */ (reader.readString());
|
|
861
|
+
msg.setToken(value);
|
|
862
|
+
break;
|
|
863
|
+
case 2:
|
|
864
|
+
var value = /** @type {string} */ (reader.readString());
|
|
865
|
+
msg.setTest(value);
|
|
866
|
+
break;
|
|
867
|
+
default:
|
|
868
|
+
reader.skipField();
|
|
869
|
+
break;
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
return msg;
|
|
873
|
+
};
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
878
|
+
* @return {!Uint8Array}
|
|
879
|
+
*/
|
|
880
|
+
proto.pulumirpc.testing.RunLanguageTestRequest.prototype.serializeBinary = function() {
|
|
881
|
+
var writer = new jspb.BinaryWriter();
|
|
882
|
+
proto.pulumirpc.testing.RunLanguageTestRequest.serializeBinaryToWriter(this, writer);
|
|
883
|
+
return writer.getResultBuffer();
|
|
884
|
+
};
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
889
|
+
* format), writing to the given BinaryWriter.
|
|
890
|
+
* @param {!proto.pulumirpc.testing.RunLanguageTestRequest} message
|
|
891
|
+
* @param {!jspb.BinaryWriter} writer
|
|
892
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
893
|
+
*/
|
|
894
|
+
proto.pulumirpc.testing.RunLanguageTestRequest.serializeBinaryToWriter = function(message, writer) {
|
|
895
|
+
var f = undefined;
|
|
896
|
+
f = message.getToken();
|
|
897
|
+
if (f.length > 0) {
|
|
898
|
+
writer.writeString(
|
|
899
|
+
1,
|
|
900
|
+
f
|
|
901
|
+
);
|
|
902
|
+
}
|
|
903
|
+
f = message.getTest();
|
|
904
|
+
if (f.length > 0) {
|
|
905
|
+
writer.writeString(
|
|
906
|
+
2,
|
|
907
|
+
f
|
|
908
|
+
);
|
|
909
|
+
}
|
|
910
|
+
};
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
/**
|
|
914
|
+
* optional string token = 1;
|
|
915
|
+
* @return {string}
|
|
916
|
+
*/
|
|
917
|
+
proto.pulumirpc.testing.RunLanguageTestRequest.prototype.getToken = function() {
|
|
918
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
919
|
+
};
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
/**
|
|
923
|
+
* @param {string} value
|
|
924
|
+
* @return {!proto.pulumirpc.testing.RunLanguageTestRequest} returns this
|
|
925
|
+
*/
|
|
926
|
+
proto.pulumirpc.testing.RunLanguageTestRequest.prototype.setToken = function(value) {
|
|
927
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
928
|
+
};
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
/**
|
|
932
|
+
* optional string test = 2;
|
|
933
|
+
* @return {string}
|
|
934
|
+
*/
|
|
935
|
+
proto.pulumirpc.testing.RunLanguageTestRequest.prototype.getTest = function() {
|
|
936
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
937
|
+
};
|
|
938
|
+
|
|
939
|
+
|
|
940
|
+
/**
|
|
941
|
+
* @param {string} value
|
|
942
|
+
* @return {!proto.pulumirpc.testing.RunLanguageTestRequest} returns this
|
|
943
|
+
*/
|
|
944
|
+
proto.pulumirpc.testing.RunLanguageTestRequest.prototype.setTest = function(value) {
|
|
945
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
946
|
+
};
|
|
947
|
+
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
/**
|
|
951
|
+
* List of repeated fields within this message type.
|
|
952
|
+
* @private {!Array<number>}
|
|
953
|
+
* @const
|
|
954
|
+
*/
|
|
955
|
+
proto.pulumirpc.testing.RunLanguageTestResponse.repeatedFields_ = [2];
|
|
956
|
+
|
|
957
|
+
|
|
958
|
+
|
|
959
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
960
|
+
/**
|
|
961
|
+
* Creates an object representation of this proto.
|
|
962
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
963
|
+
* Optional fields that are not set will be set to undefined.
|
|
964
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
965
|
+
* For the list of reserved names please see:
|
|
966
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
967
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
968
|
+
* JSPB instance for transitional soy proto support:
|
|
969
|
+
* http://goto/soy-param-migration
|
|
970
|
+
* @return {!Object}
|
|
971
|
+
*/
|
|
972
|
+
proto.pulumirpc.testing.RunLanguageTestResponse.prototype.toObject = function(opt_includeInstance) {
|
|
973
|
+
return proto.pulumirpc.testing.RunLanguageTestResponse.toObject(opt_includeInstance, this);
|
|
974
|
+
};
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* Static version of the {@see toObject} method.
|
|
979
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
980
|
+
* the JSPB instance for transitional soy proto support:
|
|
981
|
+
* http://goto/soy-param-migration
|
|
982
|
+
* @param {!proto.pulumirpc.testing.RunLanguageTestResponse} msg The msg instance to transform.
|
|
983
|
+
* @return {!Object}
|
|
984
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
985
|
+
*/
|
|
986
|
+
proto.pulumirpc.testing.RunLanguageTestResponse.toObject = function(includeInstance, msg) {
|
|
987
|
+
var f, obj = {
|
|
988
|
+
success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
989
|
+
messagesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
990
|
+
stdout: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
991
|
+
stderr: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
992
|
+
};
|
|
993
|
+
|
|
994
|
+
if (includeInstance) {
|
|
995
|
+
obj.$jspbMessageInstance = msg;
|
|
996
|
+
}
|
|
997
|
+
return obj;
|
|
998
|
+
};
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1004
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1005
|
+
* @return {!proto.pulumirpc.testing.RunLanguageTestResponse}
|
|
1006
|
+
*/
|
|
1007
|
+
proto.pulumirpc.testing.RunLanguageTestResponse.deserializeBinary = function(bytes) {
|
|
1008
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1009
|
+
var msg = new proto.pulumirpc.testing.RunLanguageTestResponse;
|
|
1010
|
+
return proto.pulumirpc.testing.RunLanguageTestResponse.deserializeBinaryFromReader(msg, reader);
|
|
1011
|
+
};
|
|
1012
|
+
|
|
1013
|
+
|
|
1014
|
+
/**
|
|
1015
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1016
|
+
* given reader into the given message object.
|
|
1017
|
+
* @param {!proto.pulumirpc.testing.RunLanguageTestResponse} msg The message object to deserialize into.
|
|
1018
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1019
|
+
* @return {!proto.pulumirpc.testing.RunLanguageTestResponse}
|
|
1020
|
+
*/
|
|
1021
|
+
proto.pulumirpc.testing.RunLanguageTestResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1022
|
+
while (reader.nextField()) {
|
|
1023
|
+
if (reader.isEndGroup()) {
|
|
1024
|
+
break;
|
|
1025
|
+
}
|
|
1026
|
+
var field = reader.getFieldNumber();
|
|
1027
|
+
switch (field) {
|
|
1028
|
+
case 1:
|
|
1029
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1030
|
+
msg.setSuccess(value);
|
|
1031
|
+
break;
|
|
1032
|
+
case 2:
|
|
1033
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1034
|
+
msg.addMessages(value);
|
|
1035
|
+
break;
|
|
1036
|
+
case 3:
|
|
1037
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1038
|
+
msg.setStdout(value);
|
|
1039
|
+
break;
|
|
1040
|
+
case 4:
|
|
1041
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1042
|
+
msg.setStderr(value);
|
|
1043
|
+
break;
|
|
1044
|
+
default:
|
|
1045
|
+
reader.skipField();
|
|
1046
|
+
break;
|
|
1047
|
+
}
|
|
1048
|
+
}
|
|
1049
|
+
return msg;
|
|
1050
|
+
};
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1055
|
+
* @return {!Uint8Array}
|
|
1056
|
+
*/
|
|
1057
|
+
proto.pulumirpc.testing.RunLanguageTestResponse.prototype.serializeBinary = function() {
|
|
1058
|
+
var writer = new jspb.BinaryWriter();
|
|
1059
|
+
proto.pulumirpc.testing.RunLanguageTestResponse.serializeBinaryToWriter(this, writer);
|
|
1060
|
+
return writer.getResultBuffer();
|
|
1061
|
+
};
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
/**
|
|
1065
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1066
|
+
* format), writing to the given BinaryWriter.
|
|
1067
|
+
* @param {!proto.pulumirpc.testing.RunLanguageTestResponse} message
|
|
1068
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1069
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1070
|
+
*/
|
|
1071
|
+
proto.pulumirpc.testing.RunLanguageTestResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1072
|
+
var f = undefined;
|
|
1073
|
+
f = message.getSuccess();
|
|
1074
|
+
if (f) {
|
|
1075
|
+
writer.writeBool(
|
|
1076
|
+
1,
|
|
1077
|
+
f
|
|
1078
|
+
);
|
|
1079
|
+
}
|
|
1080
|
+
f = message.getMessagesList();
|
|
1081
|
+
if (f.length > 0) {
|
|
1082
|
+
writer.writeRepeatedString(
|
|
1083
|
+
2,
|
|
1084
|
+
f
|
|
1085
|
+
);
|
|
1086
|
+
}
|
|
1087
|
+
f = message.getStdout();
|
|
1088
|
+
if (f.length > 0) {
|
|
1089
|
+
writer.writeString(
|
|
1090
|
+
3,
|
|
1091
|
+
f
|
|
1092
|
+
);
|
|
1093
|
+
}
|
|
1094
|
+
f = message.getStderr();
|
|
1095
|
+
if (f.length > 0) {
|
|
1096
|
+
writer.writeString(
|
|
1097
|
+
4,
|
|
1098
|
+
f
|
|
1099
|
+
);
|
|
1100
|
+
}
|
|
1101
|
+
};
|
|
1102
|
+
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* optional bool success = 1;
|
|
1106
|
+
* @return {boolean}
|
|
1107
|
+
*/
|
|
1108
|
+
proto.pulumirpc.testing.RunLanguageTestResponse.prototype.getSuccess = function() {
|
|
1109
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
1110
|
+
};
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
/**
|
|
1114
|
+
* @param {boolean} value
|
|
1115
|
+
* @return {!proto.pulumirpc.testing.RunLanguageTestResponse} returns this
|
|
1116
|
+
*/
|
|
1117
|
+
proto.pulumirpc.testing.RunLanguageTestResponse.prototype.setSuccess = function(value) {
|
|
1118
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
1119
|
+
};
|
|
1120
|
+
|
|
1121
|
+
|
|
1122
|
+
/**
|
|
1123
|
+
* repeated string messages = 2;
|
|
1124
|
+
* @return {!Array<string>}
|
|
1125
|
+
*/
|
|
1126
|
+
proto.pulumirpc.testing.RunLanguageTestResponse.prototype.getMessagesList = function() {
|
|
1127
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
1128
|
+
};
|
|
1129
|
+
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* @param {!Array<string>} value
|
|
1133
|
+
* @return {!proto.pulumirpc.testing.RunLanguageTestResponse} returns this
|
|
1134
|
+
*/
|
|
1135
|
+
proto.pulumirpc.testing.RunLanguageTestResponse.prototype.setMessagesList = function(value) {
|
|
1136
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
1137
|
+
};
|
|
1138
|
+
|
|
1139
|
+
|
|
1140
|
+
/**
|
|
1141
|
+
* @param {string} value
|
|
1142
|
+
* @param {number=} opt_index
|
|
1143
|
+
* @return {!proto.pulumirpc.testing.RunLanguageTestResponse} returns this
|
|
1144
|
+
*/
|
|
1145
|
+
proto.pulumirpc.testing.RunLanguageTestResponse.prototype.addMessages = function(value, opt_index) {
|
|
1146
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
1147
|
+
};
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
|
+
/**
|
|
1151
|
+
* Clears the list making it empty but non-null.
|
|
1152
|
+
* @return {!proto.pulumirpc.testing.RunLanguageTestResponse} returns this
|
|
1153
|
+
*/
|
|
1154
|
+
proto.pulumirpc.testing.RunLanguageTestResponse.prototype.clearMessagesList = function() {
|
|
1155
|
+
return this.setMessagesList([]);
|
|
1156
|
+
};
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
1160
|
+
* optional string stdout = 3;
|
|
1161
|
+
* @return {string}
|
|
1162
|
+
*/
|
|
1163
|
+
proto.pulumirpc.testing.RunLanguageTestResponse.prototype.getStdout = function() {
|
|
1164
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1165
|
+
};
|
|
1166
|
+
|
|
1167
|
+
|
|
1168
|
+
/**
|
|
1169
|
+
* @param {string} value
|
|
1170
|
+
* @return {!proto.pulumirpc.testing.RunLanguageTestResponse} returns this
|
|
1171
|
+
*/
|
|
1172
|
+
proto.pulumirpc.testing.RunLanguageTestResponse.prototype.setStdout = function(value) {
|
|
1173
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1174
|
+
};
|
|
1175
|
+
|
|
1176
|
+
|
|
1177
|
+
/**
|
|
1178
|
+
* optional string stderr = 4;
|
|
1179
|
+
* @return {string}
|
|
1180
|
+
*/
|
|
1181
|
+
proto.pulumirpc.testing.RunLanguageTestResponse.prototype.getStderr = function() {
|
|
1182
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1183
|
+
};
|
|
1184
|
+
|
|
1185
|
+
|
|
1186
|
+
/**
|
|
1187
|
+
* @param {string} value
|
|
1188
|
+
* @return {!proto.pulumirpc.testing.RunLanguageTestResponse} returns this
|
|
1189
|
+
*/
|
|
1190
|
+
proto.pulumirpc.testing.RunLanguageTestResponse.prototype.setStderr = function(value) {
|
|
1191
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1192
|
+
};
|
|
1193
|
+
|
|
1194
|
+
|
|
1195
|
+
goog.object.extend(exports, proto.pulumirpc.testing);
|
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.
|
|
16
|
+
exports.version = "3.83.0";
|
|
17
17
|
//# sourceMappingURL=version.js.map
|