@alis-build/build 1.945.1016
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/alis/build/build_grpc_pb.d.ts +35 -0
- package/alis/build/build_grpc_pb.js +119 -0
- package/alis/build/build_grpc_web_pb.d.ts +55 -0
- package/alis/build/build_grpc_web_pb.js +267 -0
- package/alis/build/build_pb.d.ts +346 -0
- package/alis/build/build_pb.js +2678 -0
- package/package.json +11 -0
|
@@ -0,0 +1,2678 @@
|
|
|
1
|
+
// source: alis/build/build.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 = globalThis;
|
|
17
|
+
|
|
18
|
+
var google_longrunning_operations_pb = require('@alis-build/google-common-protos/google/longrunning/operations_pb.js');
|
|
19
|
+
goog.object.extend(proto, google_longrunning_operations_pb);
|
|
20
|
+
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
|
|
21
|
+
goog.object.extend(proto, google_protobuf_field_mask_pb);
|
|
22
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
23
|
+
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
24
|
+
goog.exportSymbol('proto.alis.build.BuildSpec', null, global);
|
|
25
|
+
goog.exportSymbol('proto.alis.build.BuildSpec.Content', null, global);
|
|
26
|
+
goog.exportSymbol('proto.alis.build.BuildSpec.Content.Plan', null, global);
|
|
27
|
+
goog.exportSymbol('proto.alis.build.BuildSpec.Content.Specify', null, global);
|
|
28
|
+
goog.exportSymbol('proto.alis.build.BuildSpec.Content.Tasks', null, global);
|
|
29
|
+
goog.exportSymbol('proto.alis.build.BuildSpec.Extension', null, global);
|
|
30
|
+
goog.exportSymbol('proto.alis.build.BuildSpec.Status', null, global);
|
|
31
|
+
goog.exportSymbol('proto.alis.build.BuildSpecView', null, global);
|
|
32
|
+
goog.exportSymbol('proto.alis.build.GetBuildSpecRequest', null, global);
|
|
33
|
+
goog.exportSymbol('proto.alis.build.ListBuildSpecsRequest', null, global);
|
|
34
|
+
goog.exportSymbol('proto.alis.build.ListBuildSpecsResponse', null, global);
|
|
35
|
+
goog.exportSymbol('proto.alis.build.RetrieveMyWorkstationMetadata', null, global);
|
|
36
|
+
goog.exportSymbol('proto.alis.build.RetrieveMyWorkstationRequest', null, global);
|
|
37
|
+
goog.exportSymbol('proto.alis.build.RetrieveMyWorkstationResponse', null, global);
|
|
38
|
+
/**
|
|
39
|
+
* Generated by JsPbCodeGenerator.
|
|
40
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
41
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
42
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
43
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
44
|
+
* valid.
|
|
45
|
+
* @extends {jspb.Message}
|
|
46
|
+
* @constructor
|
|
47
|
+
*/
|
|
48
|
+
proto.alis.build.RetrieveMyWorkstationRequest = function(opt_data) {
|
|
49
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
50
|
+
};
|
|
51
|
+
goog.inherits(proto.alis.build.RetrieveMyWorkstationRequest, jspb.Message);
|
|
52
|
+
if (goog.DEBUG && !COMPILED) {
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
* @override
|
|
56
|
+
*/
|
|
57
|
+
proto.alis.build.RetrieveMyWorkstationRequest.displayName = 'proto.alis.build.RetrieveMyWorkstationRequest';
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Generated by JsPbCodeGenerator.
|
|
61
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
62
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
63
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
64
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
65
|
+
* valid.
|
|
66
|
+
* @extends {jspb.Message}
|
|
67
|
+
* @constructor
|
|
68
|
+
*/
|
|
69
|
+
proto.alis.build.RetrieveMyWorkstationMetadata = function(opt_data) {
|
|
70
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
71
|
+
};
|
|
72
|
+
goog.inherits(proto.alis.build.RetrieveMyWorkstationMetadata, jspb.Message);
|
|
73
|
+
if (goog.DEBUG && !COMPILED) {
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
* @override
|
|
77
|
+
*/
|
|
78
|
+
proto.alis.build.RetrieveMyWorkstationMetadata.displayName = 'proto.alis.build.RetrieveMyWorkstationMetadata';
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Generated by JsPbCodeGenerator.
|
|
82
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
83
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
84
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
85
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
86
|
+
* valid.
|
|
87
|
+
* @extends {jspb.Message}
|
|
88
|
+
* @constructor
|
|
89
|
+
*/
|
|
90
|
+
proto.alis.build.RetrieveMyWorkstationResponse = function(opt_data) {
|
|
91
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
92
|
+
};
|
|
93
|
+
goog.inherits(proto.alis.build.RetrieveMyWorkstationResponse, jspb.Message);
|
|
94
|
+
if (goog.DEBUG && !COMPILED) {
|
|
95
|
+
/**
|
|
96
|
+
* @public
|
|
97
|
+
* @override
|
|
98
|
+
*/
|
|
99
|
+
proto.alis.build.RetrieveMyWorkstationResponse.displayName = 'proto.alis.build.RetrieveMyWorkstationResponse';
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Generated by JsPbCodeGenerator.
|
|
103
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
104
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
105
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
106
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
107
|
+
* valid.
|
|
108
|
+
* @extends {jspb.Message}
|
|
109
|
+
* @constructor
|
|
110
|
+
*/
|
|
111
|
+
proto.alis.build.BuildSpec = function(opt_data) {
|
|
112
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.alis.build.BuildSpec.repeatedFields_, null);
|
|
113
|
+
};
|
|
114
|
+
goog.inherits(proto.alis.build.BuildSpec, jspb.Message);
|
|
115
|
+
if (goog.DEBUG && !COMPILED) {
|
|
116
|
+
/**
|
|
117
|
+
* @public
|
|
118
|
+
* @override
|
|
119
|
+
*/
|
|
120
|
+
proto.alis.build.BuildSpec.displayName = 'proto.alis.build.BuildSpec';
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Generated by JsPbCodeGenerator.
|
|
124
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
125
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
126
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
127
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
128
|
+
* valid.
|
|
129
|
+
* @extends {jspb.Message}
|
|
130
|
+
* @constructor
|
|
131
|
+
*/
|
|
132
|
+
proto.alis.build.BuildSpec.Content = function(opt_data) {
|
|
133
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
134
|
+
};
|
|
135
|
+
goog.inherits(proto.alis.build.BuildSpec.Content, jspb.Message);
|
|
136
|
+
if (goog.DEBUG && !COMPILED) {
|
|
137
|
+
/**
|
|
138
|
+
* @public
|
|
139
|
+
* @override
|
|
140
|
+
*/
|
|
141
|
+
proto.alis.build.BuildSpec.Content.displayName = 'proto.alis.build.BuildSpec.Content';
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Generated by JsPbCodeGenerator.
|
|
145
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
146
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
147
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
148
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
149
|
+
* valid.
|
|
150
|
+
* @extends {jspb.Message}
|
|
151
|
+
* @constructor
|
|
152
|
+
*/
|
|
153
|
+
proto.alis.build.BuildSpec.Content.Specify = function(opt_data) {
|
|
154
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
155
|
+
};
|
|
156
|
+
goog.inherits(proto.alis.build.BuildSpec.Content.Specify, jspb.Message);
|
|
157
|
+
if (goog.DEBUG && !COMPILED) {
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
* @override
|
|
161
|
+
*/
|
|
162
|
+
proto.alis.build.BuildSpec.Content.Specify.displayName = 'proto.alis.build.BuildSpec.Content.Specify';
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Generated by JsPbCodeGenerator.
|
|
166
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
167
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
168
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
169
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
170
|
+
* valid.
|
|
171
|
+
* @extends {jspb.Message}
|
|
172
|
+
* @constructor
|
|
173
|
+
*/
|
|
174
|
+
proto.alis.build.BuildSpec.Content.Plan = function(opt_data) {
|
|
175
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
176
|
+
};
|
|
177
|
+
goog.inherits(proto.alis.build.BuildSpec.Content.Plan, jspb.Message);
|
|
178
|
+
if (goog.DEBUG && !COMPILED) {
|
|
179
|
+
/**
|
|
180
|
+
* @public
|
|
181
|
+
* @override
|
|
182
|
+
*/
|
|
183
|
+
proto.alis.build.BuildSpec.Content.Plan.displayName = 'proto.alis.build.BuildSpec.Content.Plan';
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Generated by JsPbCodeGenerator.
|
|
187
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
188
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
189
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
190
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
191
|
+
* valid.
|
|
192
|
+
* @extends {jspb.Message}
|
|
193
|
+
* @constructor
|
|
194
|
+
*/
|
|
195
|
+
proto.alis.build.BuildSpec.Content.Tasks = function(opt_data) {
|
|
196
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
197
|
+
};
|
|
198
|
+
goog.inherits(proto.alis.build.BuildSpec.Content.Tasks, jspb.Message);
|
|
199
|
+
if (goog.DEBUG && !COMPILED) {
|
|
200
|
+
/**
|
|
201
|
+
* @public
|
|
202
|
+
* @override
|
|
203
|
+
*/
|
|
204
|
+
proto.alis.build.BuildSpec.Content.Tasks.displayName = 'proto.alis.build.BuildSpec.Content.Tasks';
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Generated by JsPbCodeGenerator.
|
|
208
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
209
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
210
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
211
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
212
|
+
* valid.
|
|
213
|
+
* @extends {jspb.Message}
|
|
214
|
+
* @constructor
|
|
215
|
+
*/
|
|
216
|
+
proto.alis.build.GetBuildSpecRequest = function(opt_data) {
|
|
217
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
218
|
+
};
|
|
219
|
+
goog.inherits(proto.alis.build.GetBuildSpecRequest, jspb.Message);
|
|
220
|
+
if (goog.DEBUG && !COMPILED) {
|
|
221
|
+
/**
|
|
222
|
+
* @public
|
|
223
|
+
* @override
|
|
224
|
+
*/
|
|
225
|
+
proto.alis.build.GetBuildSpecRequest.displayName = 'proto.alis.build.GetBuildSpecRequest';
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Generated by JsPbCodeGenerator.
|
|
229
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
230
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
231
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
232
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
233
|
+
* valid.
|
|
234
|
+
* @extends {jspb.Message}
|
|
235
|
+
* @constructor
|
|
236
|
+
*/
|
|
237
|
+
proto.alis.build.ListBuildSpecsRequest = function(opt_data) {
|
|
238
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
239
|
+
};
|
|
240
|
+
goog.inherits(proto.alis.build.ListBuildSpecsRequest, jspb.Message);
|
|
241
|
+
if (goog.DEBUG && !COMPILED) {
|
|
242
|
+
/**
|
|
243
|
+
* @public
|
|
244
|
+
* @override
|
|
245
|
+
*/
|
|
246
|
+
proto.alis.build.ListBuildSpecsRequest.displayName = 'proto.alis.build.ListBuildSpecsRequest';
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* Generated by JsPbCodeGenerator.
|
|
250
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
251
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
252
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
253
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
254
|
+
* valid.
|
|
255
|
+
* @extends {jspb.Message}
|
|
256
|
+
* @constructor
|
|
257
|
+
*/
|
|
258
|
+
proto.alis.build.ListBuildSpecsResponse = function(opt_data) {
|
|
259
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.alis.build.ListBuildSpecsResponse.repeatedFields_, null);
|
|
260
|
+
};
|
|
261
|
+
goog.inherits(proto.alis.build.ListBuildSpecsResponse, jspb.Message);
|
|
262
|
+
if (goog.DEBUG && !COMPILED) {
|
|
263
|
+
/**
|
|
264
|
+
* @public
|
|
265
|
+
* @override
|
|
266
|
+
*/
|
|
267
|
+
proto.alis.build.ListBuildSpecsResponse.displayName = 'proto.alis.build.ListBuildSpecsResponse';
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
273
|
+
/**
|
|
274
|
+
* Creates an object representation of this proto.
|
|
275
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
276
|
+
* Optional fields that are not set will be set to undefined.
|
|
277
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
278
|
+
* For the list of reserved names please see:
|
|
279
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
280
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
281
|
+
* JSPB instance for transitional soy proto support:
|
|
282
|
+
* http://goto/soy-param-migration
|
|
283
|
+
* @return {!Object}
|
|
284
|
+
*/
|
|
285
|
+
proto.alis.build.RetrieveMyWorkstationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
286
|
+
return proto.alis.build.RetrieveMyWorkstationRequest.toObject(opt_includeInstance, this);
|
|
287
|
+
};
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Static version of the {@see toObject} method.
|
|
292
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
293
|
+
* the JSPB instance for transitional soy proto support:
|
|
294
|
+
* http://goto/soy-param-migration
|
|
295
|
+
* @param {!proto.alis.build.RetrieveMyWorkstationRequest} msg The msg instance to transform.
|
|
296
|
+
* @return {!Object}
|
|
297
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
298
|
+
*/
|
|
299
|
+
proto.alis.build.RetrieveMyWorkstationRequest.toObject = function(includeInstance, msg) {
|
|
300
|
+
var f, obj = {
|
|
301
|
+
countryCode: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
302
|
+
};
|
|
303
|
+
|
|
304
|
+
if (includeInstance) {
|
|
305
|
+
obj.$jspbMessageInstance = msg;
|
|
306
|
+
}
|
|
307
|
+
return obj;
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Deserializes binary data (in protobuf wire format).
|
|
314
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
315
|
+
* @return {!proto.alis.build.RetrieveMyWorkstationRequest}
|
|
316
|
+
*/
|
|
317
|
+
proto.alis.build.RetrieveMyWorkstationRequest.deserializeBinary = function(bytes) {
|
|
318
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
319
|
+
var msg = new proto.alis.build.RetrieveMyWorkstationRequest;
|
|
320
|
+
return proto.alis.build.RetrieveMyWorkstationRequest.deserializeBinaryFromReader(msg, reader);
|
|
321
|
+
};
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
326
|
+
* given reader into the given message object.
|
|
327
|
+
* @param {!proto.alis.build.RetrieveMyWorkstationRequest} msg The message object to deserialize into.
|
|
328
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
329
|
+
* @return {!proto.alis.build.RetrieveMyWorkstationRequest}
|
|
330
|
+
*/
|
|
331
|
+
proto.alis.build.RetrieveMyWorkstationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
332
|
+
while (reader.nextField()) {
|
|
333
|
+
if (reader.isEndGroup()) {
|
|
334
|
+
break;
|
|
335
|
+
}
|
|
336
|
+
var field = reader.getFieldNumber();
|
|
337
|
+
switch (field) {
|
|
338
|
+
case 1:
|
|
339
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
340
|
+
msg.setCountryCode(value);
|
|
341
|
+
break;
|
|
342
|
+
default:
|
|
343
|
+
reader.skipField();
|
|
344
|
+
break;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
return msg;
|
|
348
|
+
};
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
353
|
+
* @return {!Uint8Array}
|
|
354
|
+
*/
|
|
355
|
+
proto.alis.build.RetrieveMyWorkstationRequest.prototype.serializeBinary = function() {
|
|
356
|
+
var writer = new jspb.BinaryWriter();
|
|
357
|
+
proto.alis.build.RetrieveMyWorkstationRequest.serializeBinaryToWriter(this, writer);
|
|
358
|
+
return writer.getResultBuffer();
|
|
359
|
+
};
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
364
|
+
* format), writing to the given BinaryWriter.
|
|
365
|
+
* @param {!proto.alis.build.RetrieveMyWorkstationRequest} message
|
|
366
|
+
* @param {!jspb.BinaryWriter} writer
|
|
367
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
368
|
+
*/
|
|
369
|
+
proto.alis.build.RetrieveMyWorkstationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
370
|
+
var f = undefined;
|
|
371
|
+
f = message.getCountryCode();
|
|
372
|
+
if (f.length > 0) {
|
|
373
|
+
writer.writeString(
|
|
374
|
+
1,
|
|
375
|
+
f
|
|
376
|
+
);
|
|
377
|
+
}
|
|
378
|
+
};
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* optional string country_code = 1;
|
|
383
|
+
* @return {string}
|
|
384
|
+
*/
|
|
385
|
+
proto.alis.build.RetrieveMyWorkstationRequest.prototype.getCountryCode = function() {
|
|
386
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
387
|
+
};
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* @param {string} value
|
|
392
|
+
* @return {!proto.alis.build.RetrieveMyWorkstationRequest} returns this
|
|
393
|
+
*/
|
|
394
|
+
proto.alis.build.RetrieveMyWorkstationRequest.prototype.setCountryCode = function(value) {
|
|
395
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
396
|
+
};
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
403
|
+
/**
|
|
404
|
+
* Creates an object representation of this proto.
|
|
405
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
406
|
+
* Optional fields that are not set will be set to undefined.
|
|
407
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
408
|
+
* For the list of reserved names please see:
|
|
409
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
410
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
411
|
+
* JSPB instance for transitional soy proto support:
|
|
412
|
+
* http://goto/soy-param-migration
|
|
413
|
+
* @return {!Object}
|
|
414
|
+
*/
|
|
415
|
+
proto.alis.build.RetrieveMyWorkstationMetadata.prototype.toObject = function(opt_includeInstance) {
|
|
416
|
+
return proto.alis.build.RetrieveMyWorkstationMetadata.toObject(opt_includeInstance, this);
|
|
417
|
+
};
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Static version of the {@see toObject} method.
|
|
422
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
423
|
+
* the JSPB instance for transitional soy proto support:
|
|
424
|
+
* http://goto/soy-param-migration
|
|
425
|
+
* @param {!proto.alis.build.RetrieveMyWorkstationMetadata} msg The msg instance to transform.
|
|
426
|
+
* @return {!Object}
|
|
427
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
428
|
+
*/
|
|
429
|
+
proto.alis.build.RetrieveMyWorkstationMetadata.toObject = function(includeInstance, msg) {
|
|
430
|
+
var f, obj = {
|
|
431
|
+
|
|
432
|
+
};
|
|
433
|
+
|
|
434
|
+
if (includeInstance) {
|
|
435
|
+
obj.$jspbMessageInstance = msg;
|
|
436
|
+
}
|
|
437
|
+
return obj;
|
|
438
|
+
};
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* Deserializes binary data (in protobuf wire format).
|
|
444
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
445
|
+
* @return {!proto.alis.build.RetrieveMyWorkstationMetadata}
|
|
446
|
+
*/
|
|
447
|
+
proto.alis.build.RetrieveMyWorkstationMetadata.deserializeBinary = function(bytes) {
|
|
448
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
449
|
+
var msg = new proto.alis.build.RetrieveMyWorkstationMetadata;
|
|
450
|
+
return proto.alis.build.RetrieveMyWorkstationMetadata.deserializeBinaryFromReader(msg, reader);
|
|
451
|
+
};
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
456
|
+
* given reader into the given message object.
|
|
457
|
+
* @param {!proto.alis.build.RetrieveMyWorkstationMetadata} msg The message object to deserialize into.
|
|
458
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
459
|
+
* @return {!proto.alis.build.RetrieveMyWorkstationMetadata}
|
|
460
|
+
*/
|
|
461
|
+
proto.alis.build.RetrieveMyWorkstationMetadata.deserializeBinaryFromReader = function(msg, reader) {
|
|
462
|
+
while (reader.nextField()) {
|
|
463
|
+
if (reader.isEndGroup()) {
|
|
464
|
+
break;
|
|
465
|
+
}
|
|
466
|
+
var field = reader.getFieldNumber();
|
|
467
|
+
switch (field) {
|
|
468
|
+
default:
|
|
469
|
+
reader.skipField();
|
|
470
|
+
break;
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
return msg;
|
|
474
|
+
};
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
479
|
+
* @return {!Uint8Array}
|
|
480
|
+
*/
|
|
481
|
+
proto.alis.build.RetrieveMyWorkstationMetadata.prototype.serializeBinary = function() {
|
|
482
|
+
var writer = new jspb.BinaryWriter();
|
|
483
|
+
proto.alis.build.RetrieveMyWorkstationMetadata.serializeBinaryToWriter(this, writer);
|
|
484
|
+
return writer.getResultBuffer();
|
|
485
|
+
};
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
490
|
+
* format), writing to the given BinaryWriter.
|
|
491
|
+
* @param {!proto.alis.build.RetrieveMyWorkstationMetadata} message
|
|
492
|
+
* @param {!jspb.BinaryWriter} writer
|
|
493
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
494
|
+
*/
|
|
495
|
+
proto.alis.build.RetrieveMyWorkstationMetadata.serializeBinaryToWriter = function(message, writer) {
|
|
496
|
+
var f = undefined;
|
|
497
|
+
};
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
504
|
+
/**
|
|
505
|
+
* Creates an object representation of this proto.
|
|
506
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
507
|
+
* Optional fields that are not set will be set to undefined.
|
|
508
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
509
|
+
* For the list of reserved names please see:
|
|
510
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
511
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
512
|
+
* JSPB instance for transitional soy proto support:
|
|
513
|
+
* http://goto/soy-param-migration
|
|
514
|
+
* @return {!Object}
|
|
515
|
+
*/
|
|
516
|
+
proto.alis.build.RetrieveMyWorkstationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
517
|
+
return proto.alis.build.RetrieveMyWorkstationResponse.toObject(opt_includeInstance, this);
|
|
518
|
+
};
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* Static version of the {@see toObject} method.
|
|
523
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
524
|
+
* the JSPB instance for transitional soy proto support:
|
|
525
|
+
* http://goto/soy-param-migration
|
|
526
|
+
* @param {!proto.alis.build.RetrieveMyWorkstationResponse} msg The msg instance to transform.
|
|
527
|
+
* @return {!Object}
|
|
528
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
529
|
+
*/
|
|
530
|
+
proto.alis.build.RetrieveMyWorkstationResponse.toObject = function(includeInstance, msg) {
|
|
531
|
+
var f, obj = {
|
|
532
|
+
uri: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
533
|
+
};
|
|
534
|
+
|
|
535
|
+
if (includeInstance) {
|
|
536
|
+
obj.$jspbMessageInstance = msg;
|
|
537
|
+
}
|
|
538
|
+
return obj;
|
|
539
|
+
};
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* Deserializes binary data (in protobuf wire format).
|
|
545
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
546
|
+
* @return {!proto.alis.build.RetrieveMyWorkstationResponse}
|
|
547
|
+
*/
|
|
548
|
+
proto.alis.build.RetrieveMyWorkstationResponse.deserializeBinary = function(bytes) {
|
|
549
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
550
|
+
var msg = new proto.alis.build.RetrieveMyWorkstationResponse;
|
|
551
|
+
return proto.alis.build.RetrieveMyWorkstationResponse.deserializeBinaryFromReader(msg, reader);
|
|
552
|
+
};
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
557
|
+
* given reader into the given message object.
|
|
558
|
+
* @param {!proto.alis.build.RetrieveMyWorkstationResponse} msg The message object to deserialize into.
|
|
559
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
560
|
+
* @return {!proto.alis.build.RetrieveMyWorkstationResponse}
|
|
561
|
+
*/
|
|
562
|
+
proto.alis.build.RetrieveMyWorkstationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
563
|
+
while (reader.nextField()) {
|
|
564
|
+
if (reader.isEndGroup()) {
|
|
565
|
+
break;
|
|
566
|
+
}
|
|
567
|
+
var field = reader.getFieldNumber();
|
|
568
|
+
switch (field) {
|
|
569
|
+
case 1:
|
|
570
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
571
|
+
msg.setUri(value);
|
|
572
|
+
break;
|
|
573
|
+
default:
|
|
574
|
+
reader.skipField();
|
|
575
|
+
break;
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
return msg;
|
|
579
|
+
};
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
584
|
+
* @return {!Uint8Array}
|
|
585
|
+
*/
|
|
586
|
+
proto.alis.build.RetrieveMyWorkstationResponse.prototype.serializeBinary = function() {
|
|
587
|
+
var writer = new jspb.BinaryWriter();
|
|
588
|
+
proto.alis.build.RetrieveMyWorkstationResponse.serializeBinaryToWriter(this, writer);
|
|
589
|
+
return writer.getResultBuffer();
|
|
590
|
+
};
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
595
|
+
* format), writing to the given BinaryWriter.
|
|
596
|
+
* @param {!proto.alis.build.RetrieveMyWorkstationResponse} message
|
|
597
|
+
* @param {!jspb.BinaryWriter} writer
|
|
598
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
599
|
+
*/
|
|
600
|
+
proto.alis.build.RetrieveMyWorkstationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
601
|
+
var f = undefined;
|
|
602
|
+
f = message.getUri();
|
|
603
|
+
if (f.length > 0) {
|
|
604
|
+
writer.writeString(
|
|
605
|
+
1,
|
|
606
|
+
f
|
|
607
|
+
);
|
|
608
|
+
}
|
|
609
|
+
};
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* optional string uri = 1;
|
|
614
|
+
* @return {string}
|
|
615
|
+
*/
|
|
616
|
+
proto.alis.build.RetrieveMyWorkstationResponse.prototype.getUri = function() {
|
|
617
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
618
|
+
};
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* @param {string} value
|
|
623
|
+
* @return {!proto.alis.build.RetrieveMyWorkstationResponse} returns this
|
|
624
|
+
*/
|
|
625
|
+
proto.alis.build.RetrieveMyWorkstationResponse.prototype.setUri = function(value) {
|
|
626
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
627
|
+
};
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* List of repeated fields within this message type.
|
|
633
|
+
* @private {!Array<number>}
|
|
634
|
+
* @const
|
|
635
|
+
*/
|
|
636
|
+
proto.alis.build.BuildSpec.repeatedFields_ = [6,8,9];
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
641
|
+
/**
|
|
642
|
+
* Creates an object representation of this proto.
|
|
643
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
644
|
+
* Optional fields that are not set will be set to undefined.
|
|
645
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
646
|
+
* For the list of reserved names please see:
|
|
647
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
648
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
649
|
+
* JSPB instance for transitional soy proto support:
|
|
650
|
+
* http://goto/soy-param-migration
|
|
651
|
+
* @return {!Object}
|
|
652
|
+
*/
|
|
653
|
+
proto.alis.build.BuildSpec.prototype.toObject = function(opt_includeInstance) {
|
|
654
|
+
return proto.alis.build.BuildSpec.toObject(opt_includeInstance, this);
|
|
655
|
+
};
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* Static version of the {@see toObject} method.
|
|
660
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
661
|
+
* the JSPB instance for transitional soy proto support:
|
|
662
|
+
* http://goto/soy-param-migration
|
|
663
|
+
* @param {!proto.alis.build.BuildSpec} msg The msg instance to transform.
|
|
664
|
+
* @return {!Object}
|
|
665
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
666
|
+
*/
|
|
667
|
+
proto.alis.build.BuildSpec.toObject = function(includeInstance, msg) {
|
|
668
|
+
var f, obj = {
|
|
669
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
670
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
671
|
+
status: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
672
|
+
summary: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
673
|
+
content: (f = msg.getContent()) && proto.alis.build.BuildSpec.Content.toObject(includeInstance, f),
|
|
674
|
+
productsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
|
675
|
+
account: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
676
|
+
extensionsEnabledList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
677
|
+
neuronsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
|
678
|
+
etag: jspb.Message.getFieldWithDefault(msg, 97, ""),
|
|
679
|
+
createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
680
|
+
updateTime: (f = msg.getUpdateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
681
|
+
deleteTime: (f = msg.getDeleteTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
682
|
+
};
|
|
683
|
+
|
|
684
|
+
if (includeInstance) {
|
|
685
|
+
obj.$jspbMessageInstance = msg;
|
|
686
|
+
}
|
|
687
|
+
return obj;
|
|
688
|
+
};
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* Deserializes binary data (in protobuf wire format).
|
|
694
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
695
|
+
* @return {!proto.alis.build.BuildSpec}
|
|
696
|
+
*/
|
|
697
|
+
proto.alis.build.BuildSpec.deserializeBinary = function(bytes) {
|
|
698
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
699
|
+
var msg = new proto.alis.build.BuildSpec;
|
|
700
|
+
return proto.alis.build.BuildSpec.deserializeBinaryFromReader(msg, reader);
|
|
701
|
+
};
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
/**
|
|
705
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
706
|
+
* given reader into the given message object.
|
|
707
|
+
* @param {!proto.alis.build.BuildSpec} msg The message object to deserialize into.
|
|
708
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
709
|
+
* @return {!proto.alis.build.BuildSpec}
|
|
710
|
+
*/
|
|
711
|
+
proto.alis.build.BuildSpec.deserializeBinaryFromReader = function(msg, reader) {
|
|
712
|
+
while (reader.nextField()) {
|
|
713
|
+
if (reader.isEndGroup()) {
|
|
714
|
+
break;
|
|
715
|
+
}
|
|
716
|
+
var field = reader.getFieldNumber();
|
|
717
|
+
switch (field) {
|
|
718
|
+
case 1:
|
|
719
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
720
|
+
msg.setName(value);
|
|
721
|
+
break;
|
|
722
|
+
case 2:
|
|
723
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
724
|
+
msg.setDisplayName(value);
|
|
725
|
+
break;
|
|
726
|
+
case 3:
|
|
727
|
+
var value = /** @type {!proto.alis.build.BuildSpec.Status} */ (reader.readEnum());
|
|
728
|
+
msg.setStatus(value);
|
|
729
|
+
break;
|
|
730
|
+
case 4:
|
|
731
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
732
|
+
msg.setSummary(value);
|
|
733
|
+
break;
|
|
734
|
+
case 5:
|
|
735
|
+
var value = new proto.alis.build.BuildSpec.Content;
|
|
736
|
+
reader.readMessage(value,proto.alis.build.BuildSpec.Content.deserializeBinaryFromReader);
|
|
737
|
+
msg.setContent(value);
|
|
738
|
+
break;
|
|
739
|
+
case 6:
|
|
740
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
741
|
+
msg.addProducts(value);
|
|
742
|
+
break;
|
|
743
|
+
case 7:
|
|
744
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
745
|
+
msg.setAccount(value);
|
|
746
|
+
break;
|
|
747
|
+
case 8:
|
|
748
|
+
reader.readPackableEnumInto(msg.getExtensionsEnabledList());
|
|
749
|
+
break;
|
|
750
|
+
case 9:
|
|
751
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
752
|
+
msg.addNeurons(value);
|
|
753
|
+
break;
|
|
754
|
+
case 97:
|
|
755
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
756
|
+
msg.setEtag(value);
|
|
757
|
+
break;
|
|
758
|
+
case 98:
|
|
759
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
760
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
761
|
+
msg.setCreateTime(value);
|
|
762
|
+
break;
|
|
763
|
+
case 99:
|
|
764
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
765
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
766
|
+
msg.setUpdateTime(value);
|
|
767
|
+
break;
|
|
768
|
+
case 100:
|
|
769
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
770
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
771
|
+
msg.setDeleteTime(value);
|
|
772
|
+
break;
|
|
773
|
+
default:
|
|
774
|
+
reader.skipField();
|
|
775
|
+
break;
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
return msg;
|
|
779
|
+
};
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
784
|
+
* @return {!Uint8Array}
|
|
785
|
+
*/
|
|
786
|
+
proto.alis.build.BuildSpec.prototype.serializeBinary = function() {
|
|
787
|
+
var writer = new jspb.BinaryWriter();
|
|
788
|
+
proto.alis.build.BuildSpec.serializeBinaryToWriter(this, writer);
|
|
789
|
+
return writer.getResultBuffer();
|
|
790
|
+
};
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
795
|
+
* format), writing to the given BinaryWriter.
|
|
796
|
+
* @param {!proto.alis.build.BuildSpec} message
|
|
797
|
+
* @param {!jspb.BinaryWriter} writer
|
|
798
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
799
|
+
*/
|
|
800
|
+
proto.alis.build.BuildSpec.serializeBinaryToWriter = function(message, writer) {
|
|
801
|
+
var f = undefined;
|
|
802
|
+
f = message.getName();
|
|
803
|
+
if (f.length > 0) {
|
|
804
|
+
writer.writeString(
|
|
805
|
+
1,
|
|
806
|
+
f
|
|
807
|
+
);
|
|
808
|
+
}
|
|
809
|
+
f = message.getDisplayName();
|
|
810
|
+
if (f.length > 0) {
|
|
811
|
+
writer.writeString(
|
|
812
|
+
2,
|
|
813
|
+
f
|
|
814
|
+
);
|
|
815
|
+
}
|
|
816
|
+
f = message.getStatus();
|
|
817
|
+
if (f !== 0.0) {
|
|
818
|
+
writer.writeEnum(
|
|
819
|
+
3,
|
|
820
|
+
f
|
|
821
|
+
);
|
|
822
|
+
}
|
|
823
|
+
f = message.getSummary();
|
|
824
|
+
if (f.length > 0) {
|
|
825
|
+
writer.writeString(
|
|
826
|
+
4,
|
|
827
|
+
f
|
|
828
|
+
);
|
|
829
|
+
}
|
|
830
|
+
f = message.getContent();
|
|
831
|
+
if (f != null) {
|
|
832
|
+
writer.writeMessage(
|
|
833
|
+
5,
|
|
834
|
+
f,
|
|
835
|
+
proto.alis.build.BuildSpec.Content.serializeBinaryToWriter
|
|
836
|
+
);
|
|
837
|
+
}
|
|
838
|
+
f = message.getProductsList();
|
|
839
|
+
if (f.length > 0) {
|
|
840
|
+
writer.writeRepeatedString(
|
|
841
|
+
6,
|
|
842
|
+
f
|
|
843
|
+
);
|
|
844
|
+
}
|
|
845
|
+
f = message.getAccount();
|
|
846
|
+
if (f.length > 0) {
|
|
847
|
+
writer.writeString(
|
|
848
|
+
7,
|
|
849
|
+
f
|
|
850
|
+
);
|
|
851
|
+
}
|
|
852
|
+
f = message.getExtensionsEnabledList();
|
|
853
|
+
if (f.length > 0) {
|
|
854
|
+
writer.writePackedEnum(
|
|
855
|
+
8,
|
|
856
|
+
f
|
|
857
|
+
);
|
|
858
|
+
}
|
|
859
|
+
f = message.getNeuronsList();
|
|
860
|
+
if (f.length > 0) {
|
|
861
|
+
writer.writeRepeatedString(
|
|
862
|
+
9,
|
|
863
|
+
f
|
|
864
|
+
);
|
|
865
|
+
}
|
|
866
|
+
f = message.getEtag();
|
|
867
|
+
if (f.length > 0) {
|
|
868
|
+
writer.writeString(
|
|
869
|
+
97,
|
|
870
|
+
f
|
|
871
|
+
);
|
|
872
|
+
}
|
|
873
|
+
f = message.getCreateTime();
|
|
874
|
+
if (f != null) {
|
|
875
|
+
writer.writeMessage(
|
|
876
|
+
98,
|
|
877
|
+
f,
|
|
878
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
879
|
+
);
|
|
880
|
+
}
|
|
881
|
+
f = message.getUpdateTime();
|
|
882
|
+
if (f != null) {
|
|
883
|
+
writer.writeMessage(
|
|
884
|
+
99,
|
|
885
|
+
f,
|
|
886
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
887
|
+
);
|
|
888
|
+
}
|
|
889
|
+
f = message.getDeleteTime();
|
|
890
|
+
if (f != null) {
|
|
891
|
+
writer.writeMessage(
|
|
892
|
+
100,
|
|
893
|
+
f,
|
|
894
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
895
|
+
);
|
|
896
|
+
}
|
|
897
|
+
};
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* @enum {number}
|
|
902
|
+
*/
|
|
903
|
+
proto.alis.build.BuildSpec.Status = {
|
|
904
|
+
STATE_UNSPECIFIED: 0,
|
|
905
|
+
NEW: 1,
|
|
906
|
+
ACTIVE: 2,
|
|
907
|
+
COMPLETED: 3
|
|
908
|
+
};
|
|
909
|
+
|
|
910
|
+
/**
|
|
911
|
+
* @enum {number}
|
|
912
|
+
*/
|
|
913
|
+
proto.alis.build.BuildSpec.Extension = {
|
|
914
|
+
EXTENSION_UNSPECIFIED: 0,
|
|
915
|
+
EXTENSION_BILLING: 1,
|
|
916
|
+
EXTENSION_PROPOSAL: 2,
|
|
917
|
+
EXTENSION_IDEATE: 3,
|
|
918
|
+
EXTENSION_GITHUB: 7,
|
|
919
|
+
EXTENSION_WIREFRAME: 4,
|
|
920
|
+
EXTENSION_TIMESHEET: 5,
|
|
921
|
+
EXTENSION_FILE_SET: 6
|
|
922
|
+
};
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
|
|
927
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
928
|
+
/**
|
|
929
|
+
* Creates an object representation of this proto.
|
|
930
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
931
|
+
* Optional fields that are not set will be set to undefined.
|
|
932
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
933
|
+
* For the list of reserved names please see:
|
|
934
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
935
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
936
|
+
* JSPB instance for transitional soy proto support:
|
|
937
|
+
* http://goto/soy-param-migration
|
|
938
|
+
* @return {!Object}
|
|
939
|
+
*/
|
|
940
|
+
proto.alis.build.BuildSpec.Content.prototype.toObject = function(opt_includeInstance) {
|
|
941
|
+
return proto.alis.build.BuildSpec.Content.toObject(opt_includeInstance, this);
|
|
942
|
+
};
|
|
943
|
+
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* Static version of the {@see toObject} method.
|
|
947
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
948
|
+
* the JSPB instance for transitional soy proto support:
|
|
949
|
+
* http://goto/soy-param-migration
|
|
950
|
+
* @param {!proto.alis.build.BuildSpec.Content} msg The msg instance to transform.
|
|
951
|
+
* @return {!Object}
|
|
952
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
953
|
+
*/
|
|
954
|
+
proto.alis.build.BuildSpec.Content.toObject = function(includeInstance, msg) {
|
|
955
|
+
var f, obj = {
|
|
956
|
+
specify: (f = msg.getSpecify()) && proto.alis.build.BuildSpec.Content.Specify.toObject(includeInstance, f),
|
|
957
|
+
plan: (f = msg.getPlan()) && proto.alis.build.BuildSpec.Content.Plan.toObject(includeInstance, f),
|
|
958
|
+
tasks: (f = msg.getTasks()) && proto.alis.build.BuildSpec.Content.Tasks.toObject(includeInstance, f)
|
|
959
|
+
};
|
|
960
|
+
|
|
961
|
+
if (includeInstance) {
|
|
962
|
+
obj.$jspbMessageInstance = msg;
|
|
963
|
+
}
|
|
964
|
+
return obj;
|
|
965
|
+
};
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* Deserializes binary data (in protobuf wire format).
|
|
971
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
972
|
+
* @return {!proto.alis.build.BuildSpec.Content}
|
|
973
|
+
*/
|
|
974
|
+
proto.alis.build.BuildSpec.Content.deserializeBinary = function(bytes) {
|
|
975
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
976
|
+
var msg = new proto.alis.build.BuildSpec.Content;
|
|
977
|
+
return proto.alis.build.BuildSpec.Content.deserializeBinaryFromReader(msg, reader);
|
|
978
|
+
};
|
|
979
|
+
|
|
980
|
+
|
|
981
|
+
/**
|
|
982
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
983
|
+
* given reader into the given message object.
|
|
984
|
+
* @param {!proto.alis.build.BuildSpec.Content} msg The message object to deserialize into.
|
|
985
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
986
|
+
* @return {!proto.alis.build.BuildSpec.Content}
|
|
987
|
+
*/
|
|
988
|
+
proto.alis.build.BuildSpec.Content.deserializeBinaryFromReader = function(msg, reader) {
|
|
989
|
+
while (reader.nextField()) {
|
|
990
|
+
if (reader.isEndGroup()) {
|
|
991
|
+
break;
|
|
992
|
+
}
|
|
993
|
+
var field = reader.getFieldNumber();
|
|
994
|
+
switch (field) {
|
|
995
|
+
case 1:
|
|
996
|
+
var value = new proto.alis.build.BuildSpec.Content.Specify;
|
|
997
|
+
reader.readMessage(value,proto.alis.build.BuildSpec.Content.Specify.deserializeBinaryFromReader);
|
|
998
|
+
msg.setSpecify(value);
|
|
999
|
+
break;
|
|
1000
|
+
case 2:
|
|
1001
|
+
var value = new proto.alis.build.BuildSpec.Content.Plan;
|
|
1002
|
+
reader.readMessage(value,proto.alis.build.BuildSpec.Content.Plan.deserializeBinaryFromReader);
|
|
1003
|
+
msg.setPlan(value);
|
|
1004
|
+
break;
|
|
1005
|
+
case 3:
|
|
1006
|
+
var value = new proto.alis.build.BuildSpec.Content.Tasks;
|
|
1007
|
+
reader.readMessage(value,proto.alis.build.BuildSpec.Content.Tasks.deserializeBinaryFromReader);
|
|
1008
|
+
msg.setTasks(value);
|
|
1009
|
+
break;
|
|
1010
|
+
default:
|
|
1011
|
+
reader.skipField();
|
|
1012
|
+
break;
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
return msg;
|
|
1016
|
+
};
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1021
|
+
* @return {!Uint8Array}
|
|
1022
|
+
*/
|
|
1023
|
+
proto.alis.build.BuildSpec.Content.prototype.serializeBinary = function() {
|
|
1024
|
+
var writer = new jspb.BinaryWriter();
|
|
1025
|
+
proto.alis.build.BuildSpec.Content.serializeBinaryToWriter(this, writer);
|
|
1026
|
+
return writer.getResultBuffer();
|
|
1027
|
+
};
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1032
|
+
* format), writing to the given BinaryWriter.
|
|
1033
|
+
* @param {!proto.alis.build.BuildSpec.Content} message
|
|
1034
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1035
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1036
|
+
*/
|
|
1037
|
+
proto.alis.build.BuildSpec.Content.serializeBinaryToWriter = function(message, writer) {
|
|
1038
|
+
var f = undefined;
|
|
1039
|
+
f = message.getSpecify();
|
|
1040
|
+
if (f != null) {
|
|
1041
|
+
writer.writeMessage(
|
|
1042
|
+
1,
|
|
1043
|
+
f,
|
|
1044
|
+
proto.alis.build.BuildSpec.Content.Specify.serializeBinaryToWriter
|
|
1045
|
+
);
|
|
1046
|
+
}
|
|
1047
|
+
f = message.getPlan();
|
|
1048
|
+
if (f != null) {
|
|
1049
|
+
writer.writeMessage(
|
|
1050
|
+
2,
|
|
1051
|
+
f,
|
|
1052
|
+
proto.alis.build.BuildSpec.Content.Plan.serializeBinaryToWriter
|
|
1053
|
+
);
|
|
1054
|
+
}
|
|
1055
|
+
f = message.getTasks();
|
|
1056
|
+
if (f != null) {
|
|
1057
|
+
writer.writeMessage(
|
|
1058
|
+
3,
|
|
1059
|
+
f,
|
|
1060
|
+
proto.alis.build.BuildSpec.Content.Tasks.serializeBinaryToWriter
|
|
1061
|
+
);
|
|
1062
|
+
}
|
|
1063
|
+
};
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
|
|
1069
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1070
|
+
/**
|
|
1071
|
+
* Creates an object representation of this proto.
|
|
1072
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1073
|
+
* Optional fields that are not set will be set to undefined.
|
|
1074
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1075
|
+
* For the list of reserved names please see:
|
|
1076
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1077
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1078
|
+
* JSPB instance for transitional soy proto support:
|
|
1079
|
+
* http://goto/soy-param-migration
|
|
1080
|
+
* @return {!Object}
|
|
1081
|
+
*/
|
|
1082
|
+
proto.alis.build.BuildSpec.Content.Specify.prototype.toObject = function(opt_includeInstance) {
|
|
1083
|
+
return proto.alis.build.BuildSpec.Content.Specify.toObject(opt_includeInstance, this);
|
|
1084
|
+
};
|
|
1085
|
+
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* Static version of the {@see toObject} method.
|
|
1089
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1090
|
+
* the JSPB instance for transitional soy proto support:
|
|
1091
|
+
* http://goto/soy-param-migration
|
|
1092
|
+
* @param {!proto.alis.build.BuildSpec.Content.Specify} msg The msg instance to transform.
|
|
1093
|
+
* @return {!Object}
|
|
1094
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1095
|
+
*/
|
|
1096
|
+
proto.alis.build.BuildSpec.Content.Specify.toObject = function(includeInstance, msg) {
|
|
1097
|
+
var f, obj = {
|
|
1098
|
+
markdown: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1099
|
+
};
|
|
1100
|
+
|
|
1101
|
+
if (includeInstance) {
|
|
1102
|
+
obj.$jspbMessageInstance = msg;
|
|
1103
|
+
}
|
|
1104
|
+
return obj;
|
|
1105
|
+
};
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1111
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1112
|
+
* @return {!proto.alis.build.BuildSpec.Content.Specify}
|
|
1113
|
+
*/
|
|
1114
|
+
proto.alis.build.BuildSpec.Content.Specify.deserializeBinary = function(bytes) {
|
|
1115
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1116
|
+
var msg = new proto.alis.build.BuildSpec.Content.Specify;
|
|
1117
|
+
return proto.alis.build.BuildSpec.Content.Specify.deserializeBinaryFromReader(msg, reader);
|
|
1118
|
+
};
|
|
1119
|
+
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1123
|
+
* given reader into the given message object.
|
|
1124
|
+
* @param {!proto.alis.build.BuildSpec.Content.Specify} msg The message object to deserialize into.
|
|
1125
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1126
|
+
* @return {!proto.alis.build.BuildSpec.Content.Specify}
|
|
1127
|
+
*/
|
|
1128
|
+
proto.alis.build.BuildSpec.Content.Specify.deserializeBinaryFromReader = function(msg, reader) {
|
|
1129
|
+
while (reader.nextField()) {
|
|
1130
|
+
if (reader.isEndGroup()) {
|
|
1131
|
+
break;
|
|
1132
|
+
}
|
|
1133
|
+
var field = reader.getFieldNumber();
|
|
1134
|
+
switch (field) {
|
|
1135
|
+
case 1:
|
|
1136
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1137
|
+
msg.setMarkdown(value);
|
|
1138
|
+
break;
|
|
1139
|
+
default:
|
|
1140
|
+
reader.skipField();
|
|
1141
|
+
break;
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
return msg;
|
|
1145
|
+
};
|
|
1146
|
+
|
|
1147
|
+
|
|
1148
|
+
/**
|
|
1149
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1150
|
+
* @return {!Uint8Array}
|
|
1151
|
+
*/
|
|
1152
|
+
proto.alis.build.BuildSpec.Content.Specify.prototype.serializeBinary = function() {
|
|
1153
|
+
var writer = new jspb.BinaryWriter();
|
|
1154
|
+
proto.alis.build.BuildSpec.Content.Specify.serializeBinaryToWriter(this, writer);
|
|
1155
|
+
return writer.getResultBuffer();
|
|
1156
|
+
};
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
1160
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1161
|
+
* format), writing to the given BinaryWriter.
|
|
1162
|
+
* @param {!proto.alis.build.BuildSpec.Content.Specify} message
|
|
1163
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1164
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1165
|
+
*/
|
|
1166
|
+
proto.alis.build.BuildSpec.Content.Specify.serializeBinaryToWriter = function(message, writer) {
|
|
1167
|
+
var f = undefined;
|
|
1168
|
+
f = message.getMarkdown();
|
|
1169
|
+
if (f.length > 0) {
|
|
1170
|
+
writer.writeString(
|
|
1171
|
+
1,
|
|
1172
|
+
f
|
|
1173
|
+
);
|
|
1174
|
+
}
|
|
1175
|
+
};
|
|
1176
|
+
|
|
1177
|
+
|
|
1178
|
+
/**
|
|
1179
|
+
* optional string markdown = 1;
|
|
1180
|
+
* @return {string}
|
|
1181
|
+
*/
|
|
1182
|
+
proto.alis.build.BuildSpec.Content.Specify.prototype.getMarkdown = function() {
|
|
1183
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1184
|
+
};
|
|
1185
|
+
|
|
1186
|
+
|
|
1187
|
+
/**
|
|
1188
|
+
* @param {string} value
|
|
1189
|
+
* @return {!proto.alis.build.BuildSpec.Content.Specify} returns this
|
|
1190
|
+
*/
|
|
1191
|
+
proto.alis.build.BuildSpec.Content.Specify.prototype.setMarkdown = function(value) {
|
|
1192
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1193
|
+
};
|
|
1194
|
+
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
|
|
1198
|
+
|
|
1199
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1200
|
+
/**
|
|
1201
|
+
* Creates an object representation of this proto.
|
|
1202
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1203
|
+
* Optional fields that are not set will be set to undefined.
|
|
1204
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1205
|
+
* For the list of reserved names please see:
|
|
1206
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1207
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1208
|
+
* JSPB instance for transitional soy proto support:
|
|
1209
|
+
* http://goto/soy-param-migration
|
|
1210
|
+
* @return {!Object}
|
|
1211
|
+
*/
|
|
1212
|
+
proto.alis.build.BuildSpec.Content.Plan.prototype.toObject = function(opt_includeInstance) {
|
|
1213
|
+
return proto.alis.build.BuildSpec.Content.Plan.toObject(opt_includeInstance, this);
|
|
1214
|
+
};
|
|
1215
|
+
|
|
1216
|
+
|
|
1217
|
+
/**
|
|
1218
|
+
* Static version of the {@see toObject} method.
|
|
1219
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1220
|
+
* the JSPB instance for transitional soy proto support:
|
|
1221
|
+
* http://goto/soy-param-migration
|
|
1222
|
+
* @param {!proto.alis.build.BuildSpec.Content.Plan} msg The msg instance to transform.
|
|
1223
|
+
* @return {!Object}
|
|
1224
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1225
|
+
*/
|
|
1226
|
+
proto.alis.build.BuildSpec.Content.Plan.toObject = function(includeInstance, msg) {
|
|
1227
|
+
var f, obj = {
|
|
1228
|
+
markdown: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1229
|
+
};
|
|
1230
|
+
|
|
1231
|
+
if (includeInstance) {
|
|
1232
|
+
obj.$jspbMessageInstance = msg;
|
|
1233
|
+
}
|
|
1234
|
+
return obj;
|
|
1235
|
+
};
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1241
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1242
|
+
* @return {!proto.alis.build.BuildSpec.Content.Plan}
|
|
1243
|
+
*/
|
|
1244
|
+
proto.alis.build.BuildSpec.Content.Plan.deserializeBinary = function(bytes) {
|
|
1245
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1246
|
+
var msg = new proto.alis.build.BuildSpec.Content.Plan;
|
|
1247
|
+
return proto.alis.build.BuildSpec.Content.Plan.deserializeBinaryFromReader(msg, reader);
|
|
1248
|
+
};
|
|
1249
|
+
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1253
|
+
* given reader into the given message object.
|
|
1254
|
+
* @param {!proto.alis.build.BuildSpec.Content.Plan} msg The message object to deserialize into.
|
|
1255
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1256
|
+
* @return {!proto.alis.build.BuildSpec.Content.Plan}
|
|
1257
|
+
*/
|
|
1258
|
+
proto.alis.build.BuildSpec.Content.Plan.deserializeBinaryFromReader = function(msg, reader) {
|
|
1259
|
+
while (reader.nextField()) {
|
|
1260
|
+
if (reader.isEndGroup()) {
|
|
1261
|
+
break;
|
|
1262
|
+
}
|
|
1263
|
+
var field = reader.getFieldNumber();
|
|
1264
|
+
switch (field) {
|
|
1265
|
+
case 1:
|
|
1266
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1267
|
+
msg.setMarkdown(value);
|
|
1268
|
+
break;
|
|
1269
|
+
default:
|
|
1270
|
+
reader.skipField();
|
|
1271
|
+
break;
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
return msg;
|
|
1275
|
+
};
|
|
1276
|
+
|
|
1277
|
+
|
|
1278
|
+
/**
|
|
1279
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1280
|
+
* @return {!Uint8Array}
|
|
1281
|
+
*/
|
|
1282
|
+
proto.alis.build.BuildSpec.Content.Plan.prototype.serializeBinary = function() {
|
|
1283
|
+
var writer = new jspb.BinaryWriter();
|
|
1284
|
+
proto.alis.build.BuildSpec.Content.Plan.serializeBinaryToWriter(this, writer);
|
|
1285
|
+
return writer.getResultBuffer();
|
|
1286
|
+
};
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1291
|
+
* format), writing to the given BinaryWriter.
|
|
1292
|
+
* @param {!proto.alis.build.BuildSpec.Content.Plan} message
|
|
1293
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1294
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1295
|
+
*/
|
|
1296
|
+
proto.alis.build.BuildSpec.Content.Plan.serializeBinaryToWriter = function(message, writer) {
|
|
1297
|
+
var f = undefined;
|
|
1298
|
+
f = message.getMarkdown();
|
|
1299
|
+
if (f.length > 0) {
|
|
1300
|
+
writer.writeString(
|
|
1301
|
+
1,
|
|
1302
|
+
f
|
|
1303
|
+
);
|
|
1304
|
+
}
|
|
1305
|
+
};
|
|
1306
|
+
|
|
1307
|
+
|
|
1308
|
+
/**
|
|
1309
|
+
* optional string markdown = 1;
|
|
1310
|
+
* @return {string}
|
|
1311
|
+
*/
|
|
1312
|
+
proto.alis.build.BuildSpec.Content.Plan.prototype.getMarkdown = function() {
|
|
1313
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1314
|
+
};
|
|
1315
|
+
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
* @param {string} value
|
|
1319
|
+
* @return {!proto.alis.build.BuildSpec.Content.Plan} returns this
|
|
1320
|
+
*/
|
|
1321
|
+
proto.alis.build.BuildSpec.Content.Plan.prototype.setMarkdown = function(value) {
|
|
1322
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1323
|
+
};
|
|
1324
|
+
|
|
1325
|
+
|
|
1326
|
+
|
|
1327
|
+
|
|
1328
|
+
|
|
1329
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1330
|
+
/**
|
|
1331
|
+
* Creates an object representation of this proto.
|
|
1332
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1333
|
+
* Optional fields that are not set will be set to undefined.
|
|
1334
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1335
|
+
* For the list of reserved names please see:
|
|
1336
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1337
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1338
|
+
* JSPB instance for transitional soy proto support:
|
|
1339
|
+
* http://goto/soy-param-migration
|
|
1340
|
+
* @return {!Object}
|
|
1341
|
+
*/
|
|
1342
|
+
proto.alis.build.BuildSpec.Content.Tasks.prototype.toObject = function(opt_includeInstance) {
|
|
1343
|
+
return proto.alis.build.BuildSpec.Content.Tasks.toObject(opt_includeInstance, this);
|
|
1344
|
+
};
|
|
1345
|
+
|
|
1346
|
+
|
|
1347
|
+
/**
|
|
1348
|
+
* Static version of the {@see toObject} method.
|
|
1349
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1350
|
+
* the JSPB instance for transitional soy proto support:
|
|
1351
|
+
* http://goto/soy-param-migration
|
|
1352
|
+
* @param {!proto.alis.build.BuildSpec.Content.Tasks} msg The msg instance to transform.
|
|
1353
|
+
* @return {!Object}
|
|
1354
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1355
|
+
*/
|
|
1356
|
+
proto.alis.build.BuildSpec.Content.Tasks.toObject = function(includeInstance, msg) {
|
|
1357
|
+
var f, obj = {
|
|
1358
|
+
markdown: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1359
|
+
};
|
|
1360
|
+
|
|
1361
|
+
if (includeInstance) {
|
|
1362
|
+
obj.$jspbMessageInstance = msg;
|
|
1363
|
+
}
|
|
1364
|
+
return obj;
|
|
1365
|
+
};
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
|
|
1369
|
+
/**
|
|
1370
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1371
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1372
|
+
* @return {!proto.alis.build.BuildSpec.Content.Tasks}
|
|
1373
|
+
*/
|
|
1374
|
+
proto.alis.build.BuildSpec.Content.Tasks.deserializeBinary = function(bytes) {
|
|
1375
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1376
|
+
var msg = new proto.alis.build.BuildSpec.Content.Tasks;
|
|
1377
|
+
return proto.alis.build.BuildSpec.Content.Tasks.deserializeBinaryFromReader(msg, reader);
|
|
1378
|
+
};
|
|
1379
|
+
|
|
1380
|
+
|
|
1381
|
+
/**
|
|
1382
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1383
|
+
* given reader into the given message object.
|
|
1384
|
+
* @param {!proto.alis.build.BuildSpec.Content.Tasks} msg The message object to deserialize into.
|
|
1385
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1386
|
+
* @return {!proto.alis.build.BuildSpec.Content.Tasks}
|
|
1387
|
+
*/
|
|
1388
|
+
proto.alis.build.BuildSpec.Content.Tasks.deserializeBinaryFromReader = function(msg, reader) {
|
|
1389
|
+
while (reader.nextField()) {
|
|
1390
|
+
if (reader.isEndGroup()) {
|
|
1391
|
+
break;
|
|
1392
|
+
}
|
|
1393
|
+
var field = reader.getFieldNumber();
|
|
1394
|
+
switch (field) {
|
|
1395
|
+
case 1:
|
|
1396
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1397
|
+
msg.setMarkdown(value);
|
|
1398
|
+
break;
|
|
1399
|
+
default:
|
|
1400
|
+
reader.skipField();
|
|
1401
|
+
break;
|
|
1402
|
+
}
|
|
1403
|
+
}
|
|
1404
|
+
return msg;
|
|
1405
|
+
};
|
|
1406
|
+
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1410
|
+
* @return {!Uint8Array}
|
|
1411
|
+
*/
|
|
1412
|
+
proto.alis.build.BuildSpec.Content.Tasks.prototype.serializeBinary = function() {
|
|
1413
|
+
var writer = new jspb.BinaryWriter();
|
|
1414
|
+
proto.alis.build.BuildSpec.Content.Tasks.serializeBinaryToWriter(this, writer);
|
|
1415
|
+
return writer.getResultBuffer();
|
|
1416
|
+
};
|
|
1417
|
+
|
|
1418
|
+
|
|
1419
|
+
/**
|
|
1420
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1421
|
+
* format), writing to the given BinaryWriter.
|
|
1422
|
+
* @param {!proto.alis.build.BuildSpec.Content.Tasks} message
|
|
1423
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1424
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1425
|
+
*/
|
|
1426
|
+
proto.alis.build.BuildSpec.Content.Tasks.serializeBinaryToWriter = function(message, writer) {
|
|
1427
|
+
var f = undefined;
|
|
1428
|
+
f = message.getMarkdown();
|
|
1429
|
+
if (f.length > 0) {
|
|
1430
|
+
writer.writeString(
|
|
1431
|
+
1,
|
|
1432
|
+
f
|
|
1433
|
+
);
|
|
1434
|
+
}
|
|
1435
|
+
};
|
|
1436
|
+
|
|
1437
|
+
|
|
1438
|
+
/**
|
|
1439
|
+
* optional string markdown = 1;
|
|
1440
|
+
* @return {string}
|
|
1441
|
+
*/
|
|
1442
|
+
proto.alis.build.BuildSpec.Content.Tasks.prototype.getMarkdown = function() {
|
|
1443
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1444
|
+
};
|
|
1445
|
+
|
|
1446
|
+
|
|
1447
|
+
/**
|
|
1448
|
+
* @param {string} value
|
|
1449
|
+
* @return {!proto.alis.build.BuildSpec.Content.Tasks} returns this
|
|
1450
|
+
*/
|
|
1451
|
+
proto.alis.build.BuildSpec.Content.Tasks.prototype.setMarkdown = function(value) {
|
|
1452
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1453
|
+
};
|
|
1454
|
+
|
|
1455
|
+
|
|
1456
|
+
/**
|
|
1457
|
+
* optional Specify specify = 1;
|
|
1458
|
+
* @return {?proto.alis.build.BuildSpec.Content.Specify}
|
|
1459
|
+
*/
|
|
1460
|
+
proto.alis.build.BuildSpec.Content.prototype.getSpecify = function() {
|
|
1461
|
+
return /** @type{?proto.alis.build.BuildSpec.Content.Specify} */ (
|
|
1462
|
+
jspb.Message.getWrapperField(this, proto.alis.build.BuildSpec.Content.Specify, 1));
|
|
1463
|
+
};
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
/**
|
|
1467
|
+
* @param {?proto.alis.build.BuildSpec.Content.Specify|undefined} value
|
|
1468
|
+
* @return {!proto.alis.build.BuildSpec.Content} returns this
|
|
1469
|
+
*/
|
|
1470
|
+
proto.alis.build.BuildSpec.Content.prototype.setSpecify = function(value) {
|
|
1471
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
1472
|
+
};
|
|
1473
|
+
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* Clears the message field making it undefined.
|
|
1477
|
+
* @return {!proto.alis.build.BuildSpec.Content} returns this
|
|
1478
|
+
*/
|
|
1479
|
+
proto.alis.build.BuildSpec.Content.prototype.clearSpecify = function() {
|
|
1480
|
+
return this.setSpecify(undefined);
|
|
1481
|
+
};
|
|
1482
|
+
|
|
1483
|
+
|
|
1484
|
+
/**
|
|
1485
|
+
* Returns whether this field is set.
|
|
1486
|
+
* @return {boolean}
|
|
1487
|
+
*/
|
|
1488
|
+
proto.alis.build.BuildSpec.Content.prototype.hasSpecify = function() {
|
|
1489
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1490
|
+
};
|
|
1491
|
+
|
|
1492
|
+
|
|
1493
|
+
/**
|
|
1494
|
+
* optional Plan plan = 2;
|
|
1495
|
+
* @return {?proto.alis.build.BuildSpec.Content.Plan}
|
|
1496
|
+
*/
|
|
1497
|
+
proto.alis.build.BuildSpec.Content.prototype.getPlan = function() {
|
|
1498
|
+
return /** @type{?proto.alis.build.BuildSpec.Content.Plan} */ (
|
|
1499
|
+
jspb.Message.getWrapperField(this, proto.alis.build.BuildSpec.Content.Plan, 2));
|
|
1500
|
+
};
|
|
1501
|
+
|
|
1502
|
+
|
|
1503
|
+
/**
|
|
1504
|
+
* @param {?proto.alis.build.BuildSpec.Content.Plan|undefined} value
|
|
1505
|
+
* @return {!proto.alis.build.BuildSpec.Content} returns this
|
|
1506
|
+
*/
|
|
1507
|
+
proto.alis.build.BuildSpec.Content.prototype.setPlan = function(value) {
|
|
1508
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
1509
|
+
};
|
|
1510
|
+
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* Clears the message field making it undefined.
|
|
1514
|
+
* @return {!proto.alis.build.BuildSpec.Content} returns this
|
|
1515
|
+
*/
|
|
1516
|
+
proto.alis.build.BuildSpec.Content.prototype.clearPlan = function() {
|
|
1517
|
+
return this.setPlan(undefined);
|
|
1518
|
+
};
|
|
1519
|
+
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* Returns whether this field is set.
|
|
1523
|
+
* @return {boolean}
|
|
1524
|
+
*/
|
|
1525
|
+
proto.alis.build.BuildSpec.Content.prototype.hasPlan = function() {
|
|
1526
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1527
|
+
};
|
|
1528
|
+
|
|
1529
|
+
|
|
1530
|
+
/**
|
|
1531
|
+
* optional Tasks tasks = 3;
|
|
1532
|
+
* @return {?proto.alis.build.BuildSpec.Content.Tasks}
|
|
1533
|
+
*/
|
|
1534
|
+
proto.alis.build.BuildSpec.Content.prototype.getTasks = function() {
|
|
1535
|
+
return /** @type{?proto.alis.build.BuildSpec.Content.Tasks} */ (
|
|
1536
|
+
jspb.Message.getWrapperField(this, proto.alis.build.BuildSpec.Content.Tasks, 3));
|
|
1537
|
+
};
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
/**
|
|
1541
|
+
* @param {?proto.alis.build.BuildSpec.Content.Tasks|undefined} value
|
|
1542
|
+
* @return {!proto.alis.build.BuildSpec.Content} returns this
|
|
1543
|
+
*/
|
|
1544
|
+
proto.alis.build.BuildSpec.Content.prototype.setTasks = function(value) {
|
|
1545
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
1546
|
+
};
|
|
1547
|
+
|
|
1548
|
+
|
|
1549
|
+
/**
|
|
1550
|
+
* Clears the message field making it undefined.
|
|
1551
|
+
* @return {!proto.alis.build.BuildSpec.Content} returns this
|
|
1552
|
+
*/
|
|
1553
|
+
proto.alis.build.BuildSpec.Content.prototype.clearTasks = function() {
|
|
1554
|
+
return this.setTasks(undefined);
|
|
1555
|
+
};
|
|
1556
|
+
|
|
1557
|
+
|
|
1558
|
+
/**
|
|
1559
|
+
* Returns whether this field is set.
|
|
1560
|
+
* @return {boolean}
|
|
1561
|
+
*/
|
|
1562
|
+
proto.alis.build.BuildSpec.Content.prototype.hasTasks = function() {
|
|
1563
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1564
|
+
};
|
|
1565
|
+
|
|
1566
|
+
|
|
1567
|
+
/**
|
|
1568
|
+
* optional string name = 1;
|
|
1569
|
+
* @return {string}
|
|
1570
|
+
*/
|
|
1571
|
+
proto.alis.build.BuildSpec.prototype.getName = function() {
|
|
1572
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1573
|
+
};
|
|
1574
|
+
|
|
1575
|
+
|
|
1576
|
+
/**
|
|
1577
|
+
* @param {string} value
|
|
1578
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1579
|
+
*/
|
|
1580
|
+
proto.alis.build.BuildSpec.prototype.setName = function(value) {
|
|
1581
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1582
|
+
};
|
|
1583
|
+
|
|
1584
|
+
|
|
1585
|
+
/**
|
|
1586
|
+
* optional string display_name = 2;
|
|
1587
|
+
* @return {string}
|
|
1588
|
+
*/
|
|
1589
|
+
proto.alis.build.BuildSpec.prototype.getDisplayName = function() {
|
|
1590
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1591
|
+
};
|
|
1592
|
+
|
|
1593
|
+
|
|
1594
|
+
/**
|
|
1595
|
+
* @param {string} value
|
|
1596
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1597
|
+
*/
|
|
1598
|
+
proto.alis.build.BuildSpec.prototype.setDisplayName = function(value) {
|
|
1599
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1600
|
+
};
|
|
1601
|
+
|
|
1602
|
+
|
|
1603
|
+
/**
|
|
1604
|
+
* optional Status status = 3;
|
|
1605
|
+
* @return {!proto.alis.build.BuildSpec.Status}
|
|
1606
|
+
*/
|
|
1607
|
+
proto.alis.build.BuildSpec.prototype.getStatus = function() {
|
|
1608
|
+
return /** @type {!proto.alis.build.BuildSpec.Status} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
1609
|
+
};
|
|
1610
|
+
|
|
1611
|
+
|
|
1612
|
+
/**
|
|
1613
|
+
* @param {!proto.alis.build.BuildSpec.Status} value
|
|
1614
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1615
|
+
*/
|
|
1616
|
+
proto.alis.build.BuildSpec.prototype.setStatus = function(value) {
|
|
1617
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
1618
|
+
};
|
|
1619
|
+
|
|
1620
|
+
|
|
1621
|
+
/**
|
|
1622
|
+
* optional string summary = 4;
|
|
1623
|
+
* @return {string}
|
|
1624
|
+
*/
|
|
1625
|
+
proto.alis.build.BuildSpec.prototype.getSummary = function() {
|
|
1626
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1627
|
+
};
|
|
1628
|
+
|
|
1629
|
+
|
|
1630
|
+
/**
|
|
1631
|
+
* @param {string} value
|
|
1632
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1633
|
+
*/
|
|
1634
|
+
proto.alis.build.BuildSpec.prototype.setSummary = function(value) {
|
|
1635
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1636
|
+
};
|
|
1637
|
+
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* optional Content content = 5;
|
|
1641
|
+
* @return {?proto.alis.build.BuildSpec.Content}
|
|
1642
|
+
*/
|
|
1643
|
+
proto.alis.build.BuildSpec.prototype.getContent = function() {
|
|
1644
|
+
return /** @type{?proto.alis.build.BuildSpec.Content} */ (
|
|
1645
|
+
jspb.Message.getWrapperField(this, proto.alis.build.BuildSpec.Content, 5));
|
|
1646
|
+
};
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
|
+
/**
|
|
1650
|
+
* @param {?proto.alis.build.BuildSpec.Content|undefined} value
|
|
1651
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1652
|
+
*/
|
|
1653
|
+
proto.alis.build.BuildSpec.prototype.setContent = function(value) {
|
|
1654
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
1655
|
+
};
|
|
1656
|
+
|
|
1657
|
+
|
|
1658
|
+
/**
|
|
1659
|
+
* Clears the message field making it undefined.
|
|
1660
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1661
|
+
*/
|
|
1662
|
+
proto.alis.build.BuildSpec.prototype.clearContent = function() {
|
|
1663
|
+
return this.setContent(undefined);
|
|
1664
|
+
};
|
|
1665
|
+
|
|
1666
|
+
|
|
1667
|
+
/**
|
|
1668
|
+
* Returns whether this field is set.
|
|
1669
|
+
* @return {boolean}
|
|
1670
|
+
*/
|
|
1671
|
+
proto.alis.build.BuildSpec.prototype.hasContent = function() {
|
|
1672
|
+
return jspb.Message.getField(this, 5) != null;
|
|
1673
|
+
};
|
|
1674
|
+
|
|
1675
|
+
|
|
1676
|
+
/**
|
|
1677
|
+
* repeated string products = 6;
|
|
1678
|
+
* @return {!Array<string>}
|
|
1679
|
+
*/
|
|
1680
|
+
proto.alis.build.BuildSpec.prototype.getProductsList = function() {
|
|
1681
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
|
|
1682
|
+
};
|
|
1683
|
+
|
|
1684
|
+
|
|
1685
|
+
/**
|
|
1686
|
+
* @param {!Array<string>} value
|
|
1687
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1688
|
+
*/
|
|
1689
|
+
proto.alis.build.BuildSpec.prototype.setProductsList = function(value) {
|
|
1690
|
+
return jspb.Message.setField(this, 6, value || []);
|
|
1691
|
+
};
|
|
1692
|
+
|
|
1693
|
+
|
|
1694
|
+
/**
|
|
1695
|
+
* @param {string} value
|
|
1696
|
+
* @param {number=} opt_index
|
|
1697
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1698
|
+
*/
|
|
1699
|
+
proto.alis.build.BuildSpec.prototype.addProducts = function(value, opt_index) {
|
|
1700
|
+
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
|
|
1701
|
+
};
|
|
1702
|
+
|
|
1703
|
+
|
|
1704
|
+
/**
|
|
1705
|
+
* Clears the list making it empty but non-null.
|
|
1706
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1707
|
+
*/
|
|
1708
|
+
proto.alis.build.BuildSpec.prototype.clearProductsList = function() {
|
|
1709
|
+
return this.setProductsList([]);
|
|
1710
|
+
};
|
|
1711
|
+
|
|
1712
|
+
|
|
1713
|
+
/**
|
|
1714
|
+
* optional string account = 7;
|
|
1715
|
+
* @return {string}
|
|
1716
|
+
*/
|
|
1717
|
+
proto.alis.build.BuildSpec.prototype.getAccount = function() {
|
|
1718
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1719
|
+
};
|
|
1720
|
+
|
|
1721
|
+
|
|
1722
|
+
/**
|
|
1723
|
+
* @param {string} value
|
|
1724
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1725
|
+
*/
|
|
1726
|
+
proto.alis.build.BuildSpec.prototype.setAccount = function(value) {
|
|
1727
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
1728
|
+
};
|
|
1729
|
+
|
|
1730
|
+
|
|
1731
|
+
/**
|
|
1732
|
+
* repeated Extension extensions_enabled = 8;
|
|
1733
|
+
* @return {!Array<!proto.alis.build.BuildSpec.Extension>}
|
|
1734
|
+
*/
|
|
1735
|
+
proto.alis.build.BuildSpec.prototype.getExtensionsEnabledList = function() {
|
|
1736
|
+
return /** @type {!Array<!proto.alis.build.BuildSpec.Extension>} */ (jspb.Message.getRepeatedField(this, 8));
|
|
1737
|
+
};
|
|
1738
|
+
|
|
1739
|
+
|
|
1740
|
+
/**
|
|
1741
|
+
* @param {!Array<!proto.alis.build.BuildSpec.Extension>} value
|
|
1742
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1743
|
+
*/
|
|
1744
|
+
proto.alis.build.BuildSpec.prototype.setExtensionsEnabledList = function(value) {
|
|
1745
|
+
return jspb.Message.setField(this, 8, value || []);
|
|
1746
|
+
};
|
|
1747
|
+
|
|
1748
|
+
|
|
1749
|
+
/**
|
|
1750
|
+
* @param {!proto.alis.build.BuildSpec.Extension} value
|
|
1751
|
+
* @param {number=} opt_index
|
|
1752
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1753
|
+
*/
|
|
1754
|
+
proto.alis.build.BuildSpec.prototype.addExtensionsEnabled = function(value, opt_index) {
|
|
1755
|
+
return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
|
|
1756
|
+
};
|
|
1757
|
+
|
|
1758
|
+
|
|
1759
|
+
/**
|
|
1760
|
+
* Clears the list making it empty but non-null.
|
|
1761
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1762
|
+
*/
|
|
1763
|
+
proto.alis.build.BuildSpec.prototype.clearExtensionsEnabledList = function() {
|
|
1764
|
+
return this.setExtensionsEnabledList([]);
|
|
1765
|
+
};
|
|
1766
|
+
|
|
1767
|
+
|
|
1768
|
+
/**
|
|
1769
|
+
* repeated string neurons = 9;
|
|
1770
|
+
* @return {!Array<string>}
|
|
1771
|
+
*/
|
|
1772
|
+
proto.alis.build.BuildSpec.prototype.getNeuronsList = function() {
|
|
1773
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 9));
|
|
1774
|
+
};
|
|
1775
|
+
|
|
1776
|
+
|
|
1777
|
+
/**
|
|
1778
|
+
* @param {!Array<string>} value
|
|
1779
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1780
|
+
*/
|
|
1781
|
+
proto.alis.build.BuildSpec.prototype.setNeuronsList = function(value) {
|
|
1782
|
+
return jspb.Message.setField(this, 9, value || []);
|
|
1783
|
+
};
|
|
1784
|
+
|
|
1785
|
+
|
|
1786
|
+
/**
|
|
1787
|
+
* @param {string} value
|
|
1788
|
+
* @param {number=} opt_index
|
|
1789
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1790
|
+
*/
|
|
1791
|
+
proto.alis.build.BuildSpec.prototype.addNeurons = function(value, opt_index) {
|
|
1792
|
+
return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
|
|
1793
|
+
};
|
|
1794
|
+
|
|
1795
|
+
|
|
1796
|
+
/**
|
|
1797
|
+
* Clears the list making it empty but non-null.
|
|
1798
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1799
|
+
*/
|
|
1800
|
+
proto.alis.build.BuildSpec.prototype.clearNeuronsList = function() {
|
|
1801
|
+
return this.setNeuronsList([]);
|
|
1802
|
+
};
|
|
1803
|
+
|
|
1804
|
+
|
|
1805
|
+
/**
|
|
1806
|
+
* optional string etag = 97;
|
|
1807
|
+
* @return {string}
|
|
1808
|
+
*/
|
|
1809
|
+
proto.alis.build.BuildSpec.prototype.getEtag = function() {
|
|
1810
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 97, ""));
|
|
1811
|
+
};
|
|
1812
|
+
|
|
1813
|
+
|
|
1814
|
+
/**
|
|
1815
|
+
* @param {string} value
|
|
1816
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1817
|
+
*/
|
|
1818
|
+
proto.alis.build.BuildSpec.prototype.setEtag = function(value) {
|
|
1819
|
+
return jspb.Message.setProto3StringField(this, 97, value);
|
|
1820
|
+
};
|
|
1821
|
+
|
|
1822
|
+
|
|
1823
|
+
/**
|
|
1824
|
+
* optional google.protobuf.Timestamp create_time = 98;
|
|
1825
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1826
|
+
*/
|
|
1827
|
+
proto.alis.build.BuildSpec.prototype.getCreateTime = function() {
|
|
1828
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1829
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 98));
|
|
1830
|
+
};
|
|
1831
|
+
|
|
1832
|
+
|
|
1833
|
+
/**
|
|
1834
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1835
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1836
|
+
*/
|
|
1837
|
+
proto.alis.build.BuildSpec.prototype.setCreateTime = function(value) {
|
|
1838
|
+
return jspb.Message.setWrapperField(this, 98, value);
|
|
1839
|
+
};
|
|
1840
|
+
|
|
1841
|
+
|
|
1842
|
+
/**
|
|
1843
|
+
* Clears the message field making it undefined.
|
|
1844
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1845
|
+
*/
|
|
1846
|
+
proto.alis.build.BuildSpec.prototype.clearCreateTime = function() {
|
|
1847
|
+
return this.setCreateTime(undefined);
|
|
1848
|
+
};
|
|
1849
|
+
|
|
1850
|
+
|
|
1851
|
+
/**
|
|
1852
|
+
* Returns whether this field is set.
|
|
1853
|
+
* @return {boolean}
|
|
1854
|
+
*/
|
|
1855
|
+
proto.alis.build.BuildSpec.prototype.hasCreateTime = function() {
|
|
1856
|
+
return jspb.Message.getField(this, 98) != null;
|
|
1857
|
+
};
|
|
1858
|
+
|
|
1859
|
+
|
|
1860
|
+
/**
|
|
1861
|
+
* optional google.protobuf.Timestamp update_time = 99;
|
|
1862
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1863
|
+
*/
|
|
1864
|
+
proto.alis.build.BuildSpec.prototype.getUpdateTime = function() {
|
|
1865
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1866
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 99));
|
|
1867
|
+
};
|
|
1868
|
+
|
|
1869
|
+
|
|
1870
|
+
/**
|
|
1871
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1872
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1873
|
+
*/
|
|
1874
|
+
proto.alis.build.BuildSpec.prototype.setUpdateTime = function(value) {
|
|
1875
|
+
return jspb.Message.setWrapperField(this, 99, value);
|
|
1876
|
+
};
|
|
1877
|
+
|
|
1878
|
+
|
|
1879
|
+
/**
|
|
1880
|
+
* Clears the message field making it undefined.
|
|
1881
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1882
|
+
*/
|
|
1883
|
+
proto.alis.build.BuildSpec.prototype.clearUpdateTime = function() {
|
|
1884
|
+
return this.setUpdateTime(undefined);
|
|
1885
|
+
};
|
|
1886
|
+
|
|
1887
|
+
|
|
1888
|
+
/**
|
|
1889
|
+
* Returns whether this field is set.
|
|
1890
|
+
* @return {boolean}
|
|
1891
|
+
*/
|
|
1892
|
+
proto.alis.build.BuildSpec.prototype.hasUpdateTime = function() {
|
|
1893
|
+
return jspb.Message.getField(this, 99) != null;
|
|
1894
|
+
};
|
|
1895
|
+
|
|
1896
|
+
|
|
1897
|
+
/**
|
|
1898
|
+
* optional google.protobuf.Timestamp delete_time = 100;
|
|
1899
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1900
|
+
*/
|
|
1901
|
+
proto.alis.build.BuildSpec.prototype.getDeleteTime = function() {
|
|
1902
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1903
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 100));
|
|
1904
|
+
};
|
|
1905
|
+
|
|
1906
|
+
|
|
1907
|
+
/**
|
|
1908
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1909
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1910
|
+
*/
|
|
1911
|
+
proto.alis.build.BuildSpec.prototype.setDeleteTime = function(value) {
|
|
1912
|
+
return jspb.Message.setWrapperField(this, 100, value);
|
|
1913
|
+
};
|
|
1914
|
+
|
|
1915
|
+
|
|
1916
|
+
/**
|
|
1917
|
+
* Clears the message field making it undefined.
|
|
1918
|
+
* @return {!proto.alis.build.BuildSpec} returns this
|
|
1919
|
+
*/
|
|
1920
|
+
proto.alis.build.BuildSpec.prototype.clearDeleteTime = function() {
|
|
1921
|
+
return this.setDeleteTime(undefined);
|
|
1922
|
+
};
|
|
1923
|
+
|
|
1924
|
+
|
|
1925
|
+
/**
|
|
1926
|
+
* Returns whether this field is set.
|
|
1927
|
+
* @return {boolean}
|
|
1928
|
+
*/
|
|
1929
|
+
proto.alis.build.BuildSpec.prototype.hasDeleteTime = function() {
|
|
1930
|
+
return jspb.Message.getField(this, 100) != null;
|
|
1931
|
+
};
|
|
1932
|
+
|
|
1933
|
+
|
|
1934
|
+
|
|
1935
|
+
|
|
1936
|
+
|
|
1937
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1938
|
+
/**
|
|
1939
|
+
* Creates an object representation of this proto.
|
|
1940
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1941
|
+
* Optional fields that are not set will be set to undefined.
|
|
1942
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1943
|
+
* For the list of reserved names please see:
|
|
1944
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1945
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1946
|
+
* JSPB instance for transitional soy proto support:
|
|
1947
|
+
* http://goto/soy-param-migration
|
|
1948
|
+
* @return {!Object}
|
|
1949
|
+
*/
|
|
1950
|
+
proto.alis.build.GetBuildSpecRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1951
|
+
return proto.alis.build.GetBuildSpecRequest.toObject(opt_includeInstance, this);
|
|
1952
|
+
};
|
|
1953
|
+
|
|
1954
|
+
|
|
1955
|
+
/**
|
|
1956
|
+
* Static version of the {@see toObject} method.
|
|
1957
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1958
|
+
* the JSPB instance for transitional soy proto support:
|
|
1959
|
+
* http://goto/soy-param-migration
|
|
1960
|
+
* @param {!proto.alis.build.GetBuildSpecRequest} msg The msg instance to transform.
|
|
1961
|
+
* @return {!Object}
|
|
1962
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1963
|
+
*/
|
|
1964
|
+
proto.alis.build.GetBuildSpecRequest.toObject = function(includeInstance, msg) {
|
|
1965
|
+
var f, obj = {
|
|
1966
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1967
|
+
view: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1968
|
+
readMask: (f = msg.getReadMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
1969
|
+
};
|
|
1970
|
+
|
|
1971
|
+
if (includeInstance) {
|
|
1972
|
+
obj.$jspbMessageInstance = msg;
|
|
1973
|
+
}
|
|
1974
|
+
return obj;
|
|
1975
|
+
};
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
|
|
1979
|
+
/**
|
|
1980
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1981
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1982
|
+
* @return {!proto.alis.build.GetBuildSpecRequest}
|
|
1983
|
+
*/
|
|
1984
|
+
proto.alis.build.GetBuildSpecRequest.deserializeBinary = function(bytes) {
|
|
1985
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1986
|
+
var msg = new proto.alis.build.GetBuildSpecRequest;
|
|
1987
|
+
return proto.alis.build.GetBuildSpecRequest.deserializeBinaryFromReader(msg, reader);
|
|
1988
|
+
};
|
|
1989
|
+
|
|
1990
|
+
|
|
1991
|
+
/**
|
|
1992
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1993
|
+
* given reader into the given message object.
|
|
1994
|
+
* @param {!proto.alis.build.GetBuildSpecRequest} msg The message object to deserialize into.
|
|
1995
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1996
|
+
* @return {!proto.alis.build.GetBuildSpecRequest}
|
|
1997
|
+
*/
|
|
1998
|
+
proto.alis.build.GetBuildSpecRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1999
|
+
while (reader.nextField()) {
|
|
2000
|
+
if (reader.isEndGroup()) {
|
|
2001
|
+
break;
|
|
2002
|
+
}
|
|
2003
|
+
var field = reader.getFieldNumber();
|
|
2004
|
+
switch (field) {
|
|
2005
|
+
case 1:
|
|
2006
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2007
|
+
msg.setName(value);
|
|
2008
|
+
break;
|
|
2009
|
+
case 2:
|
|
2010
|
+
var value = /** @type {!proto.alis.build.BuildSpecView} */ (reader.readEnum());
|
|
2011
|
+
msg.setView(value);
|
|
2012
|
+
break;
|
|
2013
|
+
case 3:
|
|
2014
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
2015
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
2016
|
+
msg.setReadMask(value);
|
|
2017
|
+
break;
|
|
2018
|
+
default:
|
|
2019
|
+
reader.skipField();
|
|
2020
|
+
break;
|
|
2021
|
+
}
|
|
2022
|
+
}
|
|
2023
|
+
return msg;
|
|
2024
|
+
};
|
|
2025
|
+
|
|
2026
|
+
|
|
2027
|
+
/**
|
|
2028
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2029
|
+
* @return {!Uint8Array}
|
|
2030
|
+
*/
|
|
2031
|
+
proto.alis.build.GetBuildSpecRequest.prototype.serializeBinary = function() {
|
|
2032
|
+
var writer = new jspb.BinaryWriter();
|
|
2033
|
+
proto.alis.build.GetBuildSpecRequest.serializeBinaryToWriter(this, writer);
|
|
2034
|
+
return writer.getResultBuffer();
|
|
2035
|
+
};
|
|
2036
|
+
|
|
2037
|
+
|
|
2038
|
+
/**
|
|
2039
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2040
|
+
* format), writing to the given BinaryWriter.
|
|
2041
|
+
* @param {!proto.alis.build.GetBuildSpecRequest} message
|
|
2042
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2043
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2044
|
+
*/
|
|
2045
|
+
proto.alis.build.GetBuildSpecRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2046
|
+
var f = undefined;
|
|
2047
|
+
f = message.getName();
|
|
2048
|
+
if (f.length > 0) {
|
|
2049
|
+
writer.writeString(
|
|
2050
|
+
1,
|
|
2051
|
+
f
|
|
2052
|
+
);
|
|
2053
|
+
}
|
|
2054
|
+
f = message.getView();
|
|
2055
|
+
if (f !== 0.0) {
|
|
2056
|
+
writer.writeEnum(
|
|
2057
|
+
2,
|
|
2058
|
+
f
|
|
2059
|
+
);
|
|
2060
|
+
}
|
|
2061
|
+
f = message.getReadMask();
|
|
2062
|
+
if (f != null) {
|
|
2063
|
+
writer.writeMessage(
|
|
2064
|
+
3,
|
|
2065
|
+
f,
|
|
2066
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
2067
|
+
);
|
|
2068
|
+
}
|
|
2069
|
+
};
|
|
2070
|
+
|
|
2071
|
+
|
|
2072
|
+
/**
|
|
2073
|
+
* optional string name = 1;
|
|
2074
|
+
* @return {string}
|
|
2075
|
+
*/
|
|
2076
|
+
proto.alis.build.GetBuildSpecRequest.prototype.getName = function() {
|
|
2077
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2078
|
+
};
|
|
2079
|
+
|
|
2080
|
+
|
|
2081
|
+
/**
|
|
2082
|
+
* @param {string} value
|
|
2083
|
+
* @return {!proto.alis.build.GetBuildSpecRequest} returns this
|
|
2084
|
+
*/
|
|
2085
|
+
proto.alis.build.GetBuildSpecRequest.prototype.setName = function(value) {
|
|
2086
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2087
|
+
};
|
|
2088
|
+
|
|
2089
|
+
|
|
2090
|
+
/**
|
|
2091
|
+
* optional BuildSpecView view = 2;
|
|
2092
|
+
* @return {!proto.alis.build.BuildSpecView}
|
|
2093
|
+
*/
|
|
2094
|
+
proto.alis.build.GetBuildSpecRequest.prototype.getView = function() {
|
|
2095
|
+
return /** @type {!proto.alis.build.BuildSpecView} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2096
|
+
};
|
|
2097
|
+
|
|
2098
|
+
|
|
2099
|
+
/**
|
|
2100
|
+
* @param {!proto.alis.build.BuildSpecView} value
|
|
2101
|
+
* @return {!proto.alis.build.GetBuildSpecRequest} returns this
|
|
2102
|
+
*/
|
|
2103
|
+
proto.alis.build.GetBuildSpecRequest.prototype.setView = function(value) {
|
|
2104
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
2105
|
+
};
|
|
2106
|
+
|
|
2107
|
+
|
|
2108
|
+
/**
|
|
2109
|
+
* optional google.protobuf.FieldMask read_mask = 3;
|
|
2110
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
2111
|
+
*/
|
|
2112
|
+
proto.alis.build.GetBuildSpecRequest.prototype.getReadMask = function() {
|
|
2113
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
2114
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 3));
|
|
2115
|
+
};
|
|
2116
|
+
|
|
2117
|
+
|
|
2118
|
+
/**
|
|
2119
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
2120
|
+
* @return {!proto.alis.build.GetBuildSpecRequest} returns this
|
|
2121
|
+
*/
|
|
2122
|
+
proto.alis.build.GetBuildSpecRequest.prototype.setReadMask = function(value) {
|
|
2123
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
2124
|
+
};
|
|
2125
|
+
|
|
2126
|
+
|
|
2127
|
+
/**
|
|
2128
|
+
* Clears the message field making it undefined.
|
|
2129
|
+
* @return {!proto.alis.build.GetBuildSpecRequest} returns this
|
|
2130
|
+
*/
|
|
2131
|
+
proto.alis.build.GetBuildSpecRequest.prototype.clearReadMask = function() {
|
|
2132
|
+
return this.setReadMask(undefined);
|
|
2133
|
+
};
|
|
2134
|
+
|
|
2135
|
+
|
|
2136
|
+
/**
|
|
2137
|
+
* Returns whether this field is set.
|
|
2138
|
+
* @return {boolean}
|
|
2139
|
+
*/
|
|
2140
|
+
proto.alis.build.GetBuildSpecRequest.prototype.hasReadMask = function() {
|
|
2141
|
+
return jspb.Message.getField(this, 3) != null;
|
|
2142
|
+
};
|
|
2143
|
+
|
|
2144
|
+
|
|
2145
|
+
|
|
2146
|
+
|
|
2147
|
+
|
|
2148
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2149
|
+
/**
|
|
2150
|
+
* Creates an object representation of this proto.
|
|
2151
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2152
|
+
* Optional fields that are not set will be set to undefined.
|
|
2153
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2154
|
+
* For the list of reserved names please see:
|
|
2155
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2156
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2157
|
+
* JSPB instance for transitional soy proto support:
|
|
2158
|
+
* http://goto/soy-param-migration
|
|
2159
|
+
* @return {!Object}
|
|
2160
|
+
*/
|
|
2161
|
+
proto.alis.build.ListBuildSpecsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2162
|
+
return proto.alis.build.ListBuildSpecsRequest.toObject(opt_includeInstance, this);
|
|
2163
|
+
};
|
|
2164
|
+
|
|
2165
|
+
|
|
2166
|
+
/**
|
|
2167
|
+
* Static version of the {@see toObject} method.
|
|
2168
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2169
|
+
* the JSPB instance for transitional soy proto support:
|
|
2170
|
+
* http://goto/soy-param-migration
|
|
2171
|
+
* @param {!proto.alis.build.ListBuildSpecsRequest} msg The msg instance to transform.
|
|
2172
|
+
* @return {!Object}
|
|
2173
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2174
|
+
*/
|
|
2175
|
+
proto.alis.build.ListBuildSpecsRequest.toObject = function(includeInstance, msg) {
|
|
2176
|
+
var f, obj = {
|
|
2177
|
+
pageSize: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
2178
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2179
|
+
view: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
2180
|
+
readMask: (f = msg.getReadMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
|
|
2181
|
+
filter: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
2182
|
+
orderBy: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
2183
|
+
showDeleted: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
|
|
2184
|
+
};
|
|
2185
|
+
|
|
2186
|
+
if (includeInstance) {
|
|
2187
|
+
obj.$jspbMessageInstance = msg;
|
|
2188
|
+
}
|
|
2189
|
+
return obj;
|
|
2190
|
+
};
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2193
|
+
|
|
2194
|
+
/**
|
|
2195
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2196
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2197
|
+
* @return {!proto.alis.build.ListBuildSpecsRequest}
|
|
2198
|
+
*/
|
|
2199
|
+
proto.alis.build.ListBuildSpecsRequest.deserializeBinary = function(bytes) {
|
|
2200
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2201
|
+
var msg = new proto.alis.build.ListBuildSpecsRequest;
|
|
2202
|
+
return proto.alis.build.ListBuildSpecsRequest.deserializeBinaryFromReader(msg, reader);
|
|
2203
|
+
};
|
|
2204
|
+
|
|
2205
|
+
|
|
2206
|
+
/**
|
|
2207
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2208
|
+
* given reader into the given message object.
|
|
2209
|
+
* @param {!proto.alis.build.ListBuildSpecsRequest} msg The message object to deserialize into.
|
|
2210
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2211
|
+
* @return {!proto.alis.build.ListBuildSpecsRequest}
|
|
2212
|
+
*/
|
|
2213
|
+
proto.alis.build.ListBuildSpecsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2214
|
+
while (reader.nextField()) {
|
|
2215
|
+
if (reader.isEndGroup()) {
|
|
2216
|
+
break;
|
|
2217
|
+
}
|
|
2218
|
+
var field = reader.getFieldNumber();
|
|
2219
|
+
switch (field) {
|
|
2220
|
+
case 2:
|
|
2221
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2222
|
+
msg.setPageSize(value);
|
|
2223
|
+
break;
|
|
2224
|
+
case 3:
|
|
2225
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2226
|
+
msg.setPageToken(value);
|
|
2227
|
+
break;
|
|
2228
|
+
case 4:
|
|
2229
|
+
var value = /** @type {!proto.alis.build.BuildSpecView} */ (reader.readEnum());
|
|
2230
|
+
msg.setView(value);
|
|
2231
|
+
break;
|
|
2232
|
+
case 5:
|
|
2233
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
2234
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
2235
|
+
msg.setReadMask(value);
|
|
2236
|
+
break;
|
|
2237
|
+
case 6:
|
|
2238
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2239
|
+
msg.setFilter(value);
|
|
2240
|
+
break;
|
|
2241
|
+
case 7:
|
|
2242
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2243
|
+
msg.setOrderBy(value);
|
|
2244
|
+
break;
|
|
2245
|
+
case 8:
|
|
2246
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2247
|
+
msg.setShowDeleted(value);
|
|
2248
|
+
break;
|
|
2249
|
+
default:
|
|
2250
|
+
reader.skipField();
|
|
2251
|
+
break;
|
|
2252
|
+
}
|
|
2253
|
+
}
|
|
2254
|
+
return msg;
|
|
2255
|
+
};
|
|
2256
|
+
|
|
2257
|
+
|
|
2258
|
+
/**
|
|
2259
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2260
|
+
* @return {!Uint8Array}
|
|
2261
|
+
*/
|
|
2262
|
+
proto.alis.build.ListBuildSpecsRequest.prototype.serializeBinary = function() {
|
|
2263
|
+
var writer = new jspb.BinaryWriter();
|
|
2264
|
+
proto.alis.build.ListBuildSpecsRequest.serializeBinaryToWriter(this, writer);
|
|
2265
|
+
return writer.getResultBuffer();
|
|
2266
|
+
};
|
|
2267
|
+
|
|
2268
|
+
|
|
2269
|
+
/**
|
|
2270
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2271
|
+
* format), writing to the given BinaryWriter.
|
|
2272
|
+
* @param {!proto.alis.build.ListBuildSpecsRequest} message
|
|
2273
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2274
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2275
|
+
*/
|
|
2276
|
+
proto.alis.build.ListBuildSpecsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2277
|
+
var f = undefined;
|
|
2278
|
+
f = message.getPageSize();
|
|
2279
|
+
if (f !== 0) {
|
|
2280
|
+
writer.writeInt32(
|
|
2281
|
+
2,
|
|
2282
|
+
f
|
|
2283
|
+
);
|
|
2284
|
+
}
|
|
2285
|
+
f = message.getPageToken();
|
|
2286
|
+
if (f.length > 0) {
|
|
2287
|
+
writer.writeString(
|
|
2288
|
+
3,
|
|
2289
|
+
f
|
|
2290
|
+
);
|
|
2291
|
+
}
|
|
2292
|
+
f = message.getView();
|
|
2293
|
+
if (f !== 0.0) {
|
|
2294
|
+
writer.writeEnum(
|
|
2295
|
+
4,
|
|
2296
|
+
f
|
|
2297
|
+
);
|
|
2298
|
+
}
|
|
2299
|
+
f = message.getReadMask();
|
|
2300
|
+
if (f != null) {
|
|
2301
|
+
writer.writeMessage(
|
|
2302
|
+
5,
|
|
2303
|
+
f,
|
|
2304
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
2305
|
+
);
|
|
2306
|
+
}
|
|
2307
|
+
f = message.getFilter();
|
|
2308
|
+
if (f.length > 0) {
|
|
2309
|
+
writer.writeString(
|
|
2310
|
+
6,
|
|
2311
|
+
f
|
|
2312
|
+
);
|
|
2313
|
+
}
|
|
2314
|
+
f = message.getOrderBy();
|
|
2315
|
+
if (f.length > 0) {
|
|
2316
|
+
writer.writeString(
|
|
2317
|
+
7,
|
|
2318
|
+
f
|
|
2319
|
+
);
|
|
2320
|
+
}
|
|
2321
|
+
f = message.getShowDeleted();
|
|
2322
|
+
if (f) {
|
|
2323
|
+
writer.writeBool(
|
|
2324
|
+
8,
|
|
2325
|
+
f
|
|
2326
|
+
);
|
|
2327
|
+
}
|
|
2328
|
+
};
|
|
2329
|
+
|
|
2330
|
+
|
|
2331
|
+
/**
|
|
2332
|
+
* optional int32 page_size = 2;
|
|
2333
|
+
* @return {number}
|
|
2334
|
+
*/
|
|
2335
|
+
proto.alis.build.ListBuildSpecsRequest.prototype.getPageSize = function() {
|
|
2336
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2337
|
+
};
|
|
2338
|
+
|
|
2339
|
+
|
|
2340
|
+
/**
|
|
2341
|
+
* @param {number} value
|
|
2342
|
+
* @return {!proto.alis.build.ListBuildSpecsRequest} returns this
|
|
2343
|
+
*/
|
|
2344
|
+
proto.alis.build.ListBuildSpecsRequest.prototype.setPageSize = function(value) {
|
|
2345
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
2346
|
+
};
|
|
2347
|
+
|
|
2348
|
+
|
|
2349
|
+
/**
|
|
2350
|
+
* optional string page_token = 3;
|
|
2351
|
+
* @return {string}
|
|
2352
|
+
*/
|
|
2353
|
+
proto.alis.build.ListBuildSpecsRequest.prototype.getPageToken = function() {
|
|
2354
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2355
|
+
};
|
|
2356
|
+
|
|
2357
|
+
|
|
2358
|
+
/**
|
|
2359
|
+
* @param {string} value
|
|
2360
|
+
* @return {!proto.alis.build.ListBuildSpecsRequest} returns this
|
|
2361
|
+
*/
|
|
2362
|
+
proto.alis.build.ListBuildSpecsRequest.prototype.setPageToken = function(value) {
|
|
2363
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2364
|
+
};
|
|
2365
|
+
|
|
2366
|
+
|
|
2367
|
+
/**
|
|
2368
|
+
* optional BuildSpecView view = 4;
|
|
2369
|
+
* @return {!proto.alis.build.BuildSpecView}
|
|
2370
|
+
*/
|
|
2371
|
+
proto.alis.build.ListBuildSpecsRequest.prototype.getView = function() {
|
|
2372
|
+
return /** @type {!proto.alis.build.BuildSpecView} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
2373
|
+
};
|
|
2374
|
+
|
|
2375
|
+
|
|
2376
|
+
/**
|
|
2377
|
+
* @param {!proto.alis.build.BuildSpecView} value
|
|
2378
|
+
* @return {!proto.alis.build.ListBuildSpecsRequest} returns this
|
|
2379
|
+
*/
|
|
2380
|
+
proto.alis.build.ListBuildSpecsRequest.prototype.setView = function(value) {
|
|
2381
|
+
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
2382
|
+
};
|
|
2383
|
+
|
|
2384
|
+
|
|
2385
|
+
/**
|
|
2386
|
+
* optional google.protobuf.FieldMask read_mask = 5;
|
|
2387
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
2388
|
+
*/
|
|
2389
|
+
proto.alis.build.ListBuildSpecsRequest.prototype.getReadMask = function() {
|
|
2390
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
2391
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 5));
|
|
2392
|
+
};
|
|
2393
|
+
|
|
2394
|
+
|
|
2395
|
+
/**
|
|
2396
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
2397
|
+
* @return {!proto.alis.build.ListBuildSpecsRequest} returns this
|
|
2398
|
+
*/
|
|
2399
|
+
proto.alis.build.ListBuildSpecsRequest.prototype.setReadMask = function(value) {
|
|
2400
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
2401
|
+
};
|
|
2402
|
+
|
|
2403
|
+
|
|
2404
|
+
/**
|
|
2405
|
+
* Clears the message field making it undefined.
|
|
2406
|
+
* @return {!proto.alis.build.ListBuildSpecsRequest} returns this
|
|
2407
|
+
*/
|
|
2408
|
+
proto.alis.build.ListBuildSpecsRequest.prototype.clearReadMask = function() {
|
|
2409
|
+
return this.setReadMask(undefined);
|
|
2410
|
+
};
|
|
2411
|
+
|
|
2412
|
+
|
|
2413
|
+
/**
|
|
2414
|
+
* Returns whether this field is set.
|
|
2415
|
+
* @return {boolean}
|
|
2416
|
+
*/
|
|
2417
|
+
proto.alis.build.ListBuildSpecsRequest.prototype.hasReadMask = function() {
|
|
2418
|
+
return jspb.Message.getField(this, 5) != null;
|
|
2419
|
+
};
|
|
2420
|
+
|
|
2421
|
+
|
|
2422
|
+
/**
|
|
2423
|
+
* optional string filter = 6;
|
|
2424
|
+
* @return {string}
|
|
2425
|
+
*/
|
|
2426
|
+
proto.alis.build.ListBuildSpecsRequest.prototype.getFilter = function() {
|
|
2427
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
2428
|
+
};
|
|
2429
|
+
|
|
2430
|
+
|
|
2431
|
+
/**
|
|
2432
|
+
* @param {string} value
|
|
2433
|
+
* @return {!proto.alis.build.ListBuildSpecsRequest} returns this
|
|
2434
|
+
*/
|
|
2435
|
+
proto.alis.build.ListBuildSpecsRequest.prototype.setFilter = function(value) {
|
|
2436
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
2437
|
+
};
|
|
2438
|
+
|
|
2439
|
+
|
|
2440
|
+
/**
|
|
2441
|
+
* optional string order_by = 7;
|
|
2442
|
+
* @return {string}
|
|
2443
|
+
*/
|
|
2444
|
+
proto.alis.build.ListBuildSpecsRequest.prototype.getOrderBy = function() {
|
|
2445
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
2446
|
+
};
|
|
2447
|
+
|
|
2448
|
+
|
|
2449
|
+
/**
|
|
2450
|
+
* @param {string} value
|
|
2451
|
+
* @return {!proto.alis.build.ListBuildSpecsRequest} returns this
|
|
2452
|
+
*/
|
|
2453
|
+
proto.alis.build.ListBuildSpecsRequest.prototype.setOrderBy = function(value) {
|
|
2454
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
2455
|
+
};
|
|
2456
|
+
|
|
2457
|
+
|
|
2458
|
+
/**
|
|
2459
|
+
* optional bool show_deleted = 8;
|
|
2460
|
+
* @return {boolean}
|
|
2461
|
+
*/
|
|
2462
|
+
proto.alis.build.ListBuildSpecsRequest.prototype.getShowDeleted = function() {
|
|
2463
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
2464
|
+
};
|
|
2465
|
+
|
|
2466
|
+
|
|
2467
|
+
/**
|
|
2468
|
+
* @param {boolean} value
|
|
2469
|
+
* @return {!proto.alis.build.ListBuildSpecsRequest} returns this
|
|
2470
|
+
*/
|
|
2471
|
+
proto.alis.build.ListBuildSpecsRequest.prototype.setShowDeleted = function(value) {
|
|
2472
|
+
return jspb.Message.setProto3BooleanField(this, 8, value);
|
|
2473
|
+
};
|
|
2474
|
+
|
|
2475
|
+
|
|
2476
|
+
|
|
2477
|
+
/**
|
|
2478
|
+
* List of repeated fields within this message type.
|
|
2479
|
+
* @private {!Array<number>}
|
|
2480
|
+
* @const
|
|
2481
|
+
*/
|
|
2482
|
+
proto.alis.build.ListBuildSpecsResponse.repeatedFields_ = [1];
|
|
2483
|
+
|
|
2484
|
+
|
|
2485
|
+
|
|
2486
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2487
|
+
/**
|
|
2488
|
+
* Creates an object representation of this proto.
|
|
2489
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2490
|
+
* Optional fields that are not set will be set to undefined.
|
|
2491
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2492
|
+
* For the list of reserved names please see:
|
|
2493
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2494
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2495
|
+
* JSPB instance for transitional soy proto support:
|
|
2496
|
+
* http://goto/soy-param-migration
|
|
2497
|
+
* @return {!Object}
|
|
2498
|
+
*/
|
|
2499
|
+
proto.alis.build.ListBuildSpecsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2500
|
+
return proto.alis.build.ListBuildSpecsResponse.toObject(opt_includeInstance, this);
|
|
2501
|
+
};
|
|
2502
|
+
|
|
2503
|
+
|
|
2504
|
+
/**
|
|
2505
|
+
* Static version of the {@see toObject} method.
|
|
2506
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2507
|
+
* the JSPB instance for transitional soy proto support:
|
|
2508
|
+
* http://goto/soy-param-migration
|
|
2509
|
+
* @param {!proto.alis.build.ListBuildSpecsResponse} msg The msg instance to transform.
|
|
2510
|
+
* @return {!Object}
|
|
2511
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2512
|
+
*/
|
|
2513
|
+
proto.alis.build.ListBuildSpecsResponse.toObject = function(includeInstance, msg) {
|
|
2514
|
+
var f, obj = {
|
|
2515
|
+
buildSpecsList: jspb.Message.toObjectList(msg.getBuildSpecsList(),
|
|
2516
|
+
proto.alis.build.BuildSpec.toObject, includeInstance),
|
|
2517
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2518
|
+
};
|
|
2519
|
+
|
|
2520
|
+
if (includeInstance) {
|
|
2521
|
+
obj.$jspbMessageInstance = msg;
|
|
2522
|
+
}
|
|
2523
|
+
return obj;
|
|
2524
|
+
};
|
|
2525
|
+
}
|
|
2526
|
+
|
|
2527
|
+
|
|
2528
|
+
/**
|
|
2529
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2530
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2531
|
+
* @return {!proto.alis.build.ListBuildSpecsResponse}
|
|
2532
|
+
*/
|
|
2533
|
+
proto.alis.build.ListBuildSpecsResponse.deserializeBinary = function(bytes) {
|
|
2534
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2535
|
+
var msg = new proto.alis.build.ListBuildSpecsResponse;
|
|
2536
|
+
return proto.alis.build.ListBuildSpecsResponse.deserializeBinaryFromReader(msg, reader);
|
|
2537
|
+
};
|
|
2538
|
+
|
|
2539
|
+
|
|
2540
|
+
/**
|
|
2541
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2542
|
+
* given reader into the given message object.
|
|
2543
|
+
* @param {!proto.alis.build.ListBuildSpecsResponse} msg The message object to deserialize into.
|
|
2544
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2545
|
+
* @return {!proto.alis.build.ListBuildSpecsResponse}
|
|
2546
|
+
*/
|
|
2547
|
+
proto.alis.build.ListBuildSpecsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2548
|
+
while (reader.nextField()) {
|
|
2549
|
+
if (reader.isEndGroup()) {
|
|
2550
|
+
break;
|
|
2551
|
+
}
|
|
2552
|
+
var field = reader.getFieldNumber();
|
|
2553
|
+
switch (field) {
|
|
2554
|
+
case 1:
|
|
2555
|
+
var value = new proto.alis.build.BuildSpec;
|
|
2556
|
+
reader.readMessage(value,proto.alis.build.BuildSpec.deserializeBinaryFromReader);
|
|
2557
|
+
msg.addBuildSpecs(value);
|
|
2558
|
+
break;
|
|
2559
|
+
case 2:
|
|
2560
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2561
|
+
msg.setNextPageToken(value);
|
|
2562
|
+
break;
|
|
2563
|
+
default:
|
|
2564
|
+
reader.skipField();
|
|
2565
|
+
break;
|
|
2566
|
+
}
|
|
2567
|
+
}
|
|
2568
|
+
return msg;
|
|
2569
|
+
};
|
|
2570
|
+
|
|
2571
|
+
|
|
2572
|
+
/**
|
|
2573
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2574
|
+
* @return {!Uint8Array}
|
|
2575
|
+
*/
|
|
2576
|
+
proto.alis.build.ListBuildSpecsResponse.prototype.serializeBinary = function() {
|
|
2577
|
+
var writer = new jspb.BinaryWriter();
|
|
2578
|
+
proto.alis.build.ListBuildSpecsResponse.serializeBinaryToWriter(this, writer);
|
|
2579
|
+
return writer.getResultBuffer();
|
|
2580
|
+
};
|
|
2581
|
+
|
|
2582
|
+
|
|
2583
|
+
/**
|
|
2584
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2585
|
+
* format), writing to the given BinaryWriter.
|
|
2586
|
+
* @param {!proto.alis.build.ListBuildSpecsResponse} message
|
|
2587
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2588
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2589
|
+
*/
|
|
2590
|
+
proto.alis.build.ListBuildSpecsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2591
|
+
var f = undefined;
|
|
2592
|
+
f = message.getBuildSpecsList();
|
|
2593
|
+
if (f.length > 0) {
|
|
2594
|
+
writer.writeRepeatedMessage(
|
|
2595
|
+
1,
|
|
2596
|
+
f,
|
|
2597
|
+
proto.alis.build.BuildSpec.serializeBinaryToWriter
|
|
2598
|
+
);
|
|
2599
|
+
}
|
|
2600
|
+
f = message.getNextPageToken();
|
|
2601
|
+
if (f.length > 0) {
|
|
2602
|
+
writer.writeString(
|
|
2603
|
+
2,
|
|
2604
|
+
f
|
|
2605
|
+
);
|
|
2606
|
+
}
|
|
2607
|
+
};
|
|
2608
|
+
|
|
2609
|
+
|
|
2610
|
+
/**
|
|
2611
|
+
* repeated BuildSpec build_specs = 1;
|
|
2612
|
+
* @return {!Array<!proto.alis.build.BuildSpec>}
|
|
2613
|
+
*/
|
|
2614
|
+
proto.alis.build.ListBuildSpecsResponse.prototype.getBuildSpecsList = function() {
|
|
2615
|
+
return /** @type{!Array<!proto.alis.build.BuildSpec>} */ (
|
|
2616
|
+
jspb.Message.getRepeatedWrapperField(this, proto.alis.build.BuildSpec, 1));
|
|
2617
|
+
};
|
|
2618
|
+
|
|
2619
|
+
|
|
2620
|
+
/**
|
|
2621
|
+
* @param {!Array<!proto.alis.build.BuildSpec>} value
|
|
2622
|
+
* @return {!proto.alis.build.ListBuildSpecsResponse} returns this
|
|
2623
|
+
*/
|
|
2624
|
+
proto.alis.build.ListBuildSpecsResponse.prototype.setBuildSpecsList = function(value) {
|
|
2625
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2626
|
+
};
|
|
2627
|
+
|
|
2628
|
+
|
|
2629
|
+
/**
|
|
2630
|
+
* @param {!proto.alis.build.BuildSpec=} opt_value
|
|
2631
|
+
* @param {number=} opt_index
|
|
2632
|
+
* @return {!proto.alis.build.BuildSpec}
|
|
2633
|
+
*/
|
|
2634
|
+
proto.alis.build.ListBuildSpecsResponse.prototype.addBuildSpecs = function(opt_value, opt_index) {
|
|
2635
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.alis.build.BuildSpec, opt_index);
|
|
2636
|
+
};
|
|
2637
|
+
|
|
2638
|
+
|
|
2639
|
+
/**
|
|
2640
|
+
* Clears the list making it empty but non-null.
|
|
2641
|
+
* @return {!proto.alis.build.ListBuildSpecsResponse} returns this
|
|
2642
|
+
*/
|
|
2643
|
+
proto.alis.build.ListBuildSpecsResponse.prototype.clearBuildSpecsList = function() {
|
|
2644
|
+
return this.setBuildSpecsList([]);
|
|
2645
|
+
};
|
|
2646
|
+
|
|
2647
|
+
|
|
2648
|
+
/**
|
|
2649
|
+
* optional string next_page_token = 2;
|
|
2650
|
+
* @return {string}
|
|
2651
|
+
*/
|
|
2652
|
+
proto.alis.build.ListBuildSpecsResponse.prototype.getNextPageToken = function() {
|
|
2653
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2654
|
+
};
|
|
2655
|
+
|
|
2656
|
+
|
|
2657
|
+
/**
|
|
2658
|
+
* @param {string} value
|
|
2659
|
+
* @return {!proto.alis.build.ListBuildSpecsResponse} returns this
|
|
2660
|
+
*/
|
|
2661
|
+
proto.alis.build.ListBuildSpecsResponse.prototype.setNextPageToken = function(value) {
|
|
2662
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2663
|
+
};
|
|
2664
|
+
|
|
2665
|
+
|
|
2666
|
+
/**
|
|
2667
|
+
* @enum {number}
|
|
2668
|
+
*/
|
|
2669
|
+
proto.alis.build.BuildSpecView = {
|
|
2670
|
+
BUILD_SPEC_VIEW_UNSPECIFIED: 0,
|
|
2671
|
+
BUILD_SPEC_VIEW_BASIC: 1,
|
|
2672
|
+
BUILD_SPEC_VIEW_FULL: 2
|
|
2673
|
+
};
|
|
2674
|
+
|
|
2675
|
+
goog.object.extend(exports, proto.alis.build);
|
|
2676
|
+
|
|
2677
|
+
// Below is base64 encoded GeneratedCodeInfo proto
|
|
2678
|
+
// CiIKAgQAEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGMgSIOQSCiIKAgQBEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGN4YIPsYCiIKAgQCEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGPgeIJUfCiIKAgQDEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGJIlIJslCiQKBAQDAwASFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8YjCsgkysKJgoGBAMDAAMAEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGP4wIIUxCiYKBgQDAwADARIWYWxpcy9idWlsZC9idWlsZC5wcm90bxiINyCMNwomCgYEAwMAAwISFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Yhj0giz0KIgoCBAQSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Y9kIgiUMKIgoCBAUSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Y6Egg/UgKIgoCBAYSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Y4k4g+E4KJAoEBAACABIWYWxpcy9idWlsZC9idWlsZC5wcm90bxitbyC7bwokCgQEAAIAEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGMJxINBxCiYKBAQCAgASFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Y8qkBIPipAQomCgQEAgIAEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGIGsASCHrAEKJgoEBAMEABIWYWxpcy9idWlsZC9idWlsZC5wcm90bxjV6gEg2+oBCigKBgQDBAACABIWYWxpcy9idWlsZC9idWlsZC5wcm90bxji6gEg8+oBCigKBgQDBAACARIWYWxpcy9idWlsZC9idWlsZC5wcm90bxj66gEg/eoBCigKBgQDBAACAhIWYWxpcy9idWlsZC9idWlsZC5wcm90bxiE6wEgiusBCigKBgQDBAACAxIWYWxpcy9idWlsZC9idWlsZC5wcm90bxiR6wEgmusBCiYKBAQDBAESFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Y1+sBIODrAQooCgYEAwQBAgASFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Y5+sBIPzrAQooCgYEAwQBAgESFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Yg+wBIJTsAQooCgYEAwQBAgISFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Ym+wBIK3sAQooCgYEAwQBAgMSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8YtOwBIMTsAQooCgYEAwQBAgQSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Yy+wBINvsAQooCgYEAwQBAgUSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Y4uwBIPXsAQooCgYEAwQBAgYSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Y/OwBII/tAQooCgYEAwQBAgcSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Ylu0BIKjtAQoqCggEAwMAAwACABIWYWxpcy9idWlsZC9idWlsZC5wcm90bxjgrgIg664CCioKCAQDAwADAAIAEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGOywAiD3sAIKKgoIBAMDAAMBAgASFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Yl84CIKLOAgoqCggEAwMAAwECABIWYWxpcy9idWlsZC9idWlsZC5wcm90bxid0AIgqNACCioKCAQDAwADAgIAEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGNjtAiDj7QIKKgoIBAMDAAMCAgASFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Y4O8CIOvvAgooCgYEAwMAAgASFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Y0PECINrxAgooCgYEAwMAAgASFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8YxvQCIND0AgooCgYEAwMAAgASFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8YxfYCINH2AgooCgYEAwMAAgASFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Y+/cCIIX4AgooCgYEAwMAAgESFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Y0fkCINj5AgooCgYEAwMAAgESFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Yu/wCIML8AgooCgYEAwMAAgESFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Yt/4CIMD+AgooCgYEAwMAAgESFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Y5/8CIO7/AgooCgYEAwMAAgISFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8YvYEDIMWBAwooCgYEAwMAAgISFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Yq4QDILOEAwooCgYEAwMAAgISFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8YqIYDILKGAwooCgYEAwMAAgISFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Y2ocDIOKHAwomCgQEAwIAEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGIaJAyCNiQMKJgoEBAMCABIWYWxpcy9idWlsZC9idWlsZC5wcm90bxjuigMg9YoDCiYKBAQDAgESFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8YsYwDIL+MAwomCgQEAwIBEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGKCOAyCujgMKJgoEBAMCAhIWYWxpcy9idWlsZC9idWlsZC5wcm90bxiAkAMgiZADCiYKBAQDAgISFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8YoZIDIKqSAwomCgQEAwIDEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGN+TAyDpkwMKJgoEBAMCAxIWYWxpcy9idWlsZC9idWlsZC5wcm90bxjKlQMg1JUDCiYKBAQDAgQSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8YqZcDILOXAwomCgQEAwIEEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGPeZAyCBmgMKJgoEBAMCBBIWYWxpcy9idWlsZC9idWlsZC5wcm90bxjmmwMg8psDCiYKBAQDAgQSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8YlJ0DIJ6dAwomCgQEAwIFEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGM6eAyDdngMKJgoEBAMCBRIWYWxpcy9idWlsZC9idWlsZC5wcm90bxjHoAMg1qADCiYKBAQDAgUSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8YwKIDIMuiAwomCgQEAwIFEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGMmkAyDapAMKJgoEBAMCBhIWYWxpcy9idWlsZC9idWlsZC5wcm90bxjzpQMg/aUDCiYKBAQDAgYSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Y3qcDIOinAwomCgQEAwIHEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGNSpAyDsqQMKJgoEBAMCBxIWYWxpcy9idWlsZC9idWlsZC5wcm90bxiUrAMgrKwDCiYKBAQDAgcSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Yta4DIMmuAwomCgQEAwIHEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGMewAyDhsAMKJgoEBAMCCBIWYWxpcy9idWlsZC9idWlsZC5wcm90bxiLsgMgmbIDCiYKBAQDAggSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Yg7QDIJG0AwomCgQEAwIIEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGPu1AyCFtgMKJgoEBAMCCBIWYWxpcy9idWlsZC9idWlsZC5wcm90bxiDuAMgk7gDCiYKBAQDAgkSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8YqbkDILC5AwomCgQEAwIJEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGJK7AyCZuwMKJgoEBAMCChIWYWxpcy9idWlsZC9idWlsZC5wcm90bxiDvQMgkL0DCiYKBAQDAgoSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Y078DIOC/AwomCgQEAwIKEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGMbBAyDVwQMKJgoEBAMCChIWYWxpcy9idWlsZC9idWlsZC5wcm90bxj6wgMgh8MDCiYKBAQDAgsSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Y4cQDIO7EAwomCgQEAwILEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGLHHAyC+xwMKJgoEBAMCCxIWYWxpcy9idWlsZC9idWlsZC5wcm90bxikyQMgs8kDCiYKBAQDAgsSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Y2MoDIOXKAwomCgQEAwIMEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGMDMAyDNzAMKJgoEBAMCDBIWYWxpcy9idWlsZC9idWlsZC5wcm90bxiRzwMgns8DCiYKBAQDAgwSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8YhdEDIJTRAwomCgQEAwIMEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGLnSAyDG0gMKJgoEBAQCABIWYWxpcy9idWlsZC9idWlsZC5wcm90bxik9QMgq/UDCiYKBAQEAgASFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8YoPcDIKf3AwomCgQEBAIBEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGIX5AyCM+QMKJgoEBAQCARIWYWxpcy9idWlsZC9idWlsZC5wcm90bxiy+wMgufsDCiYKBAQEAgISFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Yp/0DILL9AwomCgQEBAICEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGImABCCUgAQKJgoEBAQCAhIWYWxpcy9idWlsZC9idWlsZC5wcm90bxiNggQgmoIECiYKBAQEAgISFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Yx4MEINKDBAomCgQEBQIAEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGL+vBCDKrwQKJgoEBAUCABIWYWxpcy9idWlsZC9idWlsZC5wcm90bxjCsQQgzbEECiYKBAQFAgESFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8YkLMEIJyzBAomCgQEBQIBEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGJW1BCChtQQKJgoEBAUCAhIWYWxpcy9idWlsZC9idWlsZC5wcm90bxiBtwQgiLcECiYKBAQFAgISFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8YsrkEILm5BAomCgQEBQIDEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGKm7BCC0uwQKJgoEBAUCAxIWYWxpcy9idWlsZC9idWlsZC5wcm90bxiPvgQgmr4ECiYKBAQFAgMSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Yl8AEIKTABAomCgQEBQIDEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGNPBBCDewQQKJgoEBAUCBBIWYWxpcy9idWlsZC9idWlsZC5wcm90bxiQwwQgmcMECiYKBAQFAgQSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8YksUEIJvFBAomCgQEBQIFEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGN/GBCDpxgQKJgoEBAUCBRIWYWxpcy9idWlsZC9idWlsZC5wcm90bxjiyAQg7MgECiYKBAQFAgYSFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Ys8oEIMHKBAomCgQEBQIGEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGMbMBCDUzAQKJgoEBAYCABIWYWxpcy9idWlsZC9idWlsZC5wcm90bxi87wQgze8ECiYKBAQGAgASFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8YofIEILLyBAomCgQEBgIAEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGL/0BCDM9AQKJgoEBAYCABIWYWxpcy9idWlsZC9idWlsZC5wcm90bxiP9wQgovcECiYKBAQGAgESFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Y0vgEIOL4BAomCgQEBgIBEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGN36BCDt+gQKJAoCBQASFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8Y7vsEIPv7BAomCgQFAAIAEhZhbGlzL2J1aWxkL2J1aWxkLnByb3RvGIL8BCCd/AQKJgoEBQACARIWYWxpcy9idWlsZC9idWlsZC5wcm90bxik/AQgufwECiYKBAUAAgISFmFsaXMvYnVpbGQvYnVpbGQucHJvdG8YwPwEINT8BA==
|