mirror of https://github.com/pulumi/pulumi.git
1479 lines
44 KiB
JavaScript
1479 lines
44 KiB
JavaScript
// source: pulumi/engine/engine.proto
|
|
/**
|
|
* @fileoverview
|
|
* @enhanceable
|
|
* @suppress {missingRequire} reports error on implicit type usages.
|
|
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
* field starts with 'MSG_' and isn't a translatable message.
|
|
* @public
|
|
*/
|
|
// GENERATED CODE -- DO NOT EDIT!
|
|
/* eslint-disable */
|
|
// @ts-nocheck
|
|
|
|
var jspb = require('google-protobuf');
|
|
var goog = jspb;
|
|
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
|
|
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
var pulumi_plugin_pb = require('../../pulumi/plugin_pb.js');
|
|
goog.object.extend(proto, pulumi_plugin_pb);
|
|
var pulumi_language_pb = require('../../pulumi/language_pb.js');
|
|
goog.object.extend(proto, pulumi_language_pb);
|
|
goog.exportSymbol('proto.pulumirpc.engine.AboutBackend', null, global);
|
|
goog.exportSymbol('proto.pulumirpc.engine.AboutRequest', null, global);
|
|
goog.exportSymbol('proto.pulumirpc.engine.AboutResponse', null, global);
|
|
goog.exportSymbol('proto.pulumirpc.engine.AboutStack', null, global);
|
|
goog.exportSymbol('proto.pulumirpc.engine.AboutState', null, global);
|
|
/**
|
|
* Generated by JsPbCodeGenerator.
|
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
* server response, or constructed directly in Javascript. The array is used
|
|
* in place and becomes part of the constructed object. It is not cloned.
|
|
* If no data is provided, the constructed object will be empty, but still
|
|
* valid.
|
|
* @extends {jspb.Message}
|
|
* @constructor
|
|
*/
|
|
proto.pulumirpc.engine.AboutRequest = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.pulumirpc.engine.AboutRequest, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.pulumirpc.engine.AboutRequest.displayName = 'proto.pulumirpc.engine.AboutRequest';
|
|
}
|
|
/**
|
|
* Generated by JsPbCodeGenerator.
|
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
* server response, or constructed directly in Javascript. The array is used
|
|
* in place and becomes part of the constructed object. It is not cloned.
|
|
* If no data is provided, the constructed object will be empty, but still
|
|
* valid.
|
|
* @extends {jspb.Message}
|
|
* @constructor
|
|
*/
|
|
proto.pulumirpc.engine.AboutBackend = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.engine.AboutBackend.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.pulumirpc.engine.AboutBackend, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.pulumirpc.engine.AboutBackend.displayName = 'proto.pulumirpc.engine.AboutBackend';
|
|
}
|
|
/**
|
|
* Generated by JsPbCodeGenerator.
|
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
* server response, or constructed directly in Javascript. The array is used
|
|
* in place and becomes part of the constructed object. It is not cloned.
|
|
* If no data is provided, the constructed object will be empty, but still
|
|
* valid.
|
|
* @extends {jspb.Message}
|
|
* @constructor
|
|
*/
|
|
proto.pulumirpc.engine.AboutState = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
};
|
|
goog.inherits(proto.pulumirpc.engine.AboutState, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.pulumirpc.engine.AboutState.displayName = 'proto.pulumirpc.engine.AboutState';
|
|
}
|
|
/**
|
|
* Generated by JsPbCodeGenerator.
|
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
* server response, or constructed directly in Javascript. The array is used
|
|
* in place and becomes part of the constructed object. It is not cloned.
|
|
* If no data is provided, the constructed object will be empty, but still
|
|
* valid.
|
|
* @extends {jspb.Message}
|
|
* @constructor
|
|
*/
|
|
proto.pulumirpc.engine.AboutStack = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.engine.AboutStack.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.pulumirpc.engine.AboutStack, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.pulumirpc.engine.AboutStack.displayName = 'proto.pulumirpc.engine.AboutStack';
|
|
}
|
|
/**
|
|
* Generated by JsPbCodeGenerator.
|
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
* server response, or constructed directly in Javascript. The array is used
|
|
* in place and becomes part of the constructed object. It is not cloned.
|
|
* If no data is provided, the constructed object will be empty, but still
|
|
* valid.
|
|
* @extends {jspb.Message}
|
|
* @constructor
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse = function(opt_data) {
|
|
jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.engine.AboutResponse.repeatedFields_, null);
|
|
};
|
|
goog.inherits(proto.pulumirpc.engine.AboutResponse, jspb.Message);
|
|
if (goog.DEBUG && !COMPILED) {
|
|
/**
|
|
* @public
|
|
* @override
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.displayName = 'proto.pulumirpc.engine.AboutResponse';
|
|
}
|
|
|
|
|
|
|
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
/**
|
|
* Creates an object representation of this proto.
|
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
* Optional fields that are not set will be set to undefined.
|
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
* For the list of reserved names please see:
|
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
* JSPB instance for transitional soy proto support:
|
|
* http://goto/soy-param-migration
|
|
* @return {!Object}
|
|
*/
|
|
proto.pulumirpc.engine.AboutRequest.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.pulumirpc.engine.AboutRequest.toObject(opt_includeInstance, this);
|
|
};
|
|
|
|
|
|
/**
|
|
* Static version of the {@see toObject} method.
|
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
* the JSPB instance for transitional soy proto support:
|
|
* http://goto/soy-param-migration
|
|
* @param {!proto.pulumirpc.engine.AboutRequest} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.pulumirpc.engine.AboutRequest.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
stack: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
transitivedependencies: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
};
|
|
|
|
if (includeInstance) {
|
|
obj.$jspbMessageInstance = msg;
|
|
}
|
|
return obj;
|
|
};
|
|
}
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format).
|
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
* @return {!proto.pulumirpc.engine.AboutRequest}
|
|
*/
|
|
proto.pulumirpc.engine.AboutRequest.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.pulumirpc.engine.AboutRequest;
|
|
return proto.pulumirpc.engine.AboutRequest.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.pulumirpc.engine.AboutRequest} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.pulumirpc.engine.AboutRequest}
|
|
*/
|
|
proto.pulumirpc.engine.AboutRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setStack(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
msg.setTransitivedependencies(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.pulumirpc.engine.AboutRequest.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.pulumirpc.engine.AboutRequest.serializeBinaryToWriter(this, writer);
|
|
return writer.getResultBuffer();
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the given message to binary data (in protobuf wire
|
|
* format), writing to the given BinaryWriter.
|
|
* @param {!proto.pulumirpc.engine.AboutRequest} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.pulumirpc.engine.AboutRequest.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getStack();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getTransitivedependencies();
|
|
if (f) {
|
|
writer.writeBool(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string stack = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.pulumirpc.engine.AboutRequest.prototype.getStack = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.pulumirpc.engine.AboutRequest} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutRequest.prototype.setStack = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional bool transitiveDependencies = 2;
|
|
* @return {boolean}
|
|
*/
|
|
proto.pulumirpc.engine.AboutRequest.prototype.getTransitivedependencies = function() {
|
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {boolean} value
|
|
* @return {!proto.pulumirpc.engine.AboutRequest} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutRequest.prototype.setTransitivedependencies = function(value) {
|
|
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.pulumirpc.engine.AboutBackend.repeatedFields_ = [4];
|
|
|
|
|
|
|
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
/**
|
|
* Creates an object representation of this proto.
|
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
* Optional fields that are not set will be set to undefined.
|
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
* For the list of reserved names please see:
|
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
* JSPB instance for transitional soy proto support:
|
|
* http://goto/soy-param-migration
|
|
* @return {!Object}
|
|
*/
|
|
proto.pulumirpc.engine.AboutBackend.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.pulumirpc.engine.AboutBackend.toObject(opt_includeInstance, this);
|
|
};
|
|
|
|
|
|
/**
|
|
* Static version of the {@see toObject} method.
|
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
* the JSPB instance for transitional soy proto support:
|
|
* http://goto/soy-param-migration
|
|
* @param {!proto.pulumirpc.engine.AboutBackend} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.pulumirpc.engine.AboutBackend.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
url: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
user: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
organizationsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
|
};
|
|
|
|
if (includeInstance) {
|
|
obj.$jspbMessageInstance = msg;
|
|
}
|
|
return obj;
|
|
};
|
|
}
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format).
|
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
* @return {!proto.pulumirpc.engine.AboutBackend}
|
|
*/
|
|
proto.pulumirpc.engine.AboutBackend.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.pulumirpc.engine.AboutBackend;
|
|
return proto.pulumirpc.engine.AboutBackend.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.pulumirpc.engine.AboutBackend} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.pulumirpc.engine.AboutBackend}
|
|
*/
|
|
proto.pulumirpc.engine.AboutBackend.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setName(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUrl(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUser(value);
|
|
break;
|
|
case 4:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addOrganizations(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.pulumirpc.engine.AboutBackend.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.pulumirpc.engine.AboutBackend.serializeBinaryToWriter(this, writer);
|
|
return writer.getResultBuffer();
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the given message to binary data (in protobuf wire
|
|
* format), writing to the given BinaryWriter.
|
|
* @param {!proto.pulumirpc.engine.AboutBackend} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.pulumirpc.engine.AboutBackend.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUrl();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUser();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getOrganizationsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
4,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string name = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.pulumirpc.engine.AboutBackend.prototype.getName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.pulumirpc.engine.AboutBackend} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutBackend.prototype.setName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string url = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.pulumirpc.engine.AboutBackend.prototype.getUrl = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.pulumirpc.engine.AboutBackend} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutBackend.prototype.setUrl = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string user = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.pulumirpc.engine.AboutBackend.prototype.getUser = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.pulumirpc.engine.AboutBackend} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutBackend.prototype.setUser = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string organizations = 4;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.pulumirpc.engine.AboutBackend.prototype.getOrganizationsList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.pulumirpc.engine.AboutBackend} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutBackend.prototype.setOrganizationsList = function(value) {
|
|
return jspb.Message.setField(this, 4, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.pulumirpc.engine.AboutBackend} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutBackend.prototype.addOrganizations = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.pulumirpc.engine.AboutBackend} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutBackend.prototype.clearOrganizationsList = function() {
|
|
return this.setOrganizationsList([]);
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
/**
|
|
* Creates an object representation of this proto.
|
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
* Optional fields that are not set will be set to undefined.
|
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
* For the list of reserved names please see:
|
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
* JSPB instance for transitional soy proto support:
|
|
* http://goto/soy-param-migration
|
|
* @return {!Object}
|
|
*/
|
|
proto.pulumirpc.engine.AboutState.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.pulumirpc.engine.AboutState.toObject(opt_includeInstance, this);
|
|
};
|
|
|
|
|
|
/**
|
|
* Static version of the {@see toObject} method.
|
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
* the JSPB instance for transitional soy proto support:
|
|
* http://goto/soy-param-migration
|
|
* @param {!proto.pulumirpc.engine.AboutState} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.pulumirpc.engine.AboutState.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
type: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
urn: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
};
|
|
|
|
if (includeInstance) {
|
|
obj.$jspbMessageInstance = msg;
|
|
}
|
|
return obj;
|
|
};
|
|
}
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format).
|
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
* @return {!proto.pulumirpc.engine.AboutState}
|
|
*/
|
|
proto.pulumirpc.engine.AboutState.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.pulumirpc.engine.AboutState;
|
|
return proto.pulumirpc.engine.AboutState.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.pulumirpc.engine.AboutState} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.pulumirpc.engine.AboutState}
|
|
*/
|
|
proto.pulumirpc.engine.AboutState.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setType(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setUrn(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.pulumirpc.engine.AboutState.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.pulumirpc.engine.AboutState.serializeBinaryToWriter(this, writer);
|
|
return writer.getResultBuffer();
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the given message to binary data (in protobuf wire
|
|
* format), writing to the given BinaryWriter.
|
|
* @param {!proto.pulumirpc.engine.AboutState} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.pulumirpc.engine.AboutState.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getType();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getUrn();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string type = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.pulumirpc.engine.AboutState.prototype.getType = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.pulumirpc.engine.AboutState} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutState.prototype.setType = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string urn = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.pulumirpc.engine.AboutState.prototype.getUrn = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.pulumirpc.engine.AboutState} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutState.prototype.setUrn = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.pulumirpc.engine.AboutStack.repeatedFields_ = [2,3];
|
|
|
|
|
|
|
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
/**
|
|
* Creates an object representation of this proto.
|
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
* Optional fields that are not set will be set to undefined.
|
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
* For the list of reserved names please see:
|
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
* JSPB instance for transitional soy proto support:
|
|
* http://goto/soy-param-migration
|
|
* @return {!Object}
|
|
*/
|
|
proto.pulumirpc.engine.AboutStack.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.pulumirpc.engine.AboutStack.toObject(opt_includeInstance, this);
|
|
};
|
|
|
|
|
|
/**
|
|
* Static version of the {@see toObject} method.
|
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
* the JSPB instance for transitional soy proto support:
|
|
* http://goto/soy-param-migration
|
|
* @param {!proto.pulumirpc.engine.AboutStack} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.pulumirpc.engine.AboutStack.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
resourcesList: jspb.Message.toObjectList(msg.getResourcesList(),
|
|
proto.pulumirpc.engine.AboutState.toObject, includeInstance),
|
|
pendingoperationsList: jspb.Message.toObjectList(msg.getPendingoperationsList(),
|
|
proto.pulumirpc.engine.AboutState.toObject, includeInstance)
|
|
};
|
|
|
|
if (includeInstance) {
|
|
obj.$jspbMessageInstance = msg;
|
|
}
|
|
return obj;
|
|
};
|
|
}
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format).
|
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
* @return {!proto.pulumirpc.engine.AboutStack}
|
|
*/
|
|
proto.pulumirpc.engine.AboutStack.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.pulumirpc.engine.AboutStack;
|
|
return proto.pulumirpc.engine.AboutStack.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.pulumirpc.engine.AboutStack} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.pulumirpc.engine.AboutStack}
|
|
*/
|
|
proto.pulumirpc.engine.AboutStack.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setName(value);
|
|
break;
|
|
case 2:
|
|
var value = new proto.pulumirpc.engine.AboutState;
|
|
reader.readMessage(value,proto.pulumirpc.engine.AboutState.deserializeBinaryFromReader);
|
|
msg.addResources(value);
|
|
break;
|
|
case 3:
|
|
var value = new proto.pulumirpc.engine.AboutState;
|
|
reader.readMessage(value,proto.pulumirpc.engine.AboutState.deserializeBinaryFromReader);
|
|
msg.addPendingoperations(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.pulumirpc.engine.AboutStack.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.pulumirpc.engine.AboutStack.serializeBinaryToWriter(this, writer);
|
|
return writer.getResultBuffer();
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the given message to binary data (in protobuf wire
|
|
* format), writing to the given BinaryWriter.
|
|
* @param {!proto.pulumirpc.engine.AboutStack} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.pulumirpc.engine.AboutStack.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getName();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getResourcesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
2,
|
|
f,
|
|
proto.pulumirpc.engine.AboutState.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getPendingoperationsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
3,
|
|
f,
|
|
proto.pulumirpc.engine.AboutState.serializeBinaryToWriter
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string name = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.pulumirpc.engine.AboutStack.prototype.getName = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.pulumirpc.engine.AboutStack} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutStack.prototype.setName = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated AboutState resources = 2;
|
|
* @return {!Array<!proto.pulumirpc.engine.AboutState>}
|
|
*/
|
|
proto.pulumirpc.engine.AboutStack.prototype.getResourcesList = function() {
|
|
return /** @type{!Array<!proto.pulumirpc.engine.AboutState>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.pulumirpc.engine.AboutState, 2));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.pulumirpc.engine.AboutState>} value
|
|
* @return {!proto.pulumirpc.engine.AboutStack} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutStack.prototype.setResourcesList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.pulumirpc.engine.AboutState=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.pulumirpc.engine.AboutState}
|
|
*/
|
|
proto.pulumirpc.engine.AboutStack.prototype.addResources = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.pulumirpc.engine.AboutState, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.pulumirpc.engine.AboutStack} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutStack.prototype.clearResourcesList = function() {
|
|
return this.setResourcesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated AboutState pendingOperations = 3;
|
|
* @return {!Array<!proto.pulumirpc.engine.AboutState>}
|
|
*/
|
|
proto.pulumirpc.engine.AboutStack.prototype.getPendingoperationsList = function() {
|
|
return /** @type{!Array<!proto.pulumirpc.engine.AboutState>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, proto.pulumirpc.engine.AboutState, 3));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.pulumirpc.engine.AboutState>} value
|
|
* @return {!proto.pulumirpc.engine.AboutStack} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutStack.prototype.setPendingoperationsList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.pulumirpc.engine.AboutState=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.pulumirpc.engine.AboutState}
|
|
*/
|
|
proto.pulumirpc.engine.AboutStack.prototype.addPendingoperations = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.pulumirpc.engine.AboutState, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.pulumirpc.engine.AboutStack} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutStack.prototype.clearPendingoperationsList = function() {
|
|
return this.setPendingoperationsList([]);
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
* List of repeated fields within this message type.
|
|
* @private {!Array<number>}
|
|
* @const
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.repeatedFields_ = [4,7,10];
|
|
|
|
|
|
|
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
/**
|
|
* Creates an object representation of this proto.
|
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
* Optional fields that are not set will be set to undefined.
|
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
* For the list of reserved names please see:
|
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
* JSPB instance for transitional soy proto support:
|
|
* http://goto/soy-param-migration
|
|
* @return {!Object}
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.toObject = function(opt_includeInstance) {
|
|
return proto.pulumirpc.engine.AboutResponse.toObject(opt_includeInstance, this);
|
|
};
|
|
|
|
|
|
/**
|
|
* Static version of the {@see toObject} method.
|
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
* the JSPB instance for transitional soy proto support:
|
|
* http://goto/soy-param-migration
|
|
* @param {!proto.pulumirpc.engine.AboutResponse} msg The msg instance to transform.
|
|
* @return {!Object}
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.toObject = function(includeInstance, msg) {
|
|
var f, obj = {
|
|
version: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
goversion: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
gocompiler: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
pluginsList: jspb.Message.toObjectList(msg.getPluginsList(),
|
|
pulumi_plugin_pb.PluginDependency.toObject, includeInstance),
|
|
runtime: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
language: (f = msg.getLanguage()) && pulumi_language_pb.AboutResponse.toObject(includeInstance, f),
|
|
dependenciesList: jspb.Message.toObjectList(msg.getDependenciesList(),
|
|
pulumi_language_pb.DependencyInfo.toObject, includeInstance),
|
|
backend: (f = msg.getBackend()) && proto.pulumirpc.engine.AboutBackend.toObject(includeInstance, f),
|
|
stack: (f = msg.getStack()) && proto.pulumirpc.engine.AboutStack.toObject(includeInstance, f),
|
|
errorsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f
|
|
};
|
|
|
|
if (includeInstance) {
|
|
obj.$jspbMessageInstance = msg;
|
|
}
|
|
return obj;
|
|
};
|
|
}
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format).
|
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
* @return {!proto.pulumirpc.engine.AboutResponse}
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.deserializeBinary = function(bytes) {
|
|
var reader = new jspb.BinaryReader(bytes);
|
|
var msg = new proto.pulumirpc.engine.AboutResponse;
|
|
return proto.pulumirpc.engine.AboutResponse.deserializeBinaryFromReader(msg, reader);
|
|
};
|
|
|
|
|
|
/**
|
|
* Deserializes binary data (in protobuf wire format) from the
|
|
* given reader into the given message object.
|
|
* @param {!proto.pulumirpc.engine.AboutResponse} msg The message object to deserialize into.
|
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
* @return {!proto.pulumirpc.engine.AboutResponse}
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
while (reader.nextField()) {
|
|
if (reader.isEndGroup()) {
|
|
break;
|
|
}
|
|
var field = reader.getFieldNumber();
|
|
switch (field) {
|
|
case 1:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setVersion(value);
|
|
break;
|
|
case 2:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setGoversion(value);
|
|
break;
|
|
case 3:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setGocompiler(value);
|
|
break;
|
|
case 4:
|
|
var value = new pulumi_plugin_pb.PluginDependency;
|
|
reader.readMessage(value,pulumi_plugin_pb.PluginDependency.deserializeBinaryFromReader);
|
|
msg.addPlugins(value);
|
|
break;
|
|
case 5:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.setRuntime(value);
|
|
break;
|
|
case 6:
|
|
var value = new pulumi_language_pb.AboutResponse;
|
|
reader.readMessage(value,pulumi_language_pb.AboutResponse.deserializeBinaryFromReader);
|
|
msg.setLanguage(value);
|
|
break;
|
|
case 7:
|
|
var value = new pulumi_language_pb.DependencyInfo;
|
|
reader.readMessage(value,pulumi_language_pb.DependencyInfo.deserializeBinaryFromReader);
|
|
msg.addDependencies(value);
|
|
break;
|
|
case 8:
|
|
var value = new proto.pulumirpc.engine.AboutBackend;
|
|
reader.readMessage(value,proto.pulumirpc.engine.AboutBackend.deserializeBinaryFromReader);
|
|
msg.setBackend(value);
|
|
break;
|
|
case 9:
|
|
var value = new proto.pulumirpc.engine.AboutStack;
|
|
reader.readMessage(value,proto.pulumirpc.engine.AboutStack.deserializeBinaryFromReader);
|
|
msg.setStack(value);
|
|
break;
|
|
case 10:
|
|
var value = /** @type {string} */ (reader.readString());
|
|
msg.addErrors(value);
|
|
break;
|
|
default:
|
|
reader.skipField();
|
|
break;
|
|
}
|
|
}
|
|
return msg;
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the message to binary data (in protobuf wire format).
|
|
* @return {!Uint8Array}
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.serializeBinary = function() {
|
|
var writer = new jspb.BinaryWriter();
|
|
proto.pulumirpc.engine.AboutResponse.serializeBinaryToWriter(this, writer);
|
|
return writer.getResultBuffer();
|
|
};
|
|
|
|
|
|
/**
|
|
* Serializes the given message to binary data (in protobuf wire
|
|
* format), writing to the given BinaryWriter.
|
|
* @param {!proto.pulumirpc.engine.AboutResponse} message
|
|
* @param {!jspb.BinaryWriter} writer
|
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.serializeBinaryToWriter = function(message, writer) {
|
|
var f = undefined;
|
|
f = message.getVersion();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
1,
|
|
f
|
|
);
|
|
}
|
|
f = message.getGoversion();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
2,
|
|
f
|
|
);
|
|
}
|
|
f = message.getGocompiler();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
3,
|
|
f
|
|
);
|
|
}
|
|
f = message.getPluginsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
4,
|
|
f,
|
|
pulumi_plugin_pb.PluginDependency.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getRuntime();
|
|
if (f.length > 0) {
|
|
writer.writeString(
|
|
5,
|
|
f
|
|
);
|
|
}
|
|
f = message.getLanguage();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
6,
|
|
f,
|
|
pulumi_language_pb.AboutResponse.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getDependenciesList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedMessage(
|
|
7,
|
|
f,
|
|
pulumi_language_pb.DependencyInfo.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getBackend();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
8,
|
|
f,
|
|
proto.pulumirpc.engine.AboutBackend.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getStack();
|
|
if (f != null) {
|
|
writer.writeMessage(
|
|
9,
|
|
f,
|
|
proto.pulumirpc.engine.AboutStack.serializeBinaryToWriter
|
|
);
|
|
}
|
|
f = message.getErrorsList();
|
|
if (f.length > 0) {
|
|
writer.writeRepeatedString(
|
|
10,
|
|
f
|
|
);
|
|
}
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string version = 1;
|
|
* @return {string}
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.getVersion = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.pulumirpc.engine.AboutResponse} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.setVersion = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string goVersion = 2;
|
|
* @return {string}
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.getGoversion = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.pulumirpc.engine.AboutResponse} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.setGoversion = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string goCompiler = 3;
|
|
* @return {string}
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.getGocompiler = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.pulumirpc.engine.AboutResponse} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.setGocompiler = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated pulumirpc.PluginDependency plugins = 4;
|
|
* @return {!Array<!proto.pulumirpc.PluginDependency>}
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.getPluginsList = function() {
|
|
return /** @type{!Array<!proto.pulumirpc.PluginDependency>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, pulumi_plugin_pb.PluginDependency, 4));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.pulumirpc.PluginDependency>} value
|
|
* @return {!proto.pulumirpc.engine.AboutResponse} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.setPluginsList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.pulumirpc.PluginDependency=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.pulumirpc.PluginDependency}
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.addPlugins = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.pulumirpc.PluginDependency, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.pulumirpc.engine.AboutResponse} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.clearPluginsList = function() {
|
|
return this.setPluginsList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional string runtime = 5;
|
|
* @return {string}
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.getRuntime = function() {
|
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @return {!proto.pulumirpc.engine.AboutResponse} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.setRuntime = function(value) {
|
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional pulumirpc.AboutResponse language = 6;
|
|
* @return {?proto.pulumirpc.AboutResponse}
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.getLanguage = function() {
|
|
return /** @type{?proto.pulumirpc.AboutResponse} */ (
|
|
jspb.Message.getWrapperField(this, pulumi_language_pb.AboutResponse, 6));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.pulumirpc.AboutResponse|undefined} value
|
|
* @return {!proto.pulumirpc.engine.AboutResponse} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.setLanguage = function(value) {
|
|
return jspb.Message.setWrapperField(this, 6, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.pulumirpc.engine.AboutResponse} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.clearLanguage = function() {
|
|
return this.setLanguage(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.hasLanguage = function() {
|
|
return jspb.Message.getField(this, 6) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated pulumirpc.DependencyInfo dependencies = 7;
|
|
* @return {!Array<!proto.pulumirpc.DependencyInfo>}
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.getDependenciesList = function() {
|
|
return /** @type{!Array<!proto.pulumirpc.DependencyInfo>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, pulumi_language_pb.DependencyInfo, 7));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<!proto.pulumirpc.DependencyInfo>} value
|
|
* @return {!proto.pulumirpc.engine.AboutResponse} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.setDependenciesList = function(value) {
|
|
return jspb.Message.setRepeatedWrapperField(this, 7, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!proto.pulumirpc.DependencyInfo=} opt_value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.pulumirpc.DependencyInfo}
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.addDependencies = function(opt_value, opt_index) {
|
|
return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.pulumirpc.DependencyInfo, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.pulumirpc.engine.AboutResponse} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.clearDependenciesList = function() {
|
|
return this.setDependenciesList([]);
|
|
};
|
|
|
|
|
|
/**
|
|
* optional AboutBackend backend = 8;
|
|
* @return {?proto.pulumirpc.engine.AboutBackend}
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.getBackend = function() {
|
|
return /** @type{?proto.pulumirpc.engine.AboutBackend} */ (
|
|
jspb.Message.getWrapperField(this, proto.pulumirpc.engine.AboutBackend, 8));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.pulumirpc.engine.AboutBackend|undefined} value
|
|
* @return {!proto.pulumirpc.engine.AboutResponse} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.setBackend = function(value) {
|
|
return jspb.Message.setWrapperField(this, 8, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.pulumirpc.engine.AboutResponse} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.clearBackend = function() {
|
|
return this.setBackend(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.hasBackend = function() {
|
|
return jspb.Message.getField(this, 8) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* optional AboutStack stack = 9;
|
|
* @return {?proto.pulumirpc.engine.AboutStack}
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.getStack = function() {
|
|
return /** @type{?proto.pulumirpc.engine.AboutStack} */ (
|
|
jspb.Message.getWrapperField(this, proto.pulumirpc.engine.AboutStack, 9));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {?proto.pulumirpc.engine.AboutStack|undefined} value
|
|
* @return {!proto.pulumirpc.engine.AboutResponse} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.setStack = function(value) {
|
|
return jspb.Message.setWrapperField(this, 9, value);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the message field making it undefined.
|
|
* @return {!proto.pulumirpc.engine.AboutResponse} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.clearStack = function() {
|
|
return this.setStack(undefined);
|
|
};
|
|
|
|
|
|
/**
|
|
* Returns whether this field is set.
|
|
* @return {boolean}
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.hasStack = function() {
|
|
return jspb.Message.getField(this, 9) != null;
|
|
};
|
|
|
|
|
|
/**
|
|
* repeated string errors = 10;
|
|
* @return {!Array<string>}
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.getErrorsList = function() {
|
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {!Array<string>} value
|
|
* @return {!proto.pulumirpc.engine.AboutResponse} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.setErrorsList = function(value) {
|
|
return jspb.Message.setField(this, 10, value || []);
|
|
};
|
|
|
|
|
|
/**
|
|
* @param {string} value
|
|
* @param {number=} opt_index
|
|
* @return {!proto.pulumirpc.engine.AboutResponse} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.addErrors = function(value, opt_index) {
|
|
return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
|
|
};
|
|
|
|
|
|
/**
|
|
* Clears the list making it empty but non-null.
|
|
* @return {!proto.pulumirpc.engine.AboutResponse} returns this
|
|
*/
|
|
proto.pulumirpc.engine.AboutResponse.prototype.clearErrorsList = function() {
|
|
return this.setErrorsList([]);
|
|
};
|
|
|
|
|
|
goog.object.extend(exports, proto.pulumirpc.engine);
|