@pulumi/pulumi 3.116.1 → 3.116.2-alpha.xab7acdb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/proto/provider_grpc_pb.d.ts +17 -0
- package/proto/provider_grpc_pb.js +46 -0
- package/proto/provider_pb.d.ts +120 -0
- package/proto/provider_pb.js +933 -29
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -11,6 +11,7 @@ import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty
|
|
|
11
11
|
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
|
|
12
12
|
|
|
13
13
|
interface IResourceProviderService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
|
14
|
+
parameterize: IResourceProviderService_IParameterize;
|
|
14
15
|
getSchema: IResourceProviderService_IGetSchema;
|
|
15
16
|
checkConfig: IResourceProviderService_ICheckConfig;
|
|
16
17
|
diffConfig: IResourceProviderService_IDiffConfig;
|
|
@@ -32,6 +33,15 @@ interface IResourceProviderService extends grpc.ServiceDefinition<grpc.UntypedSe
|
|
|
32
33
|
getMappings: IResourceProviderService_IGetMappings;
|
|
33
34
|
}
|
|
34
35
|
|
|
36
|
+
interface IResourceProviderService_IParameterize extends grpc.MethodDefinition<pulumi_provider_pb.ParameterizeRequest, pulumi_provider_pb.ParameterizeResponse> {
|
|
37
|
+
path: "/pulumirpc.ResourceProvider/Parameterize";
|
|
38
|
+
requestStream: false;
|
|
39
|
+
responseStream: false;
|
|
40
|
+
requestSerialize: grpc.serialize<pulumi_provider_pb.ParameterizeRequest>;
|
|
41
|
+
requestDeserialize: grpc.deserialize<pulumi_provider_pb.ParameterizeRequest>;
|
|
42
|
+
responseSerialize: grpc.serialize<pulumi_provider_pb.ParameterizeResponse>;
|
|
43
|
+
responseDeserialize: grpc.deserialize<pulumi_provider_pb.ParameterizeResponse>;
|
|
44
|
+
}
|
|
35
45
|
interface IResourceProviderService_IGetSchema extends grpc.MethodDefinition<pulumi_provider_pb.GetSchemaRequest, pulumi_provider_pb.GetSchemaResponse> {
|
|
36
46
|
path: "/pulumirpc.ResourceProvider/GetSchema";
|
|
37
47
|
requestStream: false;
|
|
@@ -207,6 +217,7 @@ interface IResourceProviderService_IGetMappings extends grpc.MethodDefinition<pu
|
|
|
207
217
|
export const ResourceProviderService: IResourceProviderService;
|
|
208
218
|
|
|
209
219
|
export interface IResourceProviderServer extends grpc.UntypedServiceImplementation {
|
|
220
|
+
parameterize: grpc.handleUnaryCall<pulumi_provider_pb.ParameterizeRequest, pulumi_provider_pb.ParameterizeResponse>;
|
|
210
221
|
getSchema: grpc.handleUnaryCall<pulumi_provider_pb.GetSchemaRequest, pulumi_provider_pb.GetSchemaResponse>;
|
|
211
222
|
checkConfig: grpc.handleUnaryCall<pulumi_provider_pb.CheckRequest, pulumi_provider_pb.CheckResponse>;
|
|
212
223
|
diffConfig: grpc.handleUnaryCall<pulumi_provider_pb.DiffRequest, pulumi_provider_pb.DiffResponse>;
|
|
@@ -229,6 +240,9 @@ export interface IResourceProviderServer extends grpc.UntypedServiceImplementati
|
|
|
229
240
|
}
|
|
230
241
|
|
|
231
242
|
export interface IResourceProviderClient {
|
|
243
|
+
parameterize(request: pulumi_provider_pb.ParameterizeRequest, callback: (error: grpc.ServiceError | null, response: pulumi_provider_pb.ParameterizeResponse) => void): grpc.ClientUnaryCall;
|
|
244
|
+
parameterize(request: pulumi_provider_pb.ParameterizeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_provider_pb.ParameterizeResponse) => void): grpc.ClientUnaryCall;
|
|
245
|
+
parameterize(request: pulumi_provider_pb.ParameterizeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_provider_pb.ParameterizeResponse) => void): grpc.ClientUnaryCall;
|
|
232
246
|
getSchema(request: pulumi_provider_pb.GetSchemaRequest, callback: (error: grpc.ServiceError | null, response: pulumi_provider_pb.GetSchemaResponse) => void): grpc.ClientUnaryCall;
|
|
233
247
|
getSchema(request: pulumi_provider_pb.GetSchemaRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_provider_pb.GetSchemaResponse) => void): grpc.ClientUnaryCall;
|
|
234
248
|
getSchema(request: pulumi_provider_pb.GetSchemaRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_provider_pb.GetSchemaResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -289,6 +303,9 @@ export interface IResourceProviderClient {
|
|
|
289
303
|
|
|
290
304
|
export class ResourceProviderClient extends grpc.Client implements IResourceProviderClient {
|
|
291
305
|
constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
|
|
306
|
+
public parameterize(request: pulumi_provider_pb.ParameterizeRequest, callback: (error: grpc.ServiceError | null, response: pulumi_provider_pb.ParameterizeResponse) => void): grpc.ClientUnaryCall;
|
|
307
|
+
public parameterize(request: pulumi_provider_pb.ParameterizeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_provider_pb.ParameterizeResponse) => void): grpc.ClientUnaryCall;
|
|
308
|
+
public parameterize(request: pulumi_provider_pb.ParameterizeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_provider_pb.ParameterizeResponse) => void): grpc.ClientUnaryCall;
|
|
292
309
|
public getSchema(request: pulumi_provider_pb.GetSchemaRequest, callback: (error: grpc.ServiceError | null, response: pulumi_provider_pb.GetSchemaResponse) => void): grpc.ClientUnaryCall;
|
|
293
310
|
public getSchema(request: pulumi_provider_pb.GetSchemaRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: pulumi_provider_pb.GetSchemaResponse) => void): grpc.ClientUnaryCall;
|
|
294
311
|
public getSchema(request: pulumi_provider_pb.GetSchemaRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_provider_pb.GetSchemaResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -264,6 +264,28 @@ function deserialize_pulumirpc_InvokeResponse(buffer_arg) {
|
|
|
264
264
|
return pulumi_provider_pb.InvokeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
+
function serialize_pulumirpc_ParameterizeRequest(arg) {
|
|
268
|
+
if (!(arg instanceof pulumi_provider_pb.ParameterizeRequest)) {
|
|
269
|
+
throw new Error('Expected argument of type pulumirpc.ParameterizeRequest');
|
|
270
|
+
}
|
|
271
|
+
return Buffer.from(arg.serializeBinary());
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
function deserialize_pulumirpc_ParameterizeRequest(buffer_arg) {
|
|
275
|
+
return pulumi_provider_pb.ParameterizeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
function serialize_pulumirpc_ParameterizeResponse(arg) {
|
|
279
|
+
if (!(arg instanceof pulumi_provider_pb.ParameterizeResponse)) {
|
|
280
|
+
throw new Error('Expected argument of type pulumirpc.ParameterizeResponse');
|
|
281
|
+
}
|
|
282
|
+
return Buffer.from(arg.serializeBinary());
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
function deserialize_pulumirpc_ParameterizeResponse(buffer_arg) {
|
|
286
|
+
return pulumi_provider_pb.ParameterizeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
287
|
+
}
|
|
288
|
+
|
|
267
289
|
function serialize_pulumirpc_PluginAttach(arg) {
|
|
268
290
|
if (!(arg instanceof pulumi_plugin_pb.PluginAttach)) {
|
|
269
291
|
throw new Error('Expected argument of type pulumirpc.PluginAttach');
|
|
@@ -334,6 +356,30 @@ function deserialize_pulumirpc_UpdateResponse(buffer_arg) {
|
|
|
334
356
|
// ResourceProvider is a service that understands how to create, read, update, or delete resources for types defined
|
|
335
357
|
// within a single package. It is driven by the overall planning engine in response to resource diffs.
|
|
336
358
|
var ResourceProviderService = exports.ResourceProviderService = {
|
|
359
|
+
// Parameterize takes either a string array of command line inputs or a value embedded from sdk generation.
|
|
360
|
+
//
|
|
361
|
+
// Providers can be parameterized with either multiple extension packages (which don't define their own provider
|
|
362
|
+
// resources), or with a replacement package (which does define its own provider resource).
|
|
363
|
+
//
|
|
364
|
+
// Parameterize may be called multiple times for extension packages, but for a replacement package it will only be
|
|
365
|
+
// called once. Extension packages may even be called multiple times for the same package name, but with different
|
|
366
|
+
// versions.
|
|
367
|
+
//
|
|
368
|
+
// Parameterize should work the same for both the `ParametersArgs` input and the `ParametersValue` input. Either way
|
|
369
|
+
// should return the sub-package name and version (which for `ParametersValue` should match the given input).
|
|
370
|
+
//
|
|
371
|
+
// For extension resources their CRUD operations will include the version of which sub-package they correspond to.
|
|
372
|
+
parameterize: {
|
|
373
|
+
path: '/pulumirpc.ResourceProvider/Parameterize',
|
|
374
|
+
requestStream: false,
|
|
375
|
+
responseStream: false,
|
|
376
|
+
requestType: pulumi_provider_pb.ParameterizeRequest,
|
|
377
|
+
responseType: pulumi_provider_pb.ParameterizeResponse,
|
|
378
|
+
requestSerialize: serialize_pulumirpc_ParameterizeRequest,
|
|
379
|
+
requestDeserialize: deserialize_pulumirpc_ParameterizeRequest,
|
|
380
|
+
responseSerialize: serialize_pulumirpc_ParameterizeResponse,
|
|
381
|
+
responseDeserialize: deserialize_pulumirpc_ParameterizeResponse,
|
|
382
|
+
},
|
|
337
383
|
// GetSchema fetches the schema for this resource provider.
|
|
338
384
|
getSchema: {
|
|
339
385
|
path: '/pulumirpc.ResourceProvider/GetSchema',
|
package/proto/provider_pb.d.ts
CHANGED
|
@@ -9,9 +9,127 @@ import * as pulumi_plugin_pb from "./plugin_pb";
|
|
|
9
9
|
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
|
10
10
|
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
|
|
11
11
|
|
|
12
|
+
export class ParameterizeRequest extends jspb.Message {
|
|
13
|
+
|
|
14
|
+
hasArgs(): boolean;
|
|
15
|
+
clearArgs(): void;
|
|
16
|
+
getArgs(): ParameterizeRequest.ParametersArgs | undefined;
|
|
17
|
+
setArgs(value?: ParameterizeRequest.ParametersArgs): ParameterizeRequest;
|
|
18
|
+
|
|
19
|
+
hasValue(): boolean;
|
|
20
|
+
clearValue(): void;
|
|
21
|
+
getValue(): ParameterizeRequest.ParametersValue | undefined;
|
|
22
|
+
setValue(value?: ParameterizeRequest.ParametersValue): ParameterizeRequest;
|
|
23
|
+
|
|
24
|
+
getParametersCase(): ParameterizeRequest.ParametersCase;
|
|
25
|
+
|
|
26
|
+
serializeBinary(): Uint8Array;
|
|
27
|
+
toObject(includeInstance?: boolean): ParameterizeRequest.AsObject;
|
|
28
|
+
static toObject(includeInstance: boolean, msg: ParameterizeRequest): ParameterizeRequest.AsObject;
|
|
29
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
30
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
31
|
+
static serializeBinaryToWriter(message: ParameterizeRequest, writer: jspb.BinaryWriter): void;
|
|
32
|
+
static deserializeBinary(bytes: Uint8Array): ParameterizeRequest;
|
|
33
|
+
static deserializeBinaryFromReader(message: ParameterizeRequest, reader: jspb.BinaryReader): ParameterizeRequest;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export namespace ParameterizeRequest {
|
|
37
|
+
export type AsObject = {
|
|
38
|
+
args?: ParameterizeRequest.ParametersArgs.AsObject,
|
|
39
|
+
value?: ParameterizeRequest.ParametersValue.AsObject,
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
export class ParametersArgs extends jspb.Message {
|
|
44
|
+
clearArgsList(): void;
|
|
45
|
+
getArgsList(): Array<string>;
|
|
46
|
+
setArgsList(value: Array<string>): ParametersArgs;
|
|
47
|
+
addArgs(value: string, index?: number): string;
|
|
48
|
+
|
|
49
|
+
serializeBinary(): Uint8Array;
|
|
50
|
+
toObject(includeInstance?: boolean): ParametersArgs.AsObject;
|
|
51
|
+
static toObject(includeInstance: boolean, msg: ParametersArgs): ParametersArgs.AsObject;
|
|
52
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
53
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
54
|
+
static serializeBinaryToWriter(message: ParametersArgs, writer: jspb.BinaryWriter): void;
|
|
55
|
+
static deserializeBinary(bytes: Uint8Array): ParametersArgs;
|
|
56
|
+
static deserializeBinaryFromReader(message: ParametersArgs, reader: jspb.BinaryReader): ParametersArgs;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export namespace ParametersArgs {
|
|
60
|
+
export type AsObject = {
|
|
61
|
+
argsList: Array<string>,
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export class ParametersValue extends jspb.Message {
|
|
66
|
+
getName(): string;
|
|
67
|
+
setName(value: string): ParametersValue;
|
|
68
|
+
getVersion(): string;
|
|
69
|
+
setVersion(value: string): ParametersValue;
|
|
70
|
+
|
|
71
|
+
hasValue(): boolean;
|
|
72
|
+
clearValue(): void;
|
|
73
|
+
getValue(): google_protobuf_struct_pb.Value | undefined;
|
|
74
|
+
setValue(value?: google_protobuf_struct_pb.Value): ParametersValue;
|
|
75
|
+
|
|
76
|
+
serializeBinary(): Uint8Array;
|
|
77
|
+
toObject(includeInstance?: boolean): ParametersValue.AsObject;
|
|
78
|
+
static toObject(includeInstance: boolean, msg: ParametersValue): ParametersValue.AsObject;
|
|
79
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
80
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
81
|
+
static serializeBinaryToWriter(message: ParametersValue, writer: jspb.BinaryWriter): void;
|
|
82
|
+
static deserializeBinary(bytes: Uint8Array): ParametersValue;
|
|
83
|
+
static deserializeBinaryFromReader(message: ParametersValue, reader: jspb.BinaryReader): ParametersValue;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export namespace ParametersValue {
|
|
87
|
+
export type AsObject = {
|
|
88
|
+
name: string,
|
|
89
|
+
version: string,
|
|
90
|
+
value?: google_protobuf_struct_pb.Value.AsObject,
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
export enum ParametersCase {
|
|
96
|
+
PARAMETERS_NOT_SET = 0,
|
|
97
|
+
ARGS = 1,
|
|
98
|
+
VALUE = 2,
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export class ParameterizeResponse extends jspb.Message {
|
|
104
|
+
getName(): string;
|
|
105
|
+
setName(value: string): ParameterizeResponse;
|
|
106
|
+
getVersion(): string;
|
|
107
|
+
setVersion(value: string): ParameterizeResponse;
|
|
108
|
+
|
|
109
|
+
serializeBinary(): Uint8Array;
|
|
110
|
+
toObject(includeInstance?: boolean): ParameterizeResponse.AsObject;
|
|
111
|
+
static toObject(includeInstance: boolean, msg: ParameterizeResponse): ParameterizeResponse.AsObject;
|
|
112
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
113
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
114
|
+
static serializeBinaryToWriter(message: ParameterizeResponse, writer: jspb.BinaryWriter): void;
|
|
115
|
+
static deserializeBinary(bytes: Uint8Array): ParameterizeResponse;
|
|
116
|
+
static deserializeBinaryFromReader(message: ParameterizeResponse, reader: jspb.BinaryReader): ParameterizeResponse;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export namespace ParameterizeResponse {
|
|
120
|
+
export type AsObject = {
|
|
121
|
+
name: string,
|
|
122
|
+
version: string,
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
12
126
|
export class GetSchemaRequest extends jspb.Message {
|
|
13
127
|
getVersion(): number;
|
|
14
128
|
setVersion(value: number): GetSchemaRequest;
|
|
129
|
+
getSubpackageName(): string;
|
|
130
|
+
setSubpackageName(value: string): GetSchemaRequest;
|
|
131
|
+
getSubpackageVersion(): string;
|
|
132
|
+
setSubpackageVersion(value: string): GetSchemaRequest;
|
|
15
133
|
|
|
16
134
|
serializeBinary(): Uint8Array;
|
|
17
135
|
toObject(includeInstance?: boolean): GetSchemaRequest.AsObject;
|
|
@@ -26,6 +144,8 @@ export class GetSchemaRequest extends jspb.Message {
|
|
|
26
144
|
export namespace GetSchemaRequest {
|
|
27
145
|
export type AsObject = {
|
|
28
146
|
version: number,
|
|
147
|
+
subpackageName: string,
|
|
148
|
+
subpackageVersion: string,
|
|
29
149
|
}
|
|
30
150
|
}
|
|
31
151
|
|
package/proto/provider_pb.js
CHANGED
|
@@ -52,12 +52,101 @@ goog.exportSymbol('proto.pulumirpc.GetSchemaRequest', null, global);
|
|
|
52
52
|
goog.exportSymbol('proto.pulumirpc.GetSchemaResponse', null, global);
|
|
53
53
|
goog.exportSymbol('proto.pulumirpc.InvokeRequest', null, global);
|
|
54
54
|
goog.exportSymbol('proto.pulumirpc.InvokeResponse', null, global);
|
|
55
|
+
goog.exportSymbol('proto.pulumirpc.ParameterizeRequest', null, global);
|
|
56
|
+
goog.exportSymbol('proto.pulumirpc.ParameterizeRequest.ParametersArgs', null, global);
|
|
57
|
+
goog.exportSymbol('proto.pulumirpc.ParameterizeRequest.ParametersCase', null, global);
|
|
58
|
+
goog.exportSymbol('proto.pulumirpc.ParameterizeRequest.ParametersValue', null, global);
|
|
59
|
+
goog.exportSymbol('proto.pulumirpc.ParameterizeResponse', null, global);
|
|
55
60
|
goog.exportSymbol('proto.pulumirpc.PropertyDiff', null, global);
|
|
56
61
|
goog.exportSymbol('proto.pulumirpc.PropertyDiff.Kind', null, global);
|
|
57
62
|
goog.exportSymbol('proto.pulumirpc.ReadRequest', null, global);
|
|
58
63
|
goog.exportSymbol('proto.pulumirpc.ReadResponse', null, global);
|
|
59
64
|
goog.exportSymbol('proto.pulumirpc.UpdateRequest', null, global);
|
|
60
65
|
goog.exportSymbol('proto.pulumirpc.UpdateResponse', null, global);
|
|
66
|
+
/**
|
|
67
|
+
* Generated by JsPbCodeGenerator.
|
|
68
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
69
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
70
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
71
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
72
|
+
* valid.
|
|
73
|
+
* @extends {jspb.Message}
|
|
74
|
+
* @constructor
|
|
75
|
+
*/
|
|
76
|
+
proto.pulumirpc.ParameterizeRequest = function(opt_data) {
|
|
77
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.pulumirpc.ParameterizeRequest.oneofGroups_);
|
|
78
|
+
};
|
|
79
|
+
goog.inherits(proto.pulumirpc.ParameterizeRequest, jspb.Message);
|
|
80
|
+
if (goog.DEBUG && !COMPILED) {
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
* @override
|
|
84
|
+
*/
|
|
85
|
+
proto.pulumirpc.ParameterizeRequest.displayName = 'proto.pulumirpc.ParameterizeRequest';
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Generated by JsPbCodeGenerator.
|
|
89
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
90
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
91
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
92
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
93
|
+
* valid.
|
|
94
|
+
* @extends {jspb.Message}
|
|
95
|
+
* @constructor
|
|
96
|
+
*/
|
|
97
|
+
proto.pulumirpc.ParameterizeRequest.ParametersArgs = function(opt_data) {
|
|
98
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.ParameterizeRequest.ParametersArgs.repeatedFields_, null);
|
|
99
|
+
};
|
|
100
|
+
goog.inherits(proto.pulumirpc.ParameterizeRequest.ParametersArgs, jspb.Message);
|
|
101
|
+
if (goog.DEBUG && !COMPILED) {
|
|
102
|
+
/**
|
|
103
|
+
* @public
|
|
104
|
+
* @override
|
|
105
|
+
*/
|
|
106
|
+
proto.pulumirpc.ParameterizeRequest.ParametersArgs.displayName = 'proto.pulumirpc.ParameterizeRequest.ParametersArgs';
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Generated by JsPbCodeGenerator.
|
|
110
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
111
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
112
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
113
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
114
|
+
* valid.
|
|
115
|
+
* @extends {jspb.Message}
|
|
116
|
+
* @constructor
|
|
117
|
+
*/
|
|
118
|
+
proto.pulumirpc.ParameterizeRequest.ParametersValue = function(opt_data) {
|
|
119
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
120
|
+
};
|
|
121
|
+
goog.inherits(proto.pulumirpc.ParameterizeRequest.ParametersValue, jspb.Message);
|
|
122
|
+
if (goog.DEBUG && !COMPILED) {
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
* @override
|
|
126
|
+
*/
|
|
127
|
+
proto.pulumirpc.ParameterizeRequest.ParametersValue.displayName = 'proto.pulumirpc.ParameterizeRequest.ParametersValue';
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Generated by JsPbCodeGenerator.
|
|
131
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
132
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
133
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
134
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
135
|
+
* valid.
|
|
136
|
+
* @extends {jspb.Message}
|
|
137
|
+
* @constructor
|
|
138
|
+
*/
|
|
139
|
+
proto.pulumirpc.ParameterizeResponse = function(opt_data) {
|
|
140
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
141
|
+
};
|
|
142
|
+
goog.inherits(proto.pulumirpc.ParameterizeResponse, jspb.Message);
|
|
143
|
+
if (goog.DEBUG && !COMPILED) {
|
|
144
|
+
/**
|
|
145
|
+
* @public
|
|
146
|
+
* @override
|
|
147
|
+
*/
|
|
148
|
+
proto.pulumirpc.ParameterizeResponse.displayName = 'proto.pulumirpc.ParameterizeResponse';
|
|
149
|
+
}
|
|
61
150
|
/**
|
|
62
151
|
* Generated by JsPbCodeGenerator.
|
|
63
152
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -794,6 +883,32 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
794
883
|
proto.pulumirpc.GetMappingsResponse.displayName = 'proto.pulumirpc.GetMappingsResponse';
|
|
795
884
|
}
|
|
796
885
|
|
|
886
|
+
/**
|
|
887
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
888
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
889
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
890
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
891
|
+
* @private {!Array<!Array<number>>}
|
|
892
|
+
* @const
|
|
893
|
+
*/
|
|
894
|
+
proto.pulumirpc.ParameterizeRequest.oneofGroups_ = [[1,2]];
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* @enum {number}
|
|
898
|
+
*/
|
|
899
|
+
proto.pulumirpc.ParameterizeRequest.ParametersCase = {
|
|
900
|
+
PARAMETERS_NOT_SET: 0,
|
|
901
|
+
ARGS: 1,
|
|
902
|
+
VALUE: 2
|
|
903
|
+
};
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
* @return {proto.pulumirpc.ParameterizeRequest.ParametersCase}
|
|
907
|
+
*/
|
|
908
|
+
proto.pulumirpc.ParameterizeRequest.prototype.getParametersCase = function() {
|
|
909
|
+
return /** @type {proto.pulumirpc.ParameterizeRequest.ParametersCase} */(jspb.Message.computeOneofCase(this, proto.pulumirpc.ParameterizeRequest.oneofGroups_[0]));
|
|
910
|
+
};
|
|
911
|
+
|
|
797
912
|
|
|
798
913
|
|
|
799
914
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -809,8 +924,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
809
924
|
* http://goto/soy-param-migration
|
|
810
925
|
* @return {!Object}
|
|
811
926
|
*/
|
|
812
|
-
proto.pulumirpc.
|
|
813
|
-
return proto.pulumirpc.
|
|
927
|
+
proto.pulumirpc.ParameterizeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
928
|
+
return proto.pulumirpc.ParameterizeRequest.toObject(opt_includeInstance, this);
|
|
814
929
|
};
|
|
815
930
|
|
|
816
931
|
|
|
@@ -819,13 +934,14 @@ proto.pulumirpc.GetSchemaRequest.prototype.toObject = function(opt_includeInstan
|
|
|
819
934
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
820
935
|
* the JSPB instance for transitional soy proto support:
|
|
821
936
|
* http://goto/soy-param-migration
|
|
822
|
-
* @param {!proto.pulumirpc.
|
|
937
|
+
* @param {!proto.pulumirpc.ParameterizeRequest} msg The msg instance to transform.
|
|
823
938
|
* @return {!Object}
|
|
824
939
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
825
940
|
*/
|
|
826
|
-
proto.pulumirpc.
|
|
941
|
+
proto.pulumirpc.ParameterizeRequest.toObject = function(includeInstance, msg) {
|
|
827
942
|
var f, obj = {
|
|
828
|
-
|
|
943
|
+
args: (f = msg.getArgs()) && proto.pulumirpc.ParameterizeRequest.ParametersArgs.toObject(includeInstance, f),
|
|
944
|
+
value: (f = msg.getValue()) && proto.pulumirpc.ParameterizeRequest.ParametersValue.toObject(includeInstance, f)
|
|
829
945
|
};
|
|
830
946
|
|
|
831
947
|
if (includeInstance) {
|
|
@@ -839,23 +955,23 @@ proto.pulumirpc.GetSchemaRequest.toObject = function(includeInstance, msg) {
|
|
|
839
955
|
/**
|
|
840
956
|
* Deserializes binary data (in protobuf wire format).
|
|
841
957
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
842
|
-
* @return {!proto.pulumirpc.
|
|
958
|
+
* @return {!proto.pulumirpc.ParameterizeRequest}
|
|
843
959
|
*/
|
|
844
|
-
proto.pulumirpc.
|
|
960
|
+
proto.pulumirpc.ParameterizeRequest.deserializeBinary = function(bytes) {
|
|
845
961
|
var reader = new jspb.BinaryReader(bytes);
|
|
846
|
-
var msg = new proto.pulumirpc.
|
|
847
|
-
return proto.pulumirpc.
|
|
962
|
+
var msg = new proto.pulumirpc.ParameterizeRequest;
|
|
963
|
+
return proto.pulumirpc.ParameterizeRequest.deserializeBinaryFromReader(msg, reader);
|
|
848
964
|
};
|
|
849
965
|
|
|
850
966
|
|
|
851
967
|
/**
|
|
852
968
|
* Deserializes binary data (in protobuf wire format) from the
|
|
853
969
|
* given reader into the given message object.
|
|
854
|
-
* @param {!proto.pulumirpc.
|
|
970
|
+
* @param {!proto.pulumirpc.ParameterizeRequest} msg The message object to deserialize into.
|
|
855
971
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
856
|
-
* @return {!proto.pulumirpc.
|
|
972
|
+
* @return {!proto.pulumirpc.ParameterizeRequest}
|
|
857
973
|
*/
|
|
858
|
-
proto.pulumirpc.
|
|
974
|
+
proto.pulumirpc.ParameterizeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
859
975
|
while (reader.nextField()) {
|
|
860
976
|
if (reader.isEndGroup()) {
|
|
861
977
|
break;
|
|
@@ -863,8 +979,14 @@ proto.pulumirpc.GetSchemaRequest.deserializeBinaryFromReader = function(msg, rea
|
|
|
863
979
|
var field = reader.getFieldNumber();
|
|
864
980
|
switch (field) {
|
|
865
981
|
case 1:
|
|
866
|
-
var value =
|
|
867
|
-
|
|
982
|
+
var value = new proto.pulumirpc.ParameterizeRequest.ParametersArgs;
|
|
983
|
+
reader.readMessage(value,proto.pulumirpc.ParameterizeRequest.ParametersArgs.deserializeBinaryFromReader);
|
|
984
|
+
msg.setArgs(value);
|
|
985
|
+
break;
|
|
986
|
+
case 2:
|
|
987
|
+
var value = new proto.pulumirpc.ParameterizeRequest.ParametersValue;
|
|
988
|
+
reader.readMessage(value,proto.pulumirpc.ParameterizeRequest.ParametersValue.deserializeBinaryFromReader);
|
|
989
|
+
msg.setValue(value);
|
|
868
990
|
break;
|
|
869
991
|
default:
|
|
870
992
|
reader.skipField();
|
|
@@ -879,9 +1001,9 @@ proto.pulumirpc.GetSchemaRequest.deserializeBinaryFromReader = function(msg, rea
|
|
|
879
1001
|
* Serializes the message to binary data (in protobuf wire format).
|
|
880
1002
|
* @return {!Uint8Array}
|
|
881
1003
|
*/
|
|
882
|
-
proto.pulumirpc.
|
|
1004
|
+
proto.pulumirpc.ParameterizeRequest.prototype.serializeBinary = function() {
|
|
883
1005
|
var writer = new jspb.BinaryWriter();
|
|
884
|
-
proto.pulumirpc.
|
|
1006
|
+
proto.pulumirpc.ParameterizeRequest.serializeBinaryToWriter(this, writer);
|
|
885
1007
|
return writer.getResultBuffer();
|
|
886
1008
|
};
|
|
887
1009
|
|
|
@@ -889,15 +1011,143 @@ proto.pulumirpc.GetSchemaRequest.prototype.serializeBinary = function() {
|
|
|
889
1011
|
/**
|
|
890
1012
|
* Serializes the given message to binary data (in protobuf wire
|
|
891
1013
|
* format), writing to the given BinaryWriter.
|
|
892
|
-
* @param {!proto.pulumirpc.
|
|
1014
|
+
* @param {!proto.pulumirpc.ParameterizeRequest} message
|
|
893
1015
|
* @param {!jspb.BinaryWriter} writer
|
|
894
1016
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
895
1017
|
*/
|
|
896
|
-
proto.pulumirpc.
|
|
1018
|
+
proto.pulumirpc.ParameterizeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
897
1019
|
var f = undefined;
|
|
898
|
-
f = message.
|
|
899
|
-
if (f
|
|
900
|
-
writer.
|
|
1020
|
+
f = message.getArgs();
|
|
1021
|
+
if (f != null) {
|
|
1022
|
+
writer.writeMessage(
|
|
1023
|
+
1,
|
|
1024
|
+
f,
|
|
1025
|
+
proto.pulumirpc.ParameterizeRequest.ParametersArgs.serializeBinaryToWriter
|
|
1026
|
+
);
|
|
1027
|
+
}
|
|
1028
|
+
f = message.getValue();
|
|
1029
|
+
if (f != null) {
|
|
1030
|
+
writer.writeMessage(
|
|
1031
|
+
2,
|
|
1032
|
+
f,
|
|
1033
|
+
proto.pulumirpc.ParameterizeRequest.ParametersValue.serializeBinaryToWriter
|
|
1034
|
+
);
|
|
1035
|
+
}
|
|
1036
|
+
};
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
|
|
1040
|
+
/**
|
|
1041
|
+
* List of repeated fields within this message type.
|
|
1042
|
+
* @private {!Array<number>}
|
|
1043
|
+
* @const
|
|
1044
|
+
*/
|
|
1045
|
+
proto.pulumirpc.ParameterizeRequest.ParametersArgs.repeatedFields_ = [1];
|
|
1046
|
+
|
|
1047
|
+
|
|
1048
|
+
|
|
1049
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1050
|
+
/**
|
|
1051
|
+
* Creates an object representation of this proto.
|
|
1052
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1053
|
+
* Optional fields that are not set will be set to undefined.
|
|
1054
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1055
|
+
* For the list of reserved names please see:
|
|
1056
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1057
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1058
|
+
* JSPB instance for transitional soy proto support:
|
|
1059
|
+
* http://goto/soy-param-migration
|
|
1060
|
+
* @return {!Object}
|
|
1061
|
+
*/
|
|
1062
|
+
proto.pulumirpc.ParameterizeRequest.ParametersArgs.prototype.toObject = function(opt_includeInstance) {
|
|
1063
|
+
return proto.pulumirpc.ParameterizeRequest.ParametersArgs.toObject(opt_includeInstance, this);
|
|
1064
|
+
};
|
|
1065
|
+
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* Static version of the {@see toObject} method.
|
|
1069
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1070
|
+
* the JSPB instance for transitional soy proto support:
|
|
1071
|
+
* http://goto/soy-param-migration
|
|
1072
|
+
* @param {!proto.pulumirpc.ParameterizeRequest.ParametersArgs} msg The msg instance to transform.
|
|
1073
|
+
* @return {!Object}
|
|
1074
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1075
|
+
*/
|
|
1076
|
+
proto.pulumirpc.ParameterizeRequest.ParametersArgs.toObject = function(includeInstance, msg) {
|
|
1077
|
+
var f, obj = {
|
|
1078
|
+
argsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
1079
|
+
};
|
|
1080
|
+
|
|
1081
|
+
if (includeInstance) {
|
|
1082
|
+
obj.$jspbMessageInstance = msg;
|
|
1083
|
+
}
|
|
1084
|
+
return obj;
|
|
1085
|
+
};
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1091
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1092
|
+
* @return {!proto.pulumirpc.ParameterizeRequest.ParametersArgs}
|
|
1093
|
+
*/
|
|
1094
|
+
proto.pulumirpc.ParameterizeRequest.ParametersArgs.deserializeBinary = function(bytes) {
|
|
1095
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1096
|
+
var msg = new proto.pulumirpc.ParameterizeRequest.ParametersArgs;
|
|
1097
|
+
return proto.pulumirpc.ParameterizeRequest.ParametersArgs.deserializeBinaryFromReader(msg, reader);
|
|
1098
|
+
};
|
|
1099
|
+
|
|
1100
|
+
|
|
1101
|
+
/**
|
|
1102
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1103
|
+
* given reader into the given message object.
|
|
1104
|
+
* @param {!proto.pulumirpc.ParameterizeRequest.ParametersArgs} msg The message object to deserialize into.
|
|
1105
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1106
|
+
* @return {!proto.pulumirpc.ParameterizeRequest.ParametersArgs}
|
|
1107
|
+
*/
|
|
1108
|
+
proto.pulumirpc.ParameterizeRequest.ParametersArgs.deserializeBinaryFromReader = function(msg, reader) {
|
|
1109
|
+
while (reader.nextField()) {
|
|
1110
|
+
if (reader.isEndGroup()) {
|
|
1111
|
+
break;
|
|
1112
|
+
}
|
|
1113
|
+
var field = reader.getFieldNumber();
|
|
1114
|
+
switch (field) {
|
|
1115
|
+
case 1:
|
|
1116
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1117
|
+
msg.addArgs(value);
|
|
1118
|
+
break;
|
|
1119
|
+
default:
|
|
1120
|
+
reader.skipField();
|
|
1121
|
+
break;
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
return msg;
|
|
1125
|
+
};
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
/**
|
|
1129
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1130
|
+
* @return {!Uint8Array}
|
|
1131
|
+
*/
|
|
1132
|
+
proto.pulumirpc.ParameterizeRequest.ParametersArgs.prototype.serializeBinary = function() {
|
|
1133
|
+
var writer = new jspb.BinaryWriter();
|
|
1134
|
+
proto.pulumirpc.ParameterizeRequest.ParametersArgs.serializeBinaryToWriter(this, writer);
|
|
1135
|
+
return writer.getResultBuffer();
|
|
1136
|
+
};
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
|
+
/**
|
|
1140
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1141
|
+
* format), writing to the given BinaryWriter.
|
|
1142
|
+
* @param {!proto.pulumirpc.ParameterizeRequest.ParametersArgs} message
|
|
1143
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1144
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1145
|
+
*/
|
|
1146
|
+
proto.pulumirpc.ParameterizeRequest.ParametersArgs.serializeBinaryToWriter = function(message, writer) {
|
|
1147
|
+
var f = undefined;
|
|
1148
|
+
f = message.getArgsList();
|
|
1149
|
+
if (f.length > 0) {
|
|
1150
|
+
writer.writeRepeatedString(
|
|
901
1151
|
1,
|
|
902
1152
|
f
|
|
903
1153
|
);
|
|
@@ -906,20 +1156,674 @@ proto.pulumirpc.GetSchemaRequest.serializeBinaryToWriter = function(message, wri
|
|
|
906
1156
|
|
|
907
1157
|
|
|
908
1158
|
/**
|
|
909
|
-
*
|
|
910
|
-
* @return {
|
|
1159
|
+
* repeated string args = 1;
|
|
1160
|
+
* @return {!Array<string>}
|
|
911
1161
|
*/
|
|
912
|
-
proto.pulumirpc.
|
|
913
|
-
return /** @type {
|
|
1162
|
+
proto.pulumirpc.ParameterizeRequest.ParametersArgs.prototype.getArgsList = function() {
|
|
1163
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
914
1164
|
};
|
|
915
1165
|
|
|
916
1166
|
|
|
917
1167
|
/**
|
|
918
|
-
* @param {
|
|
919
|
-
* @return {!proto.pulumirpc.
|
|
1168
|
+
* @param {!Array<string>} value
|
|
1169
|
+
* @return {!proto.pulumirpc.ParameterizeRequest.ParametersArgs} returns this
|
|
920
1170
|
*/
|
|
921
|
-
proto.pulumirpc.
|
|
922
|
-
return jspb.Message.
|
|
1171
|
+
proto.pulumirpc.ParameterizeRequest.ParametersArgs.prototype.setArgsList = function(value) {
|
|
1172
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
1173
|
+
};
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
/**
|
|
1177
|
+
* @param {string} value
|
|
1178
|
+
* @param {number=} opt_index
|
|
1179
|
+
* @return {!proto.pulumirpc.ParameterizeRequest.ParametersArgs} returns this
|
|
1180
|
+
*/
|
|
1181
|
+
proto.pulumirpc.ParameterizeRequest.ParametersArgs.prototype.addArgs = function(value, opt_index) {
|
|
1182
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
1183
|
+
};
|
|
1184
|
+
|
|
1185
|
+
|
|
1186
|
+
/**
|
|
1187
|
+
* Clears the list making it empty but non-null.
|
|
1188
|
+
* @return {!proto.pulumirpc.ParameterizeRequest.ParametersArgs} returns this
|
|
1189
|
+
*/
|
|
1190
|
+
proto.pulumirpc.ParameterizeRequest.ParametersArgs.prototype.clearArgsList = function() {
|
|
1191
|
+
return this.setArgsList([]);
|
|
1192
|
+
};
|
|
1193
|
+
|
|
1194
|
+
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
|
|
1198
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1199
|
+
/**
|
|
1200
|
+
* Creates an object representation of this proto.
|
|
1201
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1202
|
+
* Optional fields that are not set will be set to undefined.
|
|
1203
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1204
|
+
* For the list of reserved names please see:
|
|
1205
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1206
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1207
|
+
* JSPB instance for transitional soy proto support:
|
|
1208
|
+
* http://goto/soy-param-migration
|
|
1209
|
+
* @return {!Object}
|
|
1210
|
+
*/
|
|
1211
|
+
proto.pulumirpc.ParameterizeRequest.ParametersValue.prototype.toObject = function(opt_includeInstance) {
|
|
1212
|
+
return proto.pulumirpc.ParameterizeRequest.ParametersValue.toObject(opt_includeInstance, this);
|
|
1213
|
+
};
|
|
1214
|
+
|
|
1215
|
+
|
|
1216
|
+
/**
|
|
1217
|
+
* Static version of the {@see toObject} method.
|
|
1218
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1219
|
+
* the JSPB instance for transitional soy proto support:
|
|
1220
|
+
* http://goto/soy-param-migration
|
|
1221
|
+
* @param {!proto.pulumirpc.ParameterizeRequest.ParametersValue} msg The msg instance to transform.
|
|
1222
|
+
* @return {!Object}
|
|
1223
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1224
|
+
*/
|
|
1225
|
+
proto.pulumirpc.ParameterizeRequest.ParametersValue.toObject = function(includeInstance, msg) {
|
|
1226
|
+
var f, obj = {
|
|
1227
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1228
|
+
version: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1229
|
+
value: (f = msg.getValue()) && google_protobuf_struct_pb.Value.toObject(includeInstance, f)
|
|
1230
|
+
};
|
|
1231
|
+
|
|
1232
|
+
if (includeInstance) {
|
|
1233
|
+
obj.$jspbMessageInstance = msg;
|
|
1234
|
+
}
|
|
1235
|
+
return obj;
|
|
1236
|
+
};
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1242
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1243
|
+
* @return {!proto.pulumirpc.ParameterizeRequest.ParametersValue}
|
|
1244
|
+
*/
|
|
1245
|
+
proto.pulumirpc.ParameterizeRequest.ParametersValue.deserializeBinary = function(bytes) {
|
|
1246
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1247
|
+
var msg = new proto.pulumirpc.ParameterizeRequest.ParametersValue;
|
|
1248
|
+
return proto.pulumirpc.ParameterizeRequest.ParametersValue.deserializeBinaryFromReader(msg, reader);
|
|
1249
|
+
};
|
|
1250
|
+
|
|
1251
|
+
|
|
1252
|
+
/**
|
|
1253
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1254
|
+
* given reader into the given message object.
|
|
1255
|
+
* @param {!proto.pulumirpc.ParameterizeRequest.ParametersValue} msg The message object to deserialize into.
|
|
1256
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1257
|
+
* @return {!proto.pulumirpc.ParameterizeRequest.ParametersValue}
|
|
1258
|
+
*/
|
|
1259
|
+
proto.pulumirpc.ParameterizeRequest.ParametersValue.deserializeBinaryFromReader = function(msg, reader) {
|
|
1260
|
+
while (reader.nextField()) {
|
|
1261
|
+
if (reader.isEndGroup()) {
|
|
1262
|
+
break;
|
|
1263
|
+
}
|
|
1264
|
+
var field = reader.getFieldNumber();
|
|
1265
|
+
switch (field) {
|
|
1266
|
+
case 1:
|
|
1267
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1268
|
+
msg.setName(value);
|
|
1269
|
+
break;
|
|
1270
|
+
case 2:
|
|
1271
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1272
|
+
msg.setVersion(value);
|
|
1273
|
+
break;
|
|
1274
|
+
case 3:
|
|
1275
|
+
var value = new google_protobuf_struct_pb.Value;
|
|
1276
|
+
reader.readMessage(value,google_protobuf_struct_pb.Value.deserializeBinaryFromReader);
|
|
1277
|
+
msg.setValue(value);
|
|
1278
|
+
break;
|
|
1279
|
+
default:
|
|
1280
|
+
reader.skipField();
|
|
1281
|
+
break;
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
return msg;
|
|
1285
|
+
};
|
|
1286
|
+
|
|
1287
|
+
|
|
1288
|
+
/**
|
|
1289
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1290
|
+
* @return {!Uint8Array}
|
|
1291
|
+
*/
|
|
1292
|
+
proto.pulumirpc.ParameterizeRequest.ParametersValue.prototype.serializeBinary = function() {
|
|
1293
|
+
var writer = new jspb.BinaryWriter();
|
|
1294
|
+
proto.pulumirpc.ParameterizeRequest.ParametersValue.serializeBinaryToWriter(this, writer);
|
|
1295
|
+
return writer.getResultBuffer();
|
|
1296
|
+
};
|
|
1297
|
+
|
|
1298
|
+
|
|
1299
|
+
/**
|
|
1300
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1301
|
+
* format), writing to the given BinaryWriter.
|
|
1302
|
+
* @param {!proto.pulumirpc.ParameterizeRequest.ParametersValue} message
|
|
1303
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1304
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1305
|
+
*/
|
|
1306
|
+
proto.pulumirpc.ParameterizeRequest.ParametersValue.serializeBinaryToWriter = function(message, writer) {
|
|
1307
|
+
var f = undefined;
|
|
1308
|
+
f = message.getName();
|
|
1309
|
+
if (f.length > 0) {
|
|
1310
|
+
writer.writeString(
|
|
1311
|
+
1,
|
|
1312
|
+
f
|
|
1313
|
+
);
|
|
1314
|
+
}
|
|
1315
|
+
f = message.getVersion();
|
|
1316
|
+
if (f.length > 0) {
|
|
1317
|
+
writer.writeString(
|
|
1318
|
+
2,
|
|
1319
|
+
f
|
|
1320
|
+
);
|
|
1321
|
+
}
|
|
1322
|
+
f = message.getValue();
|
|
1323
|
+
if (f != null) {
|
|
1324
|
+
writer.writeMessage(
|
|
1325
|
+
3,
|
|
1326
|
+
f,
|
|
1327
|
+
google_protobuf_struct_pb.Value.serializeBinaryToWriter
|
|
1328
|
+
);
|
|
1329
|
+
}
|
|
1330
|
+
};
|
|
1331
|
+
|
|
1332
|
+
|
|
1333
|
+
/**
|
|
1334
|
+
* optional string name = 1;
|
|
1335
|
+
* @return {string}
|
|
1336
|
+
*/
|
|
1337
|
+
proto.pulumirpc.ParameterizeRequest.ParametersValue.prototype.getName = function() {
|
|
1338
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1339
|
+
};
|
|
1340
|
+
|
|
1341
|
+
|
|
1342
|
+
/**
|
|
1343
|
+
* @param {string} value
|
|
1344
|
+
* @return {!proto.pulumirpc.ParameterizeRequest.ParametersValue} returns this
|
|
1345
|
+
*/
|
|
1346
|
+
proto.pulumirpc.ParameterizeRequest.ParametersValue.prototype.setName = function(value) {
|
|
1347
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1348
|
+
};
|
|
1349
|
+
|
|
1350
|
+
|
|
1351
|
+
/**
|
|
1352
|
+
* optional string version = 2;
|
|
1353
|
+
* @return {string}
|
|
1354
|
+
*/
|
|
1355
|
+
proto.pulumirpc.ParameterizeRequest.ParametersValue.prototype.getVersion = function() {
|
|
1356
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1357
|
+
};
|
|
1358
|
+
|
|
1359
|
+
|
|
1360
|
+
/**
|
|
1361
|
+
* @param {string} value
|
|
1362
|
+
* @return {!proto.pulumirpc.ParameterizeRequest.ParametersValue} returns this
|
|
1363
|
+
*/
|
|
1364
|
+
proto.pulumirpc.ParameterizeRequest.ParametersValue.prototype.setVersion = function(value) {
|
|
1365
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1366
|
+
};
|
|
1367
|
+
|
|
1368
|
+
|
|
1369
|
+
/**
|
|
1370
|
+
* optional google.protobuf.Value value = 3;
|
|
1371
|
+
* @return {?proto.google.protobuf.Value}
|
|
1372
|
+
*/
|
|
1373
|
+
proto.pulumirpc.ParameterizeRequest.ParametersValue.prototype.getValue = function() {
|
|
1374
|
+
return /** @type{?proto.google.protobuf.Value} */ (
|
|
1375
|
+
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Value, 3));
|
|
1376
|
+
};
|
|
1377
|
+
|
|
1378
|
+
|
|
1379
|
+
/**
|
|
1380
|
+
* @param {?proto.google.protobuf.Value|undefined} value
|
|
1381
|
+
* @return {!proto.pulumirpc.ParameterizeRequest.ParametersValue} returns this
|
|
1382
|
+
*/
|
|
1383
|
+
proto.pulumirpc.ParameterizeRequest.ParametersValue.prototype.setValue = function(value) {
|
|
1384
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
1385
|
+
};
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
* Clears the message field making it undefined.
|
|
1390
|
+
* @return {!proto.pulumirpc.ParameterizeRequest.ParametersValue} returns this
|
|
1391
|
+
*/
|
|
1392
|
+
proto.pulumirpc.ParameterizeRequest.ParametersValue.prototype.clearValue = function() {
|
|
1393
|
+
return this.setValue(undefined);
|
|
1394
|
+
};
|
|
1395
|
+
|
|
1396
|
+
|
|
1397
|
+
/**
|
|
1398
|
+
* Returns whether this field is set.
|
|
1399
|
+
* @return {boolean}
|
|
1400
|
+
*/
|
|
1401
|
+
proto.pulumirpc.ParameterizeRequest.ParametersValue.prototype.hasValue = function() {
|
|
1402
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1403
|
+
};
|
|
1404
|
+
|
|
1405
|
+
|
|
1406
|
+
/**
|
|
1407
|
+
* optional ParametersArgs args = 1;
|
|
1408
|
+
* @return {?proto.pulumirpc.ParameterizeRequest.ParametersArgs}
|
|
1409
|
+
*/
|
|
1410
|
+
proto.pulumirpc.ParameterizeRequest.prototype.getArgs = function() {
|
|
1411
|
+
return /** @type{?proto.pulumirpc.ParameterizeRequest.ParametersArgs} */ (
|
|
1412
|
+
jspb.Message.getWrapperField(this, proto.pulumirpc.ParameterizeRequest.ParametersArgs, 1));
|
|
1413
|
+
};
|
|
1414
|
+
|
|
1415
|
+
|
|
1416
|
+
/**
|
|
1417
|
+
* @param {?proto.pulumirpc.ParameterizeRequest.ParametersArgs|undefined} value
|
|
1418
|
+
* @return {!proto.pulumirpc.ParameterizeRequest} returns this
|
|
1419
|
+
*/
|
|
1420
|
+
proto.pulumirpc.ParameterizeRequest.prototype.setArgs = function(value) {
|
|
1421
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.pulumirpc.ParameterizeRequest.oneofGroups_[0], value);
|
|
1422
|
+
};
|
|
1423
|
+
|
|
1424
|
+
|
|
1425
|
+
/**
|
|
1426
|
+
* Clears the message field making it undefined.
|
|
1427
|
+
* @return {!proto.pulumirpc.ParameterizeRequest} returns this
|
|
1428
|
+
*/
|
|
1429
|
+
proto.pulumirpc.ParameterizeRequest.prototype.clearArgs = function() {
|
|
1430
|
+
return this.setArgs(undefined);
|
|
1431
|
+
};
|
|
1432
|
+
|
|
1433
|
+
|
|
1434
|
+
/**
|
|
1435
|
+
* Returns whether this field is set.
|
|
1436
|
+
* @return {boolean}
|
|
1437
|
+
*/
|
|
1438
|
+
proto.pulumirpc.ParameterizeRequest.prototype.hasArgs = function() {
|
|
1439
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1440
|
+
};
|
|
1441
|
+
|
|
1442
|
+
|
|
1443
|
+
/**
|
|
1444
|
+
* optional ParametersValue value = 2;
|
|
1445
|
+
* @return {?proto.pulumirpc.ParameterizeRequest.ParametersValue}
|
|
1446
|
+
*/
|
|
1447
|
+
proto.pulumirpc.ParameterizeRequest.prototype.getValue = function() {
|
|
1448
|
+
return /** @type{?proto.pulumirpc.ParameterizeRequest.ParametersValue} */ (
|
|
1449
|
+
jspb.Message.getWrapperField(this, proto.pulumirpc.ParameterizeRequest.ParametersValue, 2));
|
|
1450
|
+
};
|
|
1451
|
+
|
|
1452
|
+
|
|
1453
|
+
/**
|
|
1454
|
+
* @param {?proto.pulumirpc.ParameterizeRequest.ParametersValue|undefined} value
|
|
1455
|
+
* @return {!proto.pulumirpc.ParameterizeRequest} returns this
|
|
1456
|
+
*/
|
|
1457
|
+
proto.pulumirpc.ParameterizeRequest.prototype.setValue = function(value) {
|
|
1458
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.pulumirpc.ParameterizeRequest.oneofGroups_[0], value);
|
|
1459
|
+
};
|
|
1460
|
+
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* Clears the message field making it undefined.
|
|
1464
|
+
* @return {!proto.pulumirpc.ParameterizeRequest} returns this
|
|
1465
|
+
*/
|
|
1466
|
+
proto.pulumirpc.ParameterizeRequest.prototype.clearValue = function() {
|
|
1467
|
+
return this.setValue(undefined);
|
|
1468
|
+
};
|
|
1469
|
+
|
|
1470
|
+
|
|
1471
|
+
/**
|
|
1472
|
+
* Returns whether this field is set.
|
|
1473
|
+
* @return {boolean}
|
|
1474
|
+
*/
|
|
1475
|
+
proto.pulumirpc.ParameterizeRequest.prototype.hasValue = function() {
|
|
1476
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1477
|
+
};
|
|
1478
|
+
|
|
1479
|
+
|
|
1480
|
+
|
|
1481
|
+
|
|
1482
|
+
|
|
1483
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1484
|
+
/**
|
|
1485
|
+
* Creates an object representation of this proto.
|
|
1486
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1487
|
+
* Optional fields that are not set will be set to undefined.
|
|
1488
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1489
|
+
* For the list of reserved names please see:
|
|
1490
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1491
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1492
|
+
* JSPB instance for transitional soy proto support:
|
|
1493
|
+
* http://goto/soy-param-migration
|
|
1494
|
+
* @return {!Object}
|
|
1495
|
+
*/
|
|
1496
|
+
proto.pulumirpc.ParameterizeResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1497
|
+
return proto.pulumirpc.ParameterizeResponse.toObject(opt_includeInstance, this);
|
|
1498
|
+
};
|
|
1499
|
+
|
|
1500
|
+
|
|
1501
|
+
/**
|
|
1502
|
+
* Static version of the {@see toObject} method.
|
|
1503
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1504
|
+
* the JSPB instance for transitional soy proto support:
|
|
1505
|
+
* http://goto/soy-param-migration
|
|
1506
|
+
* @param {!proto.pulumirpc.ParameterizeResponse} msg The msg instance to transform.
|
|
1507
|
+
* @return {!Object}
|
|
1508
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1509
|
+
*/
|
|
1510
|
+
proto.pulumirpc.ParameterizeResponse.toObject = function(includeInstance, msg) {
|
|
1511
|
+
var f, obj = {
|
|
1512
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1513
|
+
version: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1514
|
+
};
|
|
1515
|
+
|
|
1516
|
+
if (includeInstance) {
|
|
1517
|
+
obj.$jspbMessageInstance = msg;
|
|
1518
|
+
}
|
|
1519
|
+
return obj;
|
|
1520
|
+
};
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
|
|
1524
|
+
/**
|
|
1525
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1526
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1527
|
+
* @return {!proto.pulumirpc.ParameterizeResponse}
|
|
1528
|
+
*/
|
|
1529
|
+
proto.pulumirpc.ParameterizeResponse.deserializeBinary = function(bytes) {
|
|
1530
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1531
|
+
var msg = new proto.pulumirpc.ParameterizeResponse;
|
|
1532
|
+
return proto.pulumirpc.ParameterizeResponse.deserializeBinaryFromReader(msg, reader);
|
|
1533
|
+
};
|
|
1534
|
+
|
|
1535
|
+
|
|
1536
|
+
/**
|
|
1537
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1538
|
+
* given reader into the given message object.
|
|
1539
|
+
* @param {!proto.pulumirpc.ParameterizeResponse} msg The message object to deserialize into.
|
|
1540
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1541
|
+
* @return {!proto.pulumirpc.ParameterizeResponse}
|
|
1542
|
+
*/
|
|
1543
|
+
proto.pulumirpc.ParameterizeResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1544
|
+
while (reader.nextField()) {
|
|
1545
|
+
if (reader.isEndGroup()) {
|
|
1546
|
+
break;
|
|
1547
|
+
}
|
|
1548
|
+
var field = reader.getFieldNumber();
|
|
1549
|
+
switch (field) {
|
|
1550
|
+
case 1:
|
|
1551
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1552
|
+
msg.setName(value);
|
|
1553
|
+
break;
|
|
1554
|
+
case 2:
|
|
1555
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1556
|
+
msg.setVersion(value);
|
|
1557
|
+
break;
|
|
1558
|
+
default:
|
|
1559
|
+
reader.skipField();
|
|
1560
|
+
break;
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
return msg;
|
|
1564
|
+
};
|
|
1565
|
+
|
|
1566
|
+
|
|
1567
|
+
/**
|
|
1568
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1569
|
+
* @return {!Uint8Array}
|
|
1570
|
+
*/
|
|
1571
|
+
proto.pulumirpc.ParameterizeResponse.prototype.serializeBinary = function() {
|
|
1572
|
+
var writer = new jspb.BinaryWriter();
|
|
1573
|
+
proto.pulumirpc.ParameterizeResponse.serializeBinaryToWriter(this, writer);
|
|
1574
|
+
return writer.getResultBuffer();
|
|
1575
|
+
};
|
|
1576
|
+
|
|
1577
|
+
|
|
1578
|
+
/**
|
|
1579
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1580
|
+
* format), writing to the given BinaryWriter.
|
|
1581
|
+
* @param {!proto.pulumirpc.ParameterizeResponse} message
|
|
1582
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1583
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1584
|
+
*/
|
|
1585
|
+
proto.pulumirpc.ParameterizeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1586
|
+
var f = undefined;
|
|
1587
|
+
f = message.getName();
|
|
1588
|
+
if (f.length > 0) {
|
|
1589
|
+
writer.writeString(
|
|
1590
|
+
1,
|
|
1591
|
+
f
|
|
1592
|
+
);
|
|
1593
|
+
}
|
|
1594
|
+
f = message.getVersion();
|
|
1595
|
+
if (f.length > 0) {
|
|
1596
|
+
writer.writeString(
|
|
1597
|
+
2,
|
|
1598
|
+
f
|
|
1599
|
+
);
|
|
1600
|
+
}
|
|
1601
|
+
};
|
|
1602
|
+
|
|
1603
|
+
|
|
1604
|
+
/**
|
|
1605
|
+
* optional string name = 1;
|
|
1606
|
+
* @return {string}
|
|
1607
|
+
*/
|
|
1608
|
+
proto.pulumirpc.ParameterizeResponse.prototype.getName = function() {
|
|
1609
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1610
|
+
};
|
|
1611
|
+
|
|
1612
|
+
|
|
1613
|
+
/**
|
|
1614
|
+
* @param {string} value
|
|
1615
|
+
* @return {!proto.pulumirpc.ParameterizeResponse} returns this
|
|
1616
|
+
*/
|
|
1617
|
+
proto.pulumirpc.ParameterizeResponse.prototype.setName = function(value) {
|
|
1618
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1619
|
+
};
|
|
1620
|
+
|
|
1621
|
+
|
|
1622
|
+
/**
|
|
1623
|
+
* optional string version = 2;
|
|
1624
|
+
* @return {string}
|
|
1625
|
+
*/
|
|
1626
|
+
proto.pulumirpc.ParameterizeResponse.prototype.getVersion = function() {
|
|
1627
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1628
|
+
};
|
|
1629
|
+
|
|
1630
|
+
|
|
1631
|
+
/**
|
|
1632
|
+
* @param {string} value
|
|
1633
|
+
* @return {!proto.pulumirpc.ParameterizeResponse} returns this
|
|
1634
|
+
*/
|
|
1635
|
+
proto.pulumirpc.ParameterizeResponse.prototype.setVersion = function(value) {
|
|
1636
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1637
|
+
};
|
|
1638
|
+
|
|
1639
|
+
|
|
1640
|
+
|
|
1641
|
+
|
|
1642
|
+
|
|
1643
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1644
|
+
/**
|
|
1645
|
+
* Creates an object representation of this proto.
|
|
1646
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1647
|
+
* Optional fields that are not set will be set to undefined.
|
|
1648
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1649
|
+
* For the list of reserved names please see:
|
|
1650
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1651
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1652
|
+
* JSPB instance for transitional soy proto support:
|
|
1653
|
+
* http://goto/soy-param-migration
|
|
1654
|
+
* @return {!Object}
|
|
1655
|
+
*/
|
|
1656
|
+
proto.pulumirpc.GetSchemaRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1657
|
+
return proto.pulumirpc.GetSchemaRequest.toObject(opt_includeInstance, this);
|
|
1658
|
+
};
|
|
1659
|
+
|
|
1660
|
+
|
|
1661
|
+
/**
|
|
1662
|
+
* Static version of the {@see toObject} method.
|
|
1663
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1664
|
+
* the JSPB instance for transitional soy proto support:
|
|
1665
|
+
* http://goto/soy-param-migration
|
|
1666
|
+
* @param {!proto.pulumirpc.GetSchemaRequest} msg The msg instance to transform.
|
|
1667
|
+
* @return {!Object}
|
|
1668
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1669
|
+
*/
|
|
1670
|
+
proto.pulumirpc.GetSchemaRequest.toObject = function(includeInstance, msg) {
|
|
1671
|
+
var f, obj = {
|
|
1672
|
+
version: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1673
|
+
subpackageName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1674
|
+
subpackageVersion: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1675
|
+
};
|
|
1676
|
+
|
|
1677
|
+
if (includeInstance) {
|
|
1678
|
+
obj.$jspbMessageInstance = msg;
|
|
1679
|
+
}
|
|
1680
|
+
return obj;
|
|
1681
|
+
};
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
|
|
1685
|
+
/**
|
|
1686
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1687
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1688
|
+
* @return {!proto.pulumirpc.GetSchemaRequest}
|
|
1689
|
+
*/
|
|
1690
|
+
proto.pulumirpc.GetSchemaRequest.deserializeBinary = function(bytes) {
|
|
1691
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1692
|
+
var msg = new proto.pulumirpc.GetSchemaRequest;
|
|
1693
|
+
return proto.pulumirpc.GetSchemaRequest.deserializeBinaryFromReader(msg, reader);
|
|
1694
|
+
};
|
|
1695
|
+
|
|
1696
|
+
|
|
1697
|
+
/**
|
|
1698
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1699
|
+
* given reader into the given message object.
|
|
1700
|
+
* @param {!proto.pulumirpc.GetSchemaRequest} msg The message object to deserialize into.
|
|
1701
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1702
|
+
* @return {!proto.pulumirpc.GetSchemaRequest}
|
|
1703
|
+
*/
|
|
1704
|
+
proto.pulumirpc.GetSchemaRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1705
|
+
while (reader.nextField()) {
|
|
1706
|
+
if (reader.isEndGroup()) {
|
|
1707
|
+
break;
|
|
1708
|
+
}
|
|
1709
|
+
var field = reader.getFieldNumber();
|
|
1710
|
+
switch (field) {
|
|
1711
|
+
case 1:
|
|
1712
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1713
|
+
msg.setVersion(value);
|
|
1714
|
+
break;
|
|
1715
|
+
case 2:
|
|
1716
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1717
|
+
msg.setSubpackageName(value);
|
|
1718
|
+
break;
|
|
1719
|
+
case 3:
|
|
1720
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1721
|
+
msg.setSubpackageVersion(value);
|
|
1722
|
+
break;
|
|
1723
|
+
default:
|
|
1724
|
+
reader.skipField();
|
|
1725
|
+
break;
|
|
1726
|
+
}
|
|
1727
|
+
}
|
|
1728
|
+
return msg;
|
|
1729
|
+
};
|
|
1730
|
+
|
|
1731
|
+
|
|
1732
|
+
/**
|
|
1733
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1734
|
+
* @return {!Uint8Array}
|
|
1735
|
+
*/
|
|
1736
|
+
proto.pulumirpc.GetSchemaRequest.prototype.serializeBinary = function() {
|
|
1737
|
+
var writer = new jspb.BinaryWriter();
|
|
1738
|
+
proto.pulumirpc.GetSchemaRequest.serializeBinaryToWriter(this, writer);
|
|
1739
|
+
return writer.getResultBuffer();
|
|
1740
|
+
};
|
|
1741
|
+
|
|
1742
|
+
|
|
1743
|
+
/**
|
|
1744
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1745
|
+
* format), writing to the given BinaryWriter.
|
|
1746
|
+
* @param {!proto.pulumirpc.GetSchemaRequest} message
|
|
1747
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1748
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1749
|
+
*/
|
|
1750
|
+
proto.pulumirpc.GetSchemaRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1751
|
+
var f = undefined;
|
|
1752
|
+
f = message.getVersion();
|
|
1753
|
+
if (f !== 0) {
|
|
1754
|
+
writer.writeInt32(
|
|
1755
|
+
1,
|
|
1756
|
+
f
|
|
1757
|
+
);
|
|
1758
|
+
}
|
|
1759
|
+
f = message.getSubpackageName();
|
|
1760
|
+
if (f.length > 0) {
|
|
1761
|
+
writer.writeString(
|
|
1762
|
+
2,
|
|
1763
|
+
f
|
|
1764
|
+
);
|
|
1765
|
+
}
|
|
1766
|
+
f = message.getSubpackageVersion();
|
|
1767
|
+
if (f.length > 0) {
|
|
1768
|
+
writer.writeString(
|
|
1769
|
+
3,
|
|
1770
|
+
f
|
|
1771
|
+
);
|
|
1772
|
+
}
|
|
1773
|
+
};
|
|
1774
|
+
|
|
1775
|
+
|
|
1776
|
+
/**
|
|
1777
|
+
* optional int32 version = 1;
|
|
1778
|
+
* @return {number}
|
|
1779
|
+
*/
|
|
1780
|
+
proto.pulumirpc.GetSchemaRequest.prototype.getVersion = function() {
|
|
1781
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1782
|
+
};
|
|
1783
|
+
|
|
1784
|
+
|
|
1785
|
+
/**
|
|
1786
|
+
* @param {number} value
|
|
1787
|
+
* @return {!proto.pulumirpc.GetSchemaRequest} returns this
|
|
1788
|
+
*/
|
|
1789
|
+
proto.pulumirpc.GetSchemaRequest.prototype.setVersion = function(value) {
|
|
1790
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1791
|
+
};
|
|
1792
|
+
|
|
1793
|
+
|
|
1794
|
+
/**
|
|
1795
|
+
* optional string subpackage_name = 2;
|
|
1796
|
+
* @return {string}
|
|
1797
|
+
*/
|
|
1798
|
+
proto.pulumirpc.GetSchemaRequest.prototype.getSubpackageName = function() {
|
|
1799
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1800
|
+
};
|
|
1801
|
+
|
|
1802
|
+
|
|
1803
|
+
/**
|
|
1804
|
+
* @param {string} value
|
|
1805
|
+
* @return {!proto.pulumirpc.GetSchemaRequest} returns this
|
|
1806
|
+
*/
|
|
1807
|
+
proto.pulumirpc.GetSchemaRequest.prototype.setSubpackageName = function(value) {
|
|
1808
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1809
|
+
};
|
|
1810
|
+
|
|
1811
|
+
|
|
1812
|
+
/**
|
|
1813
|
+
* optional string subpackage_version = 3;
|
|
1814
|
+
* @return {string}
|
|
1815
|
+
*/
|
|
1816
|
+
proto.pulumirpc.GetSchemaRequest.prototype.getSubpackageVersion = function() {
|
|
1817
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1818
|
+
};
|
|
1819
|
+
|
|
1820
|
+
|
|
1821
|
+
/**
|
|
1822
|
+
* @param {string} value
|
|
1823
|
+
* @return {!proto.pulumirpc.GetSchemaRequest} returns this
|
|
1824
|
+
*/
|
|
1825
|
+
proto.pulumirpc.GetSchemaRequest.prototype.setSubpackageVersion = function(value) {
|
|
1826
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
923
1827
|
};
|
|
924
1828
|
|
|
925
1829
|
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "3.116.
|
|
1
|
+
export declare const version = "3.116.2";
|
package/version.js
CHANGED
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
// See the License for the specific language governing permissions and
|
|
14
14
|
// limitations under the License.
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.version = "3.116.
|
|
16
|
+
exports.version = "3.116.2-alpha.xab7acdb";
|
|
17
17
|
//# sourceMappingURL=version.js.map
|