Regenerate protocol buffers code

This commit is contained in:
James Nugent 2020-02-28 11:53:47 +00:00
parent 652bc7ab75
commit a1b55192dd
31 changed files with 4527 additions and 3181 deletions

View file

@ -95,8 +95,8 @@ function deserialize_pulumirpc_PluginInfo(buffer_arg) {
// issues -- style, policy, correctness, security, and so on.
var AnalyzerService = exports.AnalyzerService = {
// Analyze analyzes a single resource object, and returns any errors that it finds.
// Called with the "inputs" to the resource, before it is updated.
analyze: {
// Called with the "inputs" to the resource, before it is updated.
analyze: {
path: '/pulumirpc.Analyzer/Analyze',
requestStream: false,
responseStream: false,
@ -108,9 +108,9 @@ var AnalyzerService = exports.AnalyzerService = {
responseDeserialize: deserialize_pulumirpc_AnalyzeResponse,
},
// AnalyzeStack analyzes all resources within a stack, at the end of a successful
// preview or update. The provided resources are the "outputs", after any mutations
// have taken place.
analyzeStack: {
// preview or update. The provided resources are the "outputs", after any mutations
// have taken place.
analyzeStack: {
path: '/pulumirpc.Analyzer/AnalyzeStack',
requestStream: false,
responseStream: false,
@ -122,7 +122,7 @@ var AnalyzerService = exports.AnalyzerService = {
responseDeserialize: deserialize_pulumirpc_AnalyzeResponse,
},
// GetAnalyzerInfo returns metadata about the analyzer (e.g., list of policies contained).
getAnalyzerInfo: {
getAnalyzerInfo: {
path: '/pulumirpc.Analyzer/GetAnalyzerInfo',
requestStream: false,
responseStream: false,
@ -134,7 +134,7 @@ var AnalyzerService = exports.AnalyzerService = {
responseDeserialize: deserialize_pulumirpc_AnalyzerInfo,
},
// GetPluginInfo returns generic information about this plugin, like its version.
getPluginInfo: {
getPluginInfo: {
path: '/pulumirpc.Analyzer/GetPluginInfo',
requestStream: false,
responseStream: false,

File diff suppressed because it is too large Load diff

View file

@ -92,7 +92,7 @@ function deserialize_pulumirpc_SetRootResourceResponse(buffer_arg) {
// that can't store their own global state.
var EngineService = exports.EngineService = {
// Log logs a global message in the engine, including errors and warnings.
log: {
log: {
path: '/pulumirpc.Engine/Log',
requestStream: false,
responseStream: false,
@ -104,8 +104,8 @@ var EngineService = exports.EngineService = {
responseDeserialize: deserialize_google_protobuf_Empty,
},
// GetRootResource gets the URN of the root resource, the resource that should be the root of all
// otherwise-unparented resources.
getRootResource: {
// otherwise-unparented resources.
getRootResource: {
path: '/pulumirpc.Engine/GetRootResource',
requestStream: false,
responseStream: false,
@ -117,7 +117,7 @@ var EngineService = exports.EngineService = {
responseDeserialize: deserialize_pulumirpc_GetRootResourceResponse,
},
// SetRootResource sets the URN of the root resource.
setRootResource: {
setRootResource: {
path: '/pulumirpc.Engine/SetRootResource',
requestStream: false,
responseStream: false,

View file

@ -1,3 +1,4 @@
// source: engine.proto
/**
* @fileoverview
* @enhanceable
@ -12,13 +13,13 @@ var goog = jspb;
var proto = { pulumirpc: {} }, global = proto;
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
goog.object.extend(proto, google_protobuf_empty_pb);
goog.exportSymbol('proto.pulumirpc.GetRootResourceRequest', null, global);
goog.exportSymbol('proto.pulumirpc.GetRootResourceResponse', null, global);
goog.exportSymbol('proto.pulumirpc.LogRequest', null, global);
goog.exportSymbol('proto.pulumirpc.LogSeverity', null, global);
goog.exportSymbol('proto.pulumirpc.SetRootResourceRequest', null, global);
goog.exportSymbol('proto.pulumirpc.SetRootResourceResponse', null, global);
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
@ -34,19 +35,110 @@ proto.pulumirpc.LogRequest = function(opt_data) {
};
goog.inherits(proto.pulumirpc.LogRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.pulumirpc.LogRequest.displayName = 'proto.pulumirpc.LogRequest';
}
/**
* 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.GetRootResourceRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.pulumirpc.GetRootResourceRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.pulumirpc.GetRootResourceRequest.displayName = 'proto.pulumirpc.GetRootResourceRequest';
}
/**
* 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.GetRootResourceResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.pulumirpc.GetRootResourceResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.pulumirpc.GetRootResourceResponse.displayName = 'proto.pulumirpc.GetRootResourceResponse';
}
/**
* 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.SetRootResourceRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.pulumirpc.SetRootResourceRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.pulumirpc.SetRootResourceRequest.displayName = 'proto.pulumirpc.SetRootResourceRequest';
}
/**
* 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.SetRootResourceResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.pulumirpc.SetRootResourceResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.pulumirpc.SetRootResourceResponse.displayName = 'proto.pulumirpc.SetRootResourceResponse';
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* 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:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* 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.LogRequest.prototype.toObject = function(opt_includeInstance) {
@ -56,8 +148,8 @@ proto.pulumirpc.LogRequest.prototype.toObject = function(opt_includeInstance) {
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.pulumirpc.LogRequest} msg The msg instance to transform.
* @return {!Object}
@ -69,7 +161,7 @@ proto.pulumirpc.LogRequest.toObject = function(includeInstance, msg) {
message: jspb.Message.getFieldWithDefault(msg, 2, ""),
urn: jspb.Message.getFieldWithDefault(msg, 3, ""),
streamid: jspb.Message.getFieldWithDefault(msg, 4, 0),
ephemeral: jspb.Message.getFieldWithDefault(msg, 5, false)
ephemeral: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
};
if (includeInstance) {
@ -202,9 +294,12 @@ proto.pulumirpc.LogRequest.prototype.getSeverity = function() {
};
/** @param {!proto.pulumirpc.LogSeverity} value */
/**
* @param {!proto.pulumirpc.LogSeverity} value
* @return {!proto.pulumirpc.LogRequest} returns this
*/
proto.pulumirpc.LogRequest.prototype.setSeverity = function(value) {
jspb.Message.setProto3EnumField(this, 1, value);
return jspb.Message.setProto3EnumField(this, 1, value);
};
@ -217,9 +312,12 @@ proto.pulumirpc.LogRequest.prototype.getMessage = function() {
};
/** @param {string} value */
/**
* @param {string} value
* @return {!proto.pulumirpc.LogRequest} returns this
*/
proto.pulumirpc.LogRequest.prototype.setMessage = function(value) {
jspb.Message.setProto3StringField(this, 2, value);
return jspb.Message.setProto3StringField(this, 2, value);
};
@ -232,9 +330,12 @@ proto.pulumirpc.LogRequest.prototype.getUrn = function() {
};
/** @param {string} value */
/**
* @param {string} value
* @return {!proto.pulumirpc.LogRequest} returns this
*/
proto.pulumirpc.LogRequest.prototype.setUrn = function(value) {
jspb.Message.setProto3StringField(this, 3, value);
return jspb.Message.setProto3StringField(this, 3, value);
};
@ -247,58 +348,47 @@ proto.pulumirpc.LogRequest.prototype.getStreamid = function() {
};
/** @param {number} value */
/**
* @param {number} value
* @return {!proto.pulumirpc.LogRequest} returns this
*/
proto.pulumirpc.LogRequest.prototype.setStreamid = function(value) {
jspb.Message.setProto3IntField(this, 4, value);
return jspb.Message.setProto3IntField(this, 4, value);
};
/**
* optional bool ephemeral = 5;
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
* You should avoid comparisons like {@code val === true/false} in those cases.
* @return {boolean}
*/
proto.pulumirpc.LogRequest.prototype.getEphemeral = function() {
return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 5, false));
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
};
/** @param {boolean} value */
proto.pulumirpc.LogRequest.prototype.setEphemeral = function(value) {
jspb.Message.setProto3BooleanField(this, 5, value);
};
/**
* 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
* @param {boolean} value
* @return {!proto.pulumirpc.LogRequest} returns this
*/
proto.pulumirpc.GetRootResourceRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
proto.pulumirpc.LogRequest.prototype.setEphemeral = function(value) {
return jspb.Message.setProto3BooleanField(this, 5, value);
};
goog.inherits(proto.pulumirpc.GetRootResourceRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.pulumirpc.GetRootResourceRequest.displayName = 'proto.pulumirpc.GetRootResourceRequest';
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* 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:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* 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.GetRootResourceRequest.prototype.toObject = function(opt_includeInstance) {
@ -308,8 +398,8 @@ proto.pulumirpc.GetRootResourceRequest.prototype.toObject = function(opt_include
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.pulumirpc.GetRootResourceRequest} msg The msg instance to transform.
* @return {!Object}
@ -387,34 +477,19 @@ proto.pulumirpc.GetRootResourceRequest.serializeBinaryToWriter = function(messag
/**
* 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.GetRootResourceResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.pulumirpc.GetRootResourceResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.pulumirpc.GetRootResourceResponse.displayName = 'proto.pulumirpc.GetRootResourceResponse';
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* 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:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* 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.GetRootResourceResponse.prototype.toObject = function(opt_includeInstance) {
@ -424,8 +499,8 @@ proto.pulumirpc.GetRootResourceResponse.prototype.toObject = function(opt_includ
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.pulumirpc.GetRootResourceResponse} msg The msg instance to transform.
* @return {!Object}
@ -522,41 +597,29 @@ proto.pulumirpc.GetRootResourceResponse.prototype.getUrn = function() {
};
/** @param {string} value */
proto.pulumirpc.GetRootResourceResponse.prototype.setUrn = function(value) {
jspb.Message.setProto3StringField(this, 1, value);
};
/**
* 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
* @param {string} value
* @return {!proto.pulumirpc.GetRootResourceResponse} returns this
*/
proto.pulumirpc.SetRootResourceRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
proto.pulumirpc.GetRootResourceResponse.prototype.setUrn = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
goog.inherits(proto.pulumirpc.SetRootResourceRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.pulumirpc.SetRootResourceRequest.displayName = 'proto.pulumirpc.SetRootResourceRequest';
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* 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:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* 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.SetRootResourceRequest.prototype.toObject = function(opt_includeInstance) {
@ -566,8 +629,8 @@ proto.pulumirpc.SetRootResourceRequest.prototype.toObject = function(opt_include
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.pulumirpc.SetRootResourceRequest} msg The msg instance to transform.
* @return {!Object}
@ -664,41 +727,29 @@ proto.pulumirpc.SetRootResourceRequest.prototype.getUrn = function() {
};
/** @param {string} value */
proto.pulumirpc.SetRootResourceRequest.prototype.setUrn = function(value) {
jspb.Message.setProto3StringField(this, 1, value);
};
/**
* 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
* @param {string} value
* @return {!proto.pulumirpc.SetRootResourceRequest} returns this
*/
proto.pulumirpc.SetRootResourceResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
proto.pulumirpc.SetRootResourceRequest.prototype.setUrn = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
goog.inherits(proto.pulumirpc.SetRootResourceResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.pulumirpc.SetRootResourceResponse.displayName = 'proto.pulumirpc.SetRootResourceResponse';
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* 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:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* 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.SetRootResourceResponse.prototype.toObject = function(opt_includeInstance) {
@ -708,8 +759,8 @@ proto.pulumirpc.SetRootResourceResponse.prototype.toObject = function(opt_includ
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.pulumirpc.SetRootResourceResponse} msg The msg instance to transform.
* @return {!Object}

View file

@ -0,0 +1 @@
// GENERATED CODE -- NO SERVICES IN PROTO

View file

@ -1,3 +1,4 @@
// source: errors.proto
/**
* @fileoverview
* @enhanceable
@ -12,7 +13,6 @@ var goog = jspb;
var proto = { pulumirpc: {} }, global = proto;
goog.exportSymbol('proto.pulumirpc.ErrorCause', null, global);
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
@ -28,19 +28,26 @@ proto.pulumirpc.ErrorCause = function(opt_data) {
};
goog.inherits(proto.pulumirpc.ErrorCause, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.pulumirpc.ErrorCause.displayName = 'proto.pulumirpc.ErrorCause';
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* 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:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* 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.ErrorCause.prototype.toObject = function(opt_includeInstance) {
@ -50,8 +57,8 @@ proto.pulumirpc.ErrorCause.prototype.toObject = function(opt_includeInstance) {
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.pulumirpc.ErrorCause} msg The msg instance to transform.
* @return {!Object}
@ -160,9 +167,12 @@ proto.pulumirpc.ErrorCause.prototype.getMessage = function() {
};
/** @param {string} value */
/**
* @param {string} value
* @return {!proto.pulumirpc.ErrorCause} returns this
*/
proto.pulumirpc.ErrorCause.prototype.setMessage = function(value) {
jspb.Message.setProto3StringField(this, 1, value);
return jspb.Message.setProto3StringField(this, 1, value);
};
@ -175,9 +185,12 @@ proto.pulumirpc.ErrorCause.prototype.getStacktrace = function() {
};
/** @param {string} value */
/**
* @param {string} value
* @return {!proto.pulumirpc.ErrorCause} returns this
*/
proto.pulumirpc.ErrorCause.prototype.setStacktrace = function(value) {
jspb.Message.setProto3StringField(this, 2, value);
return jspb.Message.setProto3StringField(this, 2, value);
};

View file

@ -92,7 +92,7 @@ function deserialize_pulumirpc_RunResponse(buffer_arg) {
// for confguring and creating resource objects.
var LanguageRuntimeService = exports.LanguageRuntimeService = {
// GetRequiredPlugins computes the complete set of anticipated plugins required by a program.
getRequiredPlugins: {
getRequiredPlugins: {
path: '/pulumirpc.LanguageRuntime/GetRequiredPlugins',
requestStream: false,
responseStream: false,
@ -104,7 +104,7 @@ var LanguageRuntimeService = exports.LanguageRuntimeService = {
responseDeserialize: deserialize_pulumirpc_GetRequiredPluginsResponse,
},
// Run executes a program and returns its result.
run: {
run: {
path: '/pulumirpc.LanguageRuntime/Run',
requestStream: false,
responseStream: false,
@ -116,7 +116,7 @@ var LanguageRuntimeService = exports.LanguageRuntimeService = {
responseDeserialize: deserialize_pulumirpc_RunResponse,
},
// GetPluginInfo returns generic information about this plugin, like its version.
getPluginInfo: {
getPluginInfo: {
path: '/pulumirpc.LanguageRuntime/GetPluginInfo',
requestStream: false,
responseStream: false,

View file

@ -1,3 +1,4 @@
// source: language.proto
/**
* @fileoverview
* @enhanceable
@ -12,12 +13,13 @@ var goog = jspb;
var proto = { pulumirpc: {} }, global = proto;
var plugin_pb = require('./plugin_pb.js');
goog.object.extend(proto, plugin_pb);
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
goog.object.extend(proto, google_protobuf_empty_pb);
goog.exportSymbol('proto.pulumirpc.GetRequiredPluginsRequest', null, global);
goog.exportSymbol('proto.pulumirpc.GetRequiredPluginsResponse', null, global);
goog.exportSymbol('proto.pulumirpc.RunRequest', null, global);
goog.exportSymbol('proto.pulumirpc.RunResponse', null, global);
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
@ -33,19 +35,89 @@ proto.pulumirpc.GetRequiredPluginsRequest = function(opt_data) {
};
goog.inherits(proto.pulumirpc.GetRequiredPluginsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.pulumirpc.GetRequiredPluginsRequest.displayName = 'proto.pulumirpc.GetRequiredPluginsRequest';
}
/**
* 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.GetRequiredPluginsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.GetRequiredPluginsResponse.repeatedFields_, null);
};
goog.inherits(proto.pulumirpc.GetRequiredPluginsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.pulumirpc.GetRequiredPluginsResponse.displayName = 'proto.pulumirpc.GetRequiredPluginsResponse';
}
/**
* 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.RunRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.RunRequest.repeatedFields_, null);
};
goog.inherits(proto.pulumirpc.RunRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.pulumirpc.RunRequest.displayName = 'proto.pulumirpc.RunRequest';
}
/**
* 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.RunResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.pulumirpc.RunResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.pulumirpc.RunResponse.displayName = 'proto.pulumirpc.RunResponse';
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* 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:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* 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.GetRequiredPluginsRequest.prototype.toObject = function(opt_includeInstance) {
@ -55,8 +127,8 @@ proto.pulumirpc.GetRequiredPluginsRequest.prototype.toObject = function(opt_incl
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.pulumirpc.GetRequiredPluginsRequest} msg The msg instance to transform.
* @return {!Object}
@ -177,9 +249,12 @@ proto.pulumirpc.GetRequiredPluginsRequest.prototype.getProject = function() {
};
/** @param {string} value */
/**
* @param {string} value
* @return {!proto.pulumirpc.GetRequiredPluginsRequest} returns this
*/
proto.pulumirpc.GetRequiredPluginsRequest.prototype.setProject = function(value) {
jspb.Message.setProto3StringField(this, 1, value);
return jspb.Message.setProto3StringField(this, 1, value);
};
@ -192,9 +267,12 @@ proto.pulumirpc.GetRequiredPluginsRequest.prototype.getPwd = function() {
};
/** @param {string} value */
/**
* @param {string} value
* @return {!proto.pulumirpc.GetRequiredPluginsRequest} returns this
*/
proto.pulumirpc.GetRequiredPluginsRequest.prototype.setPwd = function(value) {
jspb.Message.setProto3StringField(this, 2, value);
return jspb.Message.setProto3StringField(this, 2, value);
};
@ -207,30 +285,16 @@ proto.pulumirpc.GetRequiredPluginsRequest.prototype.getProgram = function() {
};
/** @param {string} value */
proto.pulumirpc.GetRequiredPluginsRequest.prototype.setProgram = function(value) {
jspb.Message.setProto3StringField(this, 3, value);
};
/**
* 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
* @param {string} value
* @return {!proto.pulumirpc.GetRequiredPluginsRequest} returns this
*/
proto.pulumirpc.GetRequiredPluginsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.GetRequiredPluginsResponse.repeatedFields_, null);
proto.pulumirpc.GetRequiredPluginsRequest.prototype.setProgram = function(value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
goog.inherits(proto.pulumirpc.GetRequiredPluginsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.pulumirpc.GetRequiredPluginsResponse.displayName = 'proto.pulumirpc.GetRequiredPluginsResponse';
}
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
@ -242,13 +306,15 @@ proto.pulumirpc.GetRequiredPluginsResponse.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* 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:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* 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.GetRequiredPluginsResponse.prototype.toObject = function(opt_includeInstance) {
@ -258,8 +324,8 @@ proto.pulumirpc.GetRequiredPluginsResponse.prototype.toObject = function(opt_inc
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.pulumirpc.GetRequiredPluginsResponse} msg The msg instance to transform.
* @return {!Object}
@ -352,17 +418,20 @@ proto.pulumirpc.GetRequiredPluginsResponse.serializeBinaryToWriter = function(me
/**
* repeated PluginDependency plugins = 1;
* @return {!Array.<!proto.pulumirpc.PluginDependency>}
* @return {!Array<!proto.pulumirpc.PluginDependency>}
*/
proto.pulumirpc.GetRequiredPluginsResponse.prototype.getPluginsList = function() {
return /** @type{!Array.<!proto.pulumirpc.PluginDependency>} */ (
return /** @type{!Array<!proto.pulumirpc.PluginDependency>} */ (
jspb.Message.getRepeatedWrapperField(this, plugin_pb.PluginDependency, 1));
};
/** @param {!Array.<!proto.pulumirpc.PluginDependency>} value */
/**
* @param {!Array<!proto.pulumirpc.PluginDependency>} value
* @return {!proto.pulumirpc.GetRequiredPluginsResponse} returns this
*/
proto.pulumirpc.GetRequiredPluginsResponse.prototype.setPluginsList = function(value) {
jspb.Message.setRepeatedWrapperField(this, 1, value);
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
@ -376,29 +445,16 @@ proto.pulumirpc.GetRequiredPluginsResponse.prototype.addPlugins = function(opt_v
};
proto.pulumirpc.GetRequiredPluginsResponse.prototype.clearPluginsList = function() {
this.setPluginsList([]);
};
/**
* 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
* Clears the list making it empty but non-null.
* @return {!proto.pulumirpc.GetRequiredPluginsResponse} returns this
*/
proto.pulumirpc.RunRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.RunRequest.repeatedFields_, null);
proto.pulumirpc.GetRequiredPluginsResponse.prototype.clearPluginsList = function() {
return this.setPluginsList([]);
};
goog.inherits(proto.pulumirpc.RunRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.pulumirpc.RunRequest.displayName = 'proto.pulumirpc.RunRequest';
}
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
@ -410,13 +466,15 @@ proto.pulumirpc.RunRequest.repeatedFields_ = [5];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* 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:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* 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.RunRequest.prototype.toObject = function(opt_includeInstance) {
@ -426,8 +484,8 @@ proto.pulumirpc.RunRequest.prototype.toObject = function(opt_includeInstance) {
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.pulumirpc.RunRequest} msg The msg instance to transform.
* @return {!Object}
@ -439,12 +497,12 @@ proto.pulumirpc.RunRequest.toObject = function(includeInstance, msg) {
stack: jspb.Message.getFieldWithDefault(msg, 2, ""),
pwd: jspb.Message.getFieldWithDefault(msg, 3, ""),
program: jspb.Message.getFieldWithDefault(msg, 4, ""),
argsList: jspb.Message.getRepeatedField(msg, 5),
argsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
configMap: (f = msg.getConfigMap()) ? f.toObject(includeInstance, undefined) : [],
dryrun: jspb.Message.getFieldWithDefault(msg, 7, false),
dryrun: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
parallel: jspb.Message.getFieldWithDefault(msg, 8, 0),
monitorAddress: jspb.Message.getFieldWithDefault(msg, 9, ""),
querymode: jspb.Message.getFieldWithDefault(msg, 10, false)
querymode: jspb.Message.getBooleanFieldWithDefault(msg, 10, false)
};
if (includeInstance) {
@ -504,7 +562,7 @@ proto.pulumirpc.RunRequest.deserializeBinaryFromReader = function(msg, reader) {
case 6:
var value = msg.getConfigMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString);
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
});
break;
case 7:
@ -631,9 +689,12 @@ proto.pulumirpc.RunRequest.prototype.getProject = function() {
};
/** @param {string} value */
/**
* @param {string} value
* @return {!proto.pulumirpc.RunRequest} returns this
*/
proto.pulumirpc.RunRequest.prototype.setProject = function(value) {
jspb.Message.setProto3StringField(this, 1, value);
return jspb.Message.setProto3StringField(this, 1, value);
};
@ -646,9 +707,12 @@ proto.pulumirpc.RunRequest.prototype.getStack = function() {
};
/** @param {string} value */
/**
* @param {string} value
* @return {!proto.pulumirpc.RunRequest} returns this
*/
proto.pulumirpc.RunRequest.prototype.setStack = function(value) {
jspb.Message.setProto3StringField(this, 2, value);
return jspb.Message.setProto3StringField(this, 2, value);
};
@ -661,9 +725,12 @@ proto.pulumirpc.RunRequest.prototype.getPwd = function() {
};
/** @param {string} value */
/**
* @param {string} value
* @return {!proto.pulumirpc.RunRequest} returns this
*/
proto.pulumirpc.RunRequest.prototype.setPwd = function(value) {
jspb.Message.setProto3StringField(this, 3, value);
return jspb.Message.setProto3StringField(this, 3, value);
};
@ -676,38 +743,49 @@ proto.pulumirpc.RunRequest.prototype.getProgram = function() {
};
/** @param {string} value */
/**
* @param {string} value
* @return {!proto.pulumirpc.RunRequest} returns this
*/
proto.pulumirpc.RunRequest.prototype.setProgram = function(value) {
jspb.Message.setProto3StringField(this, 4, value);
return jspb.Message.setProto3StringField(this, 4, value);
};
/**
* repeated string args = 5;
* @return {!Array.<string>}
* @return {!Array<string>}
*/
proto.pulumirpc.RunRequest.prototype.getArgsList = function() {
return /** @type {!Array.<string>} */ (jspb.Message.getRepeatedField(this, 5));
};
/** @param {!Array.<string>} value */
proto.pulumirpc.RunRequest.prototype.setArgsList = function(value) {
jspb.Message.setField(this, 5, value || []);
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
};
/**
* @param {!string} value
* @param {number=} opt_index
* @param {!Array<string>} value
* @return {!proto.pulumirpc.RunRequest} returns this
*/
proto.pulumirpc.RunRequest.prototype.addArgs = function(value, opt_index) {
jspb.Message.addToRepeatedField(this, 5, value, opt_index);
proto.pulumirpc.RunRequest.prototype.setArgsList = function(value) {
return jspb.Message.setField(this, 5, value || []);
};
/**
* @param {string} value
* @param {number=} opt_index
* @return {!proto.pulumirpc.RunRequest} returns this
*/
proto.pulumirpc.RunRequest.prototype.addArgs = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.pulumirpc.RunRequest} returns this
*/
proto.pulumirpc.RunRequest.prototype.clearArgsList = function() {
this.setArgsList([]);
return this.setArgsList([]);
};
@ -724,25 +802,30 @@ proto.pulumirpc.RunRequest.prototype.getConfigMap = function(opt_noLazyCreate) {
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.pulumirpc.RunRequest} returns this
*/
proto.pulumirpc.RunRequest.prototype.clearConfigMap = function() {
this.getConfigMap().clear();
};
return this;};
/**
* optional bool dryRun = 7;
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
* You should avoid comparisons like {@code val === true/false} in those cases.
* @return {boolean}
*/
proto.pulumirpc.RunRequest.prototype.getDryrun = function() {
return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 7, false));
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
};
/** @param {boolean} value */
/**
* @param {boolean} value
* @return {!proto.pulumirpc.RunRequest} returns this
*/
proto.pulumirpc.RunRequest.prototype.setDryrun = function(value) {
jspb.Message.setProto3BooleanField(this, 7, value);
return jspb.Message.setProto3BooleanField(this, 7, value);
};
@ -755,9 +838,12 @@ proto.pulumirpc.RunRequest.prototype.getParallel = function() {
};
/** @param {number} value */
/**
* @param {number} value
* @return {!proto.pulumirpc.RunRequest} returns this
*/
proto.pulumirpc.RunRequest.prototype.setParallel = function(value) {
jspb.Message.setProto3IntField(this, 8, value);
return jspb.Message.setProto3IntField(this, 8, value);
};
@ -770,58 +856,47 @@ proto.pulumirpc.RunRequest.prototype.getMonitorAddress = function() {
};
/** @param {string} value */
/**
* @param {string} value
* @return {!proto.pulumirpc.RunRequest} returns this
*/
proto.pulumirpc.RunRequest.prototype.setMonitorAddress = function(value) {
jspb.Message.setProto3StringField(this, 9, value);
return jspb.Message.setProto3StringField(this, 9, value);
};
/**
* optional bool queryMode = 10;
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
* You should avoid comparisons like {@code val === true/false} in those cases.
* @return {boolean}
*/
proto.pulumirpc.RunRequest.prototype.getQuerymode = function() {
return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 10, false));
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
};
/** @param {boolean} value */
proto.pulumirpc.RunRequest.prototype.setQuerymode = function(value) {
jspb.Message.setProto3BooleanField(this, 10, value);
};
/**
* 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
* @param {boolean} value
* @return {!proto.pulumirpc.RunRequest} returns this
*/
proto.pulumirpc.RunResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
proto.pulumirpc.RunRequest.prototype.setQuerymode = function(value) {
return jspb.Message.setProto3BooleanField(this, 10, value);
};
goog.inherits(proto.pulumirpc.RunResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.pulumirpc.RunResponse.displayName = 'proto.pulumirpc.RunResponse';
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* 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:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* 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.RunResponse.prototype.toObject = function(opt_includeInstance) {
@ -831,8 +906,8 @@ proto.pulumirpc.RunResponse.prototype.toObject = function(opt_includeInstance) {
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.pulumirpc.RunResponse} msg The msg instance to transform.
* @return {!Object}
@ -841,7 +916,7 @@ proto.pulumirpc.RunResponse.prototype.toObject = function(opt_includeInstance) {
proto.pulumirpc.RunResponse.toObject = function(includeInstance, msg) {
var f, obj = {
error: jspb.Message.getFieldWithDefault(msg, 1, ""),
bail: jspb.Message.getFieldWithDefault(msg, 2, false)
bail: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
};
if (includeInstance) {
@ -941,26 +1016,30 @@ proto.pulumirpc.RunResponse.prototype.getError = function() {
};
/** @param {string} value */
/**
* @param {string} value
* @return {!proto.pulumirpc.RunResponse} returns this
*/
proto.pulumirpc.RunResponse.prototype.setError = function(value) {
jspb.Message.setProto3StringField(this, 1, value);
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional bool bail = 2;
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
* You should avoid comparisons like {@code val === true/false} in those cases.
* @return {boolean}
*/
proto.pulumirpc.RunResponse.prototype.getBail = function() {
return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 2, false));
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};
/** @param {boolean} value */
/**
* @param {boolean} value
* @return {!proto.pulumirpc.RunResponse} returns this
*/
proto.pulumirpc.RunResponse.prototype.setBail = function(value) {
jspb.Message.setProto3BooleanField(this, 2, value);
return jspb.Message.setProto3BooleanField(this, 2, value);
};

View file

@ -0,0 +1 @@
// GENERATED CODE -- NO SERVICES IN PROTO

View file

@ -1,3 +1,4 @@
// source: plugin.proto
/**
* @fileoverview
* @enhanceable
@ -13,7 +14,6 @@ var proto = { pulumirpc: {} }, global = proto;
goog.exportSymbol('proto.pulumirpc.PluginDependency', null, global);
goog.exportSymbol('proto.pulumirpc.PluginInfo', null, global);
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
@ -29,19 +29,47 @@ proto.pulumirpc.PluginInfo = function(opt_data) {
};
goog.inherits(proto.pulumirpc.PluginInfo, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.pulumirpc.PluginInfo.displayName = 'proto.pulumirpc.PluginInfo';
}
/**
* 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.PluginDependency = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.pulumirpc.PluginDependency, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.pulumirpc.PluginDependency.displayName = 'proto.pulumirpc.PluginDependency';
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* 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:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* 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.PluginInfo.prototype.toObject = function(opt_includeInstance) {
@ -51,8 +79,8 @@ proto.pulumirpc.PluginInfo.prototype.toObject = function(opt_includeInstance) {
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.pulumirpc.PluginInfo} msg The msg instance to transform.
* @return {!Object}
@ -149,41 +177,29 @@ proto.pulumirpc.PluginInfo.prototype.getVersion = function() {
};
/** @param {string} value */
proto.pulumirpc.PluginInfo.prototype.setVersion = function(value) {
jspb.Message.setProto3StringField(this, 1, value);
};
/**
* 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
* @param {string} value
* @return {!proto.pulumirpc.PluginInfo} returns this
*/
proto.pulumirpc.PluginDependency = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
proto.pulumirpc.PluginInfo.prototype.setVersion = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
goog.inherits(proto.pulumirpc.PluginDependency, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.pulumirpc.PluginDependency.displayName = 'proto.pulumirpc.PluginDependency';
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* 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:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* 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.PluginDependency.prototype.toObject = function(opt_includeInstance) {
@ -193,8 +209,8 @@ proto.pulumirpc.PluginDependency.prototype.toObject = function(opt_includeInstan
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.pulumirpc.PluginDependency} msg The msg instance to transform.
* @return {!Object}
@ -327,9 +343,12 @@ proto.pulumirpc.PluginDependency.prototype.getName = function() {
};
/** @param {string} value */
/**
* @param {string} value
* @return {!proto.pulumirpc.PluginDependency} returns this
*/
proto.pulumirpc.PluginDependency.prototype.setName = function(value) {
jspb.Message.setProto3StringField(this, 1, value);
return jspb.Message.setProto3StringField(this, 1, value);
};
@ -342,9 +361,12 @@ proto.pulumirpc.PluginDependency.prototype.getKind = function() {
};
/** @param {string} value */
/**
* @param {string} value
* @return {!proto.pulumirpc.PluginDependency} returns this
*/
proto.pulumirpc.PluginDependency.prototype.setKind = function(value) {
jspb.Message.setProto3StringField(this, 2, value);
return jspb.Message.setProto3StringField(this, 2, value);
};
@ -357,9 +379,12 @@ proto.pulumirpc.PluginDependency.prototype.getVersion = function() {
};
/** @param {string} value */
/**
* @param {string} value
* @return {!proto.pulumirpc.PluginDependency} returns this
*/
proto.pulumirpc.PluginDependency.prototype.setVersion = function(value) {
jspb.Message.setProto3StringField(this, 3, value);
return jspb.Message.setProto3StringField(this, 3, value);
};
@ -372,9 +397,12 @@ proto.pulumirpc.PluginDependency.prototype.getServer = function() {
};
/** @param {string} value */
/**
* @param {string} value
* @return {!proto.pulumirpc.PluginDependency} returns this
*/
proto.pulumirpc.PluginDependency.prototype.setServer = function(value) {
jspb.Message.setProto3StringField(this, 4, value);
return jspb.Message.setProto3StringField(this, 4, value);
};

View file

@ -236,7 +236,7 @@ function deserialize_pulumirpc_UpdateResponse(buffer_arg) {
// within a single package. It is driven by the overall planning engine in response to resource diffs.
var ResourceProviderService = exports.ResourceProviderService = {
// GetSchema fetches the schema for this resource provider.
getSchema: {
getSchema: {
path: '/pulumirpc.ResourceProvider/GetSchema',
requestStream: false,
responseStream: false,
@ -248,7 +248,7 @@ var ResourceProviderService = exports.ResourceProviderService = {
responseDeserialize: deserialize_pulumirpc_GetSchemaResponse,
},
// CheckConfig validates the configuration for this resource provider.
checkConfig: {
checkConfig: {
path: '/pulumirpc.ResourceProvider/CheckConfig',
requestStream: false,
responseStream: false,
@ -260,7 +260,7 @@ var ResourceProviderService = exports.ResourceProviderService = {
responseDeserialize: deserialize_pulumirpc_CheckResponse,
},
// DiffConfig checks the impact a hypothetical change to this provider's configuration will have on the provider.
diffConfig: {
diffConfig: {
path: '/pulumirpc.ResourceProvider/DiffConfig',
requestStream: false,
responseStream: false,
@ -272,7 +272,7 @@ var ResourceProviderService = exports.ResourceProviderService = {
responseDeserialize: deserialize_pulumirpc_DiffResponse,
},
// Configure configures the resource provider with "globals" that control its behavior.
configure: {
configure: {
path: '/pulumirpc.ResourceProvider/Configure',
requestStream: false,
responseStream: false,
@ -284,7 +284,7 @@ var ResourceProviderService = exports.ResourceProviderService = {
responseDeserialize: deserialize_pulumirpc_ConfigureResponse,
},
// Invoke dynamically executes a built-in function in the provider.
invoke: {
invoke: {
path: '/pulumirpc.ResourceProvider/Invoke',
requestStream: false,
responseStream: false,
@ -296,8 +296,8 @@ var ResourceProviderService = exports.ResourceProviderService = {
responseDeserialize: deserialize_pulumirpc_InvokeResponse,
},
// StreamInvoke dynamically executes a built-in function in the provider, which returns a stream
// of responses.
streamInvoke: {
// of responses.
streamInvoke: {
path: '/pulumirpc.ResourceProvider/StreamInvoke',
requestStream: false,
responseStream: true,
@ -309,11 +309,11 @@ var ResourceProviderService = exports.ResourceProviderService = {
responseDeserialize: deserialize_pulumirpc_InvokeResponse,
},
// Check validates that the given property bag is valid for a resource of the given type and returns the inputs
// that should be passed to successive calls to Diff, Create, or Update for this resource. As a rule, the provider
// inputs returned by a call to Check should preserve the original representation of the properties as present in
// the program inputs. Though this rule is not required for correctness, violations thereof can negatively impact
// the end-user experience, as the provider inputs are using for detecting and rendering diffs.
check: {
// that should be passed to successive calls to Diff, Create, or Update for this resource. As a rule, the provider
// inputs returned by a call to Check should preserve the original representation of the properties as present in
// the program inputs. Though this rule is not required for correctness, violations thereof can negatively impact
// the end-user experience, as the provider inputs are using for detecting and rendering diffs.
check: {
path: '/pulumirpc.ResourceProvider/Check',
requestStream: false,
responseStream: false,
@ -325,7 +325,7 @@ var ResourceProviderService = exports.ResourceProviderService = {
responseDeserialize: deserialize_pulumirpc_CheckResponse,
},
// Diff checks what impacts a hypothetical update will have on the resource's properties.
diff: {
diff: {
path: '/pulumirpc.ResourceProvider/Diff',
requestStream: false,
responseStream: false,
@ -337,8 +337,8 @@ var ResourceProviderService = exports.ResourceProviderService = {
responseDeserialize: deserialize_pulumirpc_DiffResponse,
},
// Create allocates a new instance of the provided resource and returns its unique ID afterwards. (The input ID
// must be blank.) If this call fails, the resource must not have been created (i.e., it is "transactional").
create: {
// must be blank.) If this call fails, the resource must not have been created (i.e., it is "transactional").
create: {
path: '/pulumirpc.ResourceProvider/Create',
requestStream: false,
responseStream: false,
@ -350,8 +350,8 @@ var ResourceProviderService = exports.ResourceProviderService = {
responseDeserialize: deserialize_pulumirpc_CreateResponse,
},
// Read the current live state associated with a resource. Enough state must be include in the inputs to uniquely
// identify the resource; this is typically just the resource ID, but may also include some properties.
read: {
// identify the resource; this is typically just the resource ID, but may also include some properties.
read: {
path: '/pulumirpc.ResourceProvider/Read',
requestStream: false,
responseStream: false,
@ -363,7 +363,7 @@ var ResourceProviderService = exports.ResourceProviderService = {
responseDeserialize: deserialize_pulumirpc_ReadResponse,
},
// Update updates an existing resource with new values.
update: {
update: {
path: '/pulumirpc.ResourceProvider/Update',
requestStream: false,
responseStream: false,
@ -375,7 +375,7 @@ var ResourceProviderService = exports.ResourceProviderService = {
responseDeserialize: deserialize_pulumirpc_UpdateResponse,
},
// Delete tears down an existing resource with the given ID. If it fails, the resource is assumed to still exist.
delete: {
delete: {
path: '/pulumirpc.ResourceProvider/Delete',
requestStream: false,
responseStream: false,
@ -387,7 +387,7 @@ var ResourceProviderService = exports.ResourceProviderService = {
responseDeserialize: deserialize_google_protobuf_Empty,
},
// Cancel signals the provider to abort all outstanding resource operations.
cancel: {
cancel: {
path: '/pulumirpc.ResourceProvider/Cancel',
requestStream: false,
responseStream: false,
@ -399,7 +399,7 @@ var ResourceProviderService = exports.ResourceProviderService = {
responseDeserialize: deserialize_google_protobuf_Empty,
},
// GetPluginInfo returns generic information about this plugin, like its version.
getPluginInfo: {
getPluginInfo: {
path: '/pulumirpc.ResourceProvider/GetPluginInfo',
requestStream: false,
responseStream: false,

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1 @@
// GENERATED CODE -- NO SERVICES IN PROTO

View file

@ -1,3 +1,4 @@
// source: status.proto
/**
* @fileoverview
* @enhanceable
@ -12,8 +13,8 @@ var goog = jspb;
var global = Function('return this')();
var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js');
goog.object.extend(proto, google_protobuf_any_pb);
goog.exportSymbol('proto.google.rpc.Status', null, global);
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
@ -29,8 +30,13 @@ proto.google.rpc.Status = function(opt_data) {
};
goog.inherits(proto.google.rpc.Status, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.rpc.Status.displayName = 'proto.google.rpc.Status';
}
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
@ -42,13 +48,15 @@ proto.google.rpc.Status.repeatedFields_ = [3];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* 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:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* 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.google.rpc.Status.prototype.toObject = function(opt_includeInstance) {
@ -58,8 +66,8 @@ proto.google.rpc.Status.prototype.toObject = function(opt_includeInstance) {
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.google.rpc.Status} msg The msg instance to transform.
* @return {!Object}
@ -183,9 +191,12 @@ proto.google.rpc.Status.prototype.getCode = function() {
};
/** @param {number} value */
/**
* @param {number} value
* @return {!proto.google.rpc.Status} returns this
*/
proto.google.rpc.Status.prototype.setCode = function(value) {
jspb.Message.setProto3IntField(this, 1, value);
return jspb.Message.setProto3IntField(this, 1, value);
};
@ -198,25 +209,31 @@ proto.google.rpc.Status.prototype.getMessage = function() {
};
/** @param {string} value */
/**
* @param {string} value
* @return {!proto.google.rpc.Status} returns this
*/
proto.google.rpc.Status.prototype.setMessage = function(value) {
jspb.Message.setProto3StringField(this, 2, value);
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* repeated google.protobuf.Any details = 3;
* @return {!Array.<!proto.google.protobuf.Any>}
* @return {!Array<!proto.google.protobuf.Any>}
*/
proto.google.rpc.Status.prototype.getDetailsList = function() {
return /** @type{!Array.<!proto.google.protobuf.Any>} */ (
return /** @type{!Array<!proto.google.protobuf.Any>} */ (
jspb.Message.getRepeatedWrapperField(this, google_protobuf_any_pb.Any, 3));
};
/** @param {!Array.<!proto.google.protobuf.Any>} value */
/**
* @param {!Array<!proto.google.protobuf.Any>} value
* @return {!proto.google.rpc.Status} returns this
*/
proto.google.rpc.Status.prototype.setDetailsList = function(value) {
jspb.Message.setRepeatedWrapperField(this, 3, value);
return jspb.Message.setRepeatedWrapperField(this, 3, value);
};
@ -230,8 +247,12 @@ proto.google.rpc.Status.prototype.addDetails = function(opt_value, opt_index) {
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.google.rpc.Status} returns this
*/
proto.google.rpc.Status.prototype.clearDetailsList = function() {
this.setDetailsList([]);
return this.setDetailsList([]);
};

View file

@ -3,15 +3,16 @@
package pulumirpc
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import empty "github.com/golang/protobuf/ptypes/empty"
import _struct "github.com/golang/protobuf/ptypes/struct"
import (
context "golang.org/x/net/context"
context "context"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
empty "github.com/golang/protobuf/ptypes/empty"
_struct "github.com/golang/protobuf/ptypes/struct"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
@ -23,7 +24,7 @@ var _ = math.Inf
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// EnforcementLevel indicates the severity of a policy violation.
type EnforcementLevel int32
@ -37,6 +38,7 @@ var EnforcementLevel_name = map[int32]string{
0: "ADVISORY",
1: "MANDATORY",
}
var EnforcementLevel_value = map[string]int32{
"ADVISORY": 0,
"MANDATORY": 1,
@ -45,17 +47,18 @@ var EnforcementLevel_value = map[string]int32{
func (x EnforcementLevel) String() string {
return proto.EnumName(EnforcementLevel_name, int32(x))
}
func (EnforcementLevel) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_analyzer_f2f68c510282fa03, []int{0}
return fileDescriptor_fadbb7eccb91f143, []int{0}
}
type AnalyzeRequest struct {
Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
Properties *_struct.Struct `protobuf:"bytes,2,opt,name=properties" json:"properties,omitempty"`
Urn string `protobuf:"bytes,3,opt,name=urn" json:"urn,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
Options *AnalyzerResourceOptions `protobuf:"bytes,5,opt,name=options" json:"options,omitempty"`
Provider *AnalyzerProviderResource `protobuf:"bytes,6,opt,name=provider" json:"provider,omitempty"`
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Properties *_struct.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
Urn string `protobuf:"bytes,3,opt,name=urn,proto3" json:"urn,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
Options *AnalyzerResourceOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"`
Provider *AnalyzerProviderResource `protobuf:"bytes,6,opt,name=provider,proto3" json:"provider,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -65,16 +68,17 @@ func (m *AnalyzeRequest) Reset() { *m = AnalyzeRequest{} }
func (m *AnalyzeRequest) String() string { return proto.CompactTextString(m) }
func (*AnalyzeRequest) ProtoMessage() {}
func (*AnalyzeRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_analyzer_f2f68c510282fa03, []int{0}
return fileDescriptor_fadbb7eccb91f143, []int{0}
}
func (m *AnalyzeRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AnalyzeRequest.Unmarshal(m, b)
}
func (m *AnalyzeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AnalyzeRequest.Marshal(b, m, deterministic)
}
func (dst *AnalyzeRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnalyzeRequest.Merge(dst, src)
func (m *AnalyzeRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnalyzeRequest.Merge(m, src)
}
func (m *AnalyzeRequest) XXX_Size() int {
return xxx_messageInfo_AnalyzeRequest.Size(m)
@ -131,15 +135,15 @@ func (m *AnalyzeRequest) GetProvider() *AnalyzerProviderResource {
// of the resource are specific to the type of analysis being performed. See the Analyzer
// service definition for more information.
type AnalyzerResource struct {
Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
Properties *_struct.Struct `protobuf:"bytes,2,opt,name=properties" json:"properties,omitempty"`
Urn string `protobuf:"bytes,3,opt,name=urn" json:"urn,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
Options *AnalyzerResourceOptions `protobuf:"bytes,5,opt,name=options" json:"options,omitempty"`
Provider *AnalyzerProviderResource `protobuf:"bytes,6,opt,name=provider" json:"provider,omitempty"`
Parent string `protobuf:"bytes,7,opt,name=parent" json:"parent,omitempty"`
Dependencies []string `protobuf:"bytes,8,rep,name=dependencies" json:"dependencies,omitempty"`
PropertyDependencies map[string]*AnalyzerPropertyDependencies `protobuf:"bytes,9,rep,name=propertyDependencies" json:"propertyDependencies,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Properties *_struct.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
Urn string `protobuf:"bytes,3,opt,name=urn,proto3" json:"urn,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
Options *AnalyzerResourceOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"`
Provider *AnalyzerProviderResource `protobuf:"bytes,6,opt,name=provider,proto3" json:"provider,omitempty"`
Parent string `protobuf:"bytes,7,opt,name=parent,proto3" json:"parent,omitempty"`
Dependencies []string `protobuf:"bytes,8,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
PropertyDependencies map[string]*AnalyzerPropertyDependencies `protobuf:"bytes,9,rep,name=propertyDependencies,proto3" json:"propertyDependencies,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -149,16 +153,17 @@ func (m *AnalyzerResource) Reset() { *m = AnalyzerResource{} }
func (m *AnalyzerResource) String() string { return proto.CompactTextString(m) }
func (*AnalyzerResource) ProtoMessage() {}
func (*AnalyzerResource) Descriptor() ([]byte, []int) {
return fileDescriptor_analyzer_f2f68c510282fa03, []int{1}
return fileDescriptor_fadbb7eccb91f143, []int{1}
}
func (m *AnalyzerResource) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AnalyzerResource.Unmarshal(m, b)
}
func (m *AnalyzerResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AnalyzerResource.Marshal(b, m, deterministic)
}
func (dst *AnalyzerResource) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnalyzerResource.Merge(dst, src)
func (m *AnalyzerResource) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnalyzerResource.Merge(m, src)
}
func (m *AnalyzerResource) XXX_Size() int {
return xxx_messageInfo_AnalyzerResource.Size(m)
@ -234,13 +239,13 @@ func (m *AnalyzerResource) GetPropertyDependencies() map[string]*AnalyzerPropert
// AnalyzerResourceOptions defines the options associated with a resource.
type AnalyzerResourceOptions struct {
Protect bool `protobuf:"varint,1,opt,name=protect" json:"protect,omitempty"`
IgnoreChanges []string `protobuf:"bytes,2,rep,name=ignoreChanges" json:"ignoreChanges,omitempty"`
DeleteBeforeReplace bool `protobuf:"varint,3,opt,name=deleteBeforeReplace" json:"deleteBeforeReplace,omitempty"`
DeleteBeforeReplaceDefined bool `protobuf:"varint,4,opt,name=deleteBeforeReplaceDefined" json:"deleteBeforeReplaceDefined,omitempty"`
AdditionalSecretOutputs []string `protobuf:"bytes,5,rep,name=additionalSecretOutputs" json:"additionalSecretOutputs,omitempty"`
Aliases []string `protobuf:"bytes,6,rep,name=aliases" json:"aliases,omitempty"`
CustomTimeouts *AnalyzerResourceOptions_CustomTimeouts `protobuf:"bytes,7,opt,name=customTimeouts" json:"customTimeouts,omitempty"`
Protect bool `protobuf:"varint,1,opt,name=protect,proto3" json:"protect,omitempty"`
IgnoreChanges []string `protobuf:"bytes,2,rep,name=ignoreChanges,proto3" json:"ignoreChanges,omitempty"`
DeleteBeforeReplace bool `protobuf:"varint,3,opt,name=deleteBeforeReplace,proto3" json:"deleteBeforeReplace,omitempty"`
DeleteBeforeReplaceDefined bool `protobuf:"varint,4,opt,name=deleteBeforeReplaceDefined,proto3" json:"deleteBeforeReplaceDefined,omitempty"`
AdditionalSecretOutputs []string `protobuf:"bytes,5,rep,name=additionalSecretOutputs,proto3" json:"additionalSecretOutputs,omitempty"`
Aliases []string `protobuf:"bytes,6,rep,name=aliases,proto3" json:"aliases,omitempty"`
CustomTimeouts *AnalyzerResourceOptions_CustomTimeouts `protobuf:"bytes,7,opt,name=customTimeouts,proto3" json:"customTimeouts,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -250,16 +255,17 @@ func (m *AnalyzerResourceOptions) Reset() { *m = AnalyzerResourceOptions
func (m *AnalyzerResourceOptions) String() string { return proto.CompactTextString(m) }
func (*AnalyzerResourceOptions) ProtoMessage() {}
func (*AnalyzerResourceOptions) Descriptor() ([]byte, []int) {
return fileDescriptor_analyzer_f2f68c510282fa03, []int{2}
return fileDescriptor_fadbb7eccb91f143, []int{2}
}
func (m *AnalyzerResourceOptions) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AnalyzerResourceOptions.Unmarshal(m, b)
}
func (m *AnalyzerResourceOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AnalyzerResourceOptions.Marshal(b, m, deterministic)
}
func (dst *AnalyzerResourceOptions) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnalyzerResourceOptions.Merge(dst, src)
func (m *AnalyzerResourceOptions) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnalyzerResourceOptions.Merge(m, src)
}
func (m *AnalyzerResourceOptions) XXX_Size() int {
return xxx_messageInfo_AnalyzerResourceOptions.Size(m)
@ -321,9 +327,9 @@ func (m *AnalyzerResourceOptions) GetCustomTimeouts() *AnalyzerResourceOptions_C
// CustomTimeouts allows a user to be able to create a set of custom timeout parameters.
type AnalyzerResourceOptions_CustomTimeouts struct {
Create float64 `protobuf:"fixed64,1,opt,name=create" json:"create,omitempty"`
Update float64 `protobuf:"fixed64,2,opt,name=update" json:"update,omitempty"`
Delete float64 `protobuf:"fixed64,3,opt,name=delete" json:"delete,omitempty"`
Create float64 `protobuf:"fixed64,1,opt,name=create,proto3" json:"create,omitempty"`
Update float64 `protobuf:"fixed64,2,opt,name=update,proto3" json:"update,omitempty"`
Delete float64 `protobuf:"fixed64,3,opt,name=delete,proto3" json:"delete,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -335,16 +341,17 @@ func (m *AnalyzerResourceOptions_CustomTimeouts) Reset() {
func (m *AnalyzerResourceOptions_CustomTimeouts) String() string { return proto.CompactTextString(m) }
func (*AnalyzerResourceOptions_CustomTimeouts) ProtoMessage() {}
func (*AnalyzerResourceOptions_CustomTimeouts) Descriptor() ([]byte, []int) {
return fileDescriptor_analyzer_f2f68c510282fa03, []int{2, 0}
return fileDescriptor_fadbb7eccb91f143, []int{2, 0}
}
func (m *AnalyzerResourceOptions_CustomTimeouts) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AnalyzerResourceOptions_CustomTimeouts.Unmarshal(m, b)
}
func (m *AnalyzerResourceOptions_CustomTimeouts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AnalyzerResourceOptions_CustomTimeouts.Marshal(b, m, deterministic)
}
func (dst *AnalyzerResourceOptions_CustomTimeouts) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnalyzerResourceOptions_CustomTimeouts.Merge(dst, src)
func (m *AnalyzerResourceOptions_CustomTimeouts) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnalyzerResourceOptions_CustomTimeouts.Merge(m, src)
}
func (m *AnalyzerResourceOptions_CustomTimeouts) XXX_Size() int {
return xxx_messageInfo_AnalyzerResourceOptions_CustomTimeouts.Size(m)
@ -378,10 +385,10 @@ func (m *AnalyzerResourceOptions_CustomTimeouts) GetDelete() float64 {
// AnalyzerProviderResource provides information about a resource's provider.
type AnalyzerProviderResource struct {
Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
Properties *_struct.Struct `protobuf:"bytes,2,opt,name=properties" json:"properties,omitempty"`
Urn string `protobuf:"bytes,3,opt,name=urn" json:"urn,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Properties *_struct.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
Urn string `protobuf:"bytes,3,opt,name=urn,proto3" json:"urn,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -391,16 +398,17 @@ func (m *AnalyzerProviderResource) Reset() { *m = AnalyzerProviderResour
func (m *AnalyzerProviderResource) String() string { return proto.CompactTextString(m) }
func (*AnalyzerProviderResource) ProtoMessage() {}
func (*AnalyzerProviderResource) Descriptor() ([]byte, []int) {
return fileDescriptor_analyzer_f2f68c510282fa03, []int{3}
return fileDescriptor_fadbb7eccb91f143, []int{3}
}
func (m *AnalyzerProviderResource) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AnalyzerProviderResource.Unmarshal(m, b)
}
func (m *AnalyzerProviderResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AnalyzerProviderResource.Marshal(b, m, deterministic)
}
func (dst *AnalyzerProviderResource) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnalyzerProviderResource.Merge(dst, src)
func (m *AnalyzerProviderResource) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnalyzerProviderResource.Merge(m, src)
}
func (m *AnalyzerProviderResource) XXX_Size() int {
return xxx_messageInfo_AnalyzerProviderResource.Size(m)
@ -441,7 +449,7 @@ func (m *AnalyzerProviderResource) GetName() string {
// AnalyzerPropertyDependencies describes the resources that a particular property depends on.
type AnalyzerPropertyDependencies struct {
Urns []string `protobuf:"bytes,1,rep,name=urns" json:"urns,omitempty"`
Urns []string `protobuf:"bytes,1,rep,name=urns,proto3" json:"urns,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -451,16 +459,17 @@ func (m *AnalyzerPropertyDependencies) Reset() { *m = AnalyzerPropertyDe
func (m *AnalyzerPropertyDependencies) String() string { return proto.CompactTextString(m) }
func (*AnalyzerPropertyDependencies) ProtoMessage() {}
func (*AnalyzerPropertyDependencies) Descriptor() ([]byte, []int) {
return fileDescriptor_analyzer_f2f68c510282fa03, []int{4}
return fileDescriptor_fadbb7eccb91f143, []int{4}
}
func (m *AnalyzerPropertyDependencies) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AnalyzerPropertyDependencies.Unmarshal(m, b)
}
func (m *AnalyzerPropertyDependencies) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AnalyzerPropertyDependencies.Marshal(b, m, deterministic)
}
func (dst *AnalyzerPropertyDependencies) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnalyzerPropertyDependencies.Merge(dst, src)
func (m *AnalyzerPropertyDependencies) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnalyzerPropertyDependencies.Merge(m, src)
}
func (m *AnalyzerPropertyDependencies) XXX_Size() int {
return xxx_messageInfo_AnalyzerPropertyDependencies.Size(m)
@ -479,7 +488,7 @@ func (m *AnalyzerPropertyDependencies) GetUrns() []string {
}
type AnalyzeStackRequest struct {
Resources []*AnalyzerResource `protobuf:"bytes,1,rep,name=resources" json:"resources,omitempty"`
Resources []*AnalyzerResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -489,16 +498,17 @@ func (m *AnalyzeStackRequest) Reset() { *m = AnalyzeStackRequest{} }
func (m *AnalyzeStackRequest) String() string { return proto.CompactTextString(m) }
func (*AnalyzeStackRequest) ProtoMessage() {}
func (*AnalyzeStackRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_analyzer_f2f68c510282fa03, []int{5}
return fileDescriptor_fadbb7eccb91f143, []int{5}
}
func (m *AnalyzeStackRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AnalyzeStackRequest.Unmarshal(m, b)
}
func (m *AnalyzeStackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AnalyzeStackRequest.Marshal(b, m, deterministic)
}
func (dst *AnalyzeStackRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnalyzeStackRequest.Merge(dst, src)
func (m *AnalyzeStackRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnalyzeStackRequest.Merge(m, src)
}
func (m *AnalyzeStackRequest) XXX_Size() int {
return xxx_messageInfo_AnalyzeStackRequest.Size(m)
@ -517,7 +527,7 @@ func (m *AnalyzeStackRequest) GetResources() []*AnalyzerResource {
}
type AnalyzeResponse struct {
Diagnostics []*AnalyzeDiagnostic `protobuf:"bytes,2,rep,name=diagnostics" json:"diagnostics,omitempty"`
Diagnostics []*AnalyzeDiagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -527,16 +537,17 @@ func (m *AnalyzeResponse) Reset() { *m = AnalyzeResponse{} }
func (m *AnalyzeResponse) String() string { return proto.CompactTextString(m) }
func (*AnalyzeResponse) ProtoMessage() {}
func (*AnalyzeResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_analyzer_f2f68c510282fa03, []int{6}
return fileDescriptor_fadbb7eccb91f143, []int{6}
}
func (m *AnalyzeResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AnalyzeResponse.Unmarshal(m, b)
}
func (m *AnalyzeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AnalyzeResponse.Marshal(b, m, deterministic)
}
func (dst *AnalyzeResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnalyzeResponse.Merge(dst, src)
func (m *AnalyzeResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnalyzeResponse.Merge(m, src)
}
func (m *AnalyzeResponse) XXX_Size() int {
return xxx_messageInfo_AnalyzeResponse.Size(m)
@ -555,14 +566,14 @@ func (m *AnalyzeResponse) GetDiagnostics() []*AnalyzeDiagnostic {
}
type AnalyzeDiagnostic struct {
PolicyName string `protobuf:"bytes,1,opt,name=policyName" json:"policyName,omitempty"`
PolicyPackName string `protobuf:"bytes,2,opt,name=policyPackName" json:"policyPackName,omitempty"`
PolicyPackVersion string `protobuf:"bytes,3,opt,name=policyPackVersion" json:"policyPackVersion,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
Message string `protobuf:"bytes,5,opt,name=message" json:"message,omitempty"`
Tags []string `protobuf:"bytes,6,rep,name=tags" json:"tags,omitempty"`
EnforcementLevel EnforcementLevel `protobuf:"varint,7,opt,name=enforcementLevel,enum=pulumirpc.EnforcementLevel" json:"enforcementLevel,omitempty"`
Urn string `protobuf:"bytes,8,opt,name=urn" json:"urn,omitempty"`
PolicyName string `protobuf:"bytes,1,opt,name=policyName,proto3" json:"policyName,omitempty"`
PolicyPackName string `protobuf:"bytes,2,opt,name=policyPackName,proto3" json:"policyPackName,omitempty"`
PolicyPackVersion string `protobuf:"bytes,3,opt,name=policyPackVersion,proto3" json:"policyPackVersion,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"`
EnforcementLevel EnforcementLevel `protobuf:"varint,7,opt,name=enforcementLevel,proto3,enum=pulumirpc.EnforcementLevel" json:"enforcementLevel,omitempty"`
Urn string `protobuf:"bytes,8,opt,name=urn,proto3" json:"urn,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -572,16 +583,17 @@ func (m *AnalyzeDiagnostic) Reset() { *m = AnalyzeDiagnostic{} }
func (m *AnalyzeDiagnostic) String() string { return proto.CompactTextString(m) }
func (*AnalyzeDiagnostic) ProtoMessage() {}
func (*AnalyzeDiagnostic) Descriptor() ([]byte, []int) {
return fileDescriptor_analyzer_f2f68c510282fa03, []int{7}
return fileDescriptor_fadbb7eccb91f143, []int{7}
}
func (m *AnalyzeDiagnostic) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AnalyzeDiagnostic.Unmarshal(m, b)
}
func (m *AnalyzeDiagnostic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AnalyzeDiagnostic.Marshal(b, m, deterministic)
}
func (dst *AnalyzeDiagnostic) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnalyzeDiagnostic.Merge(dst, src)
func (m *AnalyzeDiagnostic) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnalyzeDiagnostic.Merge(m, src)
}
func (m *AnalyzeDiagnostic) XXX_Size() int {
return xxx_messageInfo_AnalyzeDiagnostic.Size(m)
@ -650,10 +662,10 @@ func (m *AnalyzeDiagnostic) GetUrn() string {
// AnalyzerInfo provides metadata about a PolicyPack inside an analyzer.
type AnalyzerInfo struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=displayName" json:"displayName,omitempty"`
Policies []*PolicyInfo `protobuf:"bytes,3,rep,name=policies" json:"policies,omitempty"`
Version string `protobuf:"bytes,4,opt,name=version" json:"version,omitempty"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=displayName,proto3" json:"displayName,omitempty"`
Policies []*PolicyInfo `protobuf:"bytes,3,rep,name=policies,proto3" json:"policies,omitempty"`
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -663,16 +675,17 @@ func (m *AnalyzerInfo) Reset() { *m = AnalyzerInfo{} }
func (m *AnalyzerInfo) String() string { return proto.CompactTextString(m) }
func (*AnalyzerInfo) ProtoMessage() {}
func (*AnalyzerInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_analyzer_f2f68c510282fa03, []int{8}
return fileDescriptor_fadbb7eccb91f143, []int{8}
}
func (m *AnalyzerInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AnalyzerInfo.Unmarshal(m, b)
}
func (m *AnalyzerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AnalyzerInfo.Marshal(b, m, deterministic)
}
func (dst *AnalyzerInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnalyzerInfo.Merge(dst, src)
func (m *AnalyzerInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnalyzerInfo.Merge(m, src)
}
func (m *AnalyzerInfo) XXX_Size() int {
return xxx_messageInfo_AnalyzerInfo.Size(m)
@ -713,11 +726,11 @@ func (m *AnalyzerInfo) GetVersion() string {
// PolicyInfo provides metadata about an individual Policy within a Policy Pack.
type PolicyInfo struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=displayName" json:"displayName,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
Message string `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"`
EnforcementLevel EnforcementLevel `protobuf:"varint,5,opt,name=enforcementLevel,enum=pulumirpc.EnforcementLevel" json:"enforcementLevel,omitempty"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=displayName,proto3" json:"displayName,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
EnforcementLevel EnforcementLevel `protobuf:"varint,5,opt,name=enforcementLevel,proto3,enum=pulumirpc.EnforcementLevel" json:"enforcementLevel,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -727,16 +740,17 @@ func (m *PolicyInfo) Reset() { *m = PolicyInfo{} }
func (m *PolicyInfo) String() string { return proto.CompactTextString(m) }
func (*PolicyInfo) ProtoMessage() {}
func (*PolicyInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_analyzer_f2f68c510282fa03, []int{9}
return fileDescriptor_fadbb7eccb91f143, []int{9}
}
func (m *PolicyInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PolicyInfo.Unmarshal(m, b)
}
func (m *PolicyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PolicyInfo.Marshal(b, m, deterministic)
}
func (dst *PolicyInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_PolicyInfo.Merge(dst, src)
func (m *PolicyInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_PolicyInfo.Merge(m, src)
}
func (m *PolicyInfo) XXX_Size() int {
return xxx_messageInfo_PolicyInfo.Size(m)
@ -783,6 +797,7 @@ func (m *PolicyInfo) GetEnforcementLevel() EnforcementLevel {
}
func init() {
proto.RegisterEnum("pulumirpc.EnforcementLevel", EnforcementLevel_name, EnforcementLevel_value)
proto.RegisterType((*AnalyzeRequest)(nil), "pulumirpc.AnalyzeRequest")
proto.RegisterType((*AnalyzerResource)(nil), "pulumirpc.AnalyzerResource")
proto.RegisterMapType((map[string]*AnalyzerPropertyDependencies)(nil), "pulumirpc.AnalyzerResource.PropertyDependenciesEntry")
@ -795,19 +810,84 @@ func init() {
proto.RegisterType((*AnalyzeDiagnostic)(nil), "pulumirpc.AnalyzeDiagnostic")
proto.RegisterType((*AnalyzerInfo)(nil), "pulumirpc.AnalyzerInfo")
proto.RegisterType((*PolicyInfo)(nil), "pulumirpc.PolicyInfo")
proto.RegisterEnum("pulumirpc.EnforcementLevel", EnforcementLevel_name, EnforcementLevel_value)
}
func init() { proto.RegisterFile("analyzer.proto", fileDescriptor_fadbb7eccb91f143) }
var fileDescriptor_fadbb7eccb91f143 = []byte{
// 938 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x56, 0xdd, 0x6e, 0x1b, 0x45,
0x14, 0xce, 0xda, 0x49, 0xbc, 0x3e, 0x4e, 0x5c, 0x77, 0x0a, 0xcd, 0xd6, 0x8d, 0x2a, 0x6b, 0x41,
0x10, 0x21, 0xe4, 0x50, 0x23, 0x44, 0x41, 0xfc, 0xa5, 0x75, 0x14, 0x55, 0x2a, 0x8d, 0x99, 0x54,
0x15, 0xbd, 0x9c, 0xee, 0x1e, 0x9b, 0x55, 0xd6, 0x33, 0xc3, 0xec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0x73, 0x63,
0x0f, 0xb6, 0x97, 0x7b, 0x50, 0xa7, 0xf7, 0xce, 0x5b, 0xe8, 0xfd, 0xd1, 0x31, 0xf4, 0x56, 0x51,
0x64, 0x0f, 0xdc, 0x93, 0xf1, 0xcb, 0xa7, 0x17, 0xe7, 0xf4, 0x55, 0x6f, 0x8b, 0xec, 0x43, 0xfb,
0xfb, 0x93, 0xe7, 0xe3, 0x93, 0x17, 0x26, 0x74, 0x46, 0x7f, 0x36, 0xc0, 0x2d, 0xda, 0x41, 0x1e,
0x43, 0x2b, 0x5f, 0x93, 0x7b, 0xeb, 0x83, 0x90, 0x8f, 0x61, 0xbf, 0x5f, 0xb7, 0x95, 0x0d, 0x95,
0xbf, 0x45, 0x9e, 0x95, 0xed, 0xb5, 0xb3, 0x4b, 0x1e, 0xac, 0xa3, 0xab, 0x43, 0xfd, 0x06, 0xb6,
0x31, 0xdc, 0x3a, 0x43, 0xbd, 0xe4, 0x97, 0xbb, 0x6b, 0x6f, 0xd3, 0xa9, 0xf9, 0x63, 0xd8, 0x3f,
0xa8, 0x79, 0x0a, 0x4c, 0x81, 0xbf, 0x45, 0xbe, 0x83, 0xfd, 0x33, 0xd4, 0x13, 0xfb, 0xef, 0x72,
0x23, 0xc7, 0x92, 0x87, 0x4a, 0xb8, 0xbf, 0xf5, 0x7a, 0xd7, 0x02, 0x3f, 0xfd, 0x37, 0x00, 0x00,
0xff, 0xff, 0xad, 0x65, 0xec, 0xfa, 0xbe, 0x0a, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
var _ grpc.ClientConnInterface
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// Client API for Analyzer service
const _ = grpc.SupportPackageIsVersion6
// AnalyzerClient is the client API for Analyzer service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type AnalyzerClient interface {
// Analyze analyzes a single resource object, and returns any errors that it finds.
// Called with the "inputs" to the resource, before it is updated.
@ -823,16 +903,16 @@ type AnalyzerClient interface {
}
type analyzerClient struct {
cc *grpc.ClientConn
cc grpc.ClientConnInterface
}
func NewAnalyzerClient(cc *grpc.ClientConn) AnalyzerClient {
func NewAnalyzerClient(cc grpc.ClientConnInterface) AnalyzerClient {
return &analyzerClient{cc}
}
func (c *analyzerClient) Analyze(ctx context.Context, in *AnalyzeRequest, opts ...grpc.CallOption) (*AnalyzeResponse, error) {
out := new(AnalyzeResponse)
err := grpc.Invoke(ctx, "/pulumirpc.Analyzer/Analyze", in, out, c.cc, opts...)
err := c.cc.Invoke(ctx, "/pulumirpc.Analyzer/Analyze", in, out, opts...)
if err != nil {
return nil, err
}
@ -841,7 +921,7 @@ func (c *analyzerClient) Analyze(ctx context.Context, in *AnalyzeRequest, opts .
func (c *analyzerClient) AnalyzeStack(ctx context.Context, in *AnalyzeStackRequest, opts ...grpc.CallOption) (*AnalyzeResponse, error) {
out := new(AnalyzeResponse)
err := grpc.Invoke(ctx, "/pulumirpc.Analyzer/AnalyzeStack", in, out, c.cc, opts...)
err := c.cc.Invoke(ctx, "/pulumirpc.Analyzer/AnalyzeStack", in, out, opts...)
if err != nil {
return nil, err
}
@ -850,7 +930,7 @@ func (c *analyzerClient) AnalyzeStack(ctx context.Context, in *AnalyzeStackReque
func (c *analyzerClient) GetAnalyzerInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*AnalyzerInfo, error) {
out := new(AnalyzerInfo)
err := grpc.Invoke(ctx, "/pulumirpc.Analyzer/GetAnalyzerInfo", in, out, c.cc, opts...)
err := c.cc.Invoke(ctx, "/pulumirpc.Analyzer/GetAnalyzerInfo", in, out, opts...)
if err != nil {
return nil, err
}
@ -859,15 +939,14 @@ func (c *analyzerClient) GetAnalyzerInfo(ctx context.Context, in *empty.Empty, o
func (c *analyzerClient) GetPluginInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PluginInfo, error) {
out := new(PluginInfo)
err := grpc.Invoke(ctx, "/pulumirpc.Analyzer/GetPluginInfo", in, out, c.cc, opts...)
err := c.cc.Invoke(ctx, "/pulumirpc.Analyzer/GetPluginInfo", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for Analyzer service
// AnalyzerServer is the server API for Analyzer service.
type AnalyzerServer interface {
// Analyze analyzes a single resource object, and returns any errors that it finds.
// Called with the "inputs" to the resource, before it is updated.
@ -882,6 +961,23 @@ type AnalyzerServer interface {
GetPluginInfo(context.Context, *empty.Empty) (*PluginInfo, error)
}
// UnimplementedAnalyzerServer can be embedded to have forward compatible implementations.
type UnimplementedAnalyzerServer struct {
}
func (*UnimplementedAnalyzerServer) Analyze(ctx context.Context, req *AnalyzeRequest) (*AnalyzeResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Analyze not implemented")
}
func (*UnimplementedAnalyzerServer) AnalyzeStack(ctx context.Context, req *AnalyzeStackRequest) (*AnalyzeResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method AnalyzeStack not implemented")
}
func (*UnimplementedAnalyzerServer) GetAnalyzerInfo(ctx context.Context, req *empty.Empty) (*AnalyzerInfo, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetAnalyzerInfo not implemented")
}
func (*UnimplementedAnalyzerServer) GetPluginInfo(ctx context.Context, req *empty.Empty) (*PluginInfo, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetPluginInfo not implemented")
}
func RegisterAnalyzerServer(s *grpc.Server, srv AnalyzerServer) {
s.RegisterService(&_Analyzer_serviceDesc, srv)
}
@ -982,68 +1078,3 @@ var _Analyzer_serviceDesc = grpc.ServiceDesc{
Streams: []grpc.StreamDesc{},
Metadata: "analyzer.proto",
}
func init() { proto.RegisterFile("analyzer.proto", fileDescriptor_analyzer_f2f68c510282fa03) }
var fileDescriptor_analyzer_f2f68c510282fa03 = []byte{
// 937 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b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2f, 0x00, 0x00, 0xff,
0xff, 0xad, 0x65, 0xec, 0xfa, 0xbe, 0x0a, 0x00, 0x00,
}

View file

@ -3,14 +3,15 @@
package pulumirpc
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import empty "github.com/golang/protobuf/ptypes/empty"
import (
context "golang.org/x/net/context"
context "context"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
empty "github.com/golang/protobuf/ptypes/empty"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
@ -22,7 +23,7 @@ var _ = math.Inf
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// LogSeverity is the severity level of a log message. Errors are fatal; all others are informational.
type LogSeverity int32
@ -40,6 +41,7 @@ var LogSeverity_name = map[int32]string{
2: "WARNING",
3: "ERROR",
}
var LogSeverity_value = map[string]int32{
"DEBUG": 0,
"INFO": 1,
@ -50,17 +52,18 @@ var LogSeverity_value = map[string]int32{
func (x LogSeverity) String() string {
return proto.EnumName(LogSeverity_name, int32(x))
}
func (LogSeverity) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_engine_8ab3bc277096818e, []int{0}
return fileDescriptor_770b178c3aab763f, []int{0}
}
type LogRequest struct {
// the logging level of this message.
Severity LogSeverity `protobuf:"varint,1,opt,name=severity,enum=pulumirpc.LogSeverity" json:"severity,omitempty"`
Severity LogSeverity `protobuf:"varint,1,opt,name=severity,proto3,enum=pulumirpc.LogSeverity" json:"severity,omitempty"`
// the contents of the logged message.
Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// the (optional) resource urn this log is associated with.
Urn string `protobuf:"bytes,3,opt,name=urn" json:"urn,omitempty"`
Urn string `protobuf:"bytes,3,opt,name=urn,proto3" json:"urn,omitempty"`
// the (optional) stream id that a stream of log messages can be associated with. This allows
// clients to not have to buffer a large set of log messages that they all want to be
// conceptually connected. Instead the messages can be sent as chunks (with the same stream id)
@ -68,9 +71,9 @@ type LogRequest struct {
// into one total log message.
//
// 0/not-given means: do not associate with any stream.
StreamId int32 `protobuf:"varint,4,opt,name=streamId" json:"streamId,omitempty"`
StreamId int32 `protobuf:"varint,4,opt,name=streamId,proto3" json:"streamId,omitempty"`
// Optional value indicating whether this is a status message.
Ephemeral bool `protobuf:"varint,5,opt,name=ephemeral" json:"ephemeral,omitempty"`
Ephemeral bool `protobuf:"varint,5,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -80,16 +83,17 @@ func (m *LogRequest) Reset() { *m = LogRequest{} }
func (m *LogRequest) String() string { return proto.CompactTextString(m) }
func (*LogRequest) ProtoMessage() {}
func (*LogRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_engine_8ab3bc277096818e, []int{0}
return fileDescriptor_770b178c3aab763f, []int{0}
}
func (m *LogRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LogRequest.Unmarshal(m, b)
}
func (m *LogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LogRequest.Marshal(b, m, deterministic)
}
func (dst *LogRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_LogRequest.Merge(dst, src)
func (m *LogRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_LogRequest.Merge(m, src)
}
func (m *LogRequest) XXX_Size() int {
return xxx_messageInfo_LogRequest.Size(m)
@ -145,16 +149,17 @@ func (m *GetRootResourceRequest) Reset() { *m = GetRootResourceRequest{}
func (m *GetRootResourceRequest) String() string { return proto.CompactTextString(m) }
func (*GetRootResourceRequest) ProtoMessage() {}
func (*GetRootResourceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_engine_8ab3bc277096818e, []int{1}
return fileDescriptor_770b178c3aab763f, []int{1}
}
func (m *GetRootResourceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetRootResourceRequest.Unmarshal(m, b)
}
func (m *GetRootResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetRootResourceRequest.Marshal(b, m, deterministic)
}
func (dst *GetRootResourceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetRootResourceRequest.Merge(dst, src)
func (m *GetRootResourceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetRootResourceRequest.Merge(m, src)
}
func (m *GetRootResourceRequest) XXX_Size() int {
return xxx_messageInfo_GetRootResourceRequest.Size(m)
@ -167,7 +172,7 @@ var xxx_messageInfo_GetRootResourceRequest proto.InternalMessageInfo
type GetRootResourceResponse struct {
// the URN of the root resource, or the empty string if one was not set.
Urn string `protobuf:"bytes,1,opt,name=urn" json:"urn,omitempty"`
Urn string `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -177,16 +182,17 @@ func (m *GetRootResourceResponse) Reset() { *m = GetRootResourceResponse
func (m *GetRootResourceResponse) String() string { return proto.CompactTextString(m) }
func (*GetRootResourceResponse) ProtoMessage() {}
func (*GetRootResourceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_engine_8ab3bc277096818e, []int{2}
return fileDescriptor_770b178c3aab763f, []int{2}
}
func (m *GetRootResourceResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetRootResourceResponse.Unmarshal(m, b)
}
func (m *GetRootResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetRootResourceResponse.Marshal(b, m, deterministic)
}
func (dst *GetRootResourceResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetRootResourceResponse.Merge(dst, src)
func (m *GetRootResourceResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetRootResourceResponse.Merge(m, src)
}
func (m *GetRootResourceResponse) XXX_Size() int {
return xxx_messageInfo_GetRootResourceResponse.Size(m)
@ -206,7 +212,7 @@ func (m *GetRootResourceResponse) GetUrn() string {
type SetRootResourceRequest struct {
// the URN of the root resource, or the empty string.
Urn string `protobuf:"bytes,1,opt,name=urn" json:"urn,omitempty"`
Urn string `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -216,16 +222,17 @@ func (m *SetRootResourceRequest) Reset() { *m = SetRootResourceRequest{}
func (m *SetRootResourceRequest) String() string { return proto.CompactTextString(m) }
func (*SetRootResourceRequest) ProtoMessage() {}
func (*SetRootResourceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_engine_8ab3bc277096818e, []int{3}
return fileDescriptor_770b178c3aab763f, []int{3}
}
func (m *SetRootResourceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetRootResourceRequest.Unmarshal(m, b)
}
func (m *SetRootResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetRootResourceRequest.Marshal(b, m, deterministic)
}
func (dst *SetRootResourceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetRootResourceRequest.Merge(dst, src)
func (m *SetRootResourceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetRootResourceRequest.Merge(m, src)
}
func (m *SetRootResourceRequest) XXX_Size() int {
return xxx_messageInfo_SetRootResourceRequest.Size(m)
@ -253,16 +260,17 @@ func (m *SetRootResourceResponse) Reset() { *m = SetRootResourceResponse
func (m *SetRootResourceResponse) String() string { return proto.CompactTextString(m) }
func (*SetRootResourceResponse) ProtoMessage() {}
func (*SetRootResourceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_engine_8ab3bc277096818e, []int{4}
return fileDescriptor_770b178c3aab763f, []int{4}
}
func (m *SetRootResourceResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetRootResourceResponse.Unmarshal(m, b)
}
func (m *SetRootResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetRootResourceResponse.Marshal(b, m, deterministic)
}
func (dst *SetRootResourceResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetRootResourceResponse.Merge(dst, src)
func (m *SetRootResourceResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetRootResourceResponse.Merge(m, src)
}
func (m *SetRootResourceResponse) XXX_Size() int {
return xxx_messageInfo_SetRootResourceResponse.Size(m)
@ -274,24 +282,54 @@ func (m *SetRootResourceResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_SetRootResourceResponse proto.InternalMessageInfo
func init() {
proto.RegisterEnum("pulumirpc.LogSeverity", LogSeverity_name, LogSeverity_value)
proto.RegisterType((*LogRequest)(nil), "pulumirpc.LogRequest")
proto.RegisterType((*GetRootResourceRequest)(nil), "pulumirpc.GetRootResourceRequest")
proto.RegisterType((*GetRootResourceResponse)(nil), "pulumirpc.GetRootResourceResponse")
proto.RegisterType((*SetRootResourceRequest)(nil), "pulumirpc.SetRootResourceRequest")
proto.RegisterType((*SetRootResourceResponse)(nil), "pulumirpc.SetRootResourceResponse")
proto.RegisterEnum("pulumirpc.LogSeverity", LogSeverity_name, LogSeverity_value)
}
func init() { proto.RegisterFile("engine.proto", fileDescriptor_770b178c3aab763f) }
var fileDescriptor_770b178c3aab763f = []byte{
// 356 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x4f, 0x4b, 0xeb, 0x40,
0x14, 0xc5, 0x3b, 0x4d, 0xff, 0x24, 0xb7, 0x8f, 0xf7,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x3c, 0x4b, 0x17, 0xb8, 0xf5, 0xec, 0x9c, 0x40, 0xf7, 0xcb, 0x46, 0x24, 0x3c, 0x16,
0xa5, 0x01, 0x52, 0x1a, 0x70, 0x7a, 0x60, 0x04, 0x95, 0x98, 0x0a, 0xed, 0x3f, 0xe8, 0x06, 0xd5,
0xe0, 0xde, 0x39, 0x74, 0xf6, 0xc2, 0xa0, 0x1a, 0x34, 0xaf, 0xfc, 0xcb, 0x9b, 0xa1, 0x5e, 0xa3,
0x2a, 0x34, 0x46, 0x93, 0xeb, 0xa9, 0x4e, 0x68, 0x07, 0xda, 0xb7, 0x17, 0x6c, 0x32, 0x9a, 0x0c,
0xf5, 0xfa, 0x46, 0xe1, 0x33, 0x36, 0x65, 0xba, 0x32, 0x78, 0x25, 0xd0, 0xf2, 0xf3, 0xae, 0xe8,
0x19, 0x28, 0x63, 0x1e, 0xd2, 0xbf, 0x1f, 0x33, 0xde, 0x3a, 0xb2, 0x0c, 0xaf, 0x68, 0xce, 0xdb,
0x35, 0xe7, 0xf9, 0x9b, 0xe6, 0x9c, 0x1a, 0xbd, 0x83, 0x3f, 0x9f, 0x4e, 0xa6, 0xc7, 0x7b, 0x8c,
0xea, 0xa0, 0x2c, 0xe7, 0x90, 0xa4, 0x38, 0xac, 0x60, 0x07, 0x07, 0xd8, 0xc1, 0xcf, 0xec, 0xe0,
0x3b, 0xf6, 0xbc, 0x95, 0x5f, 0x72, 0xfa, 0x16, 0x00, 0x00, 0xff, 0xff, 0x26, 0x3e, 0xcf, 0xd2,
0xac, 0x02, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
var _ grpc.ClientConnInterface
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// Client API for Engine service
const _ = grpc.SupportPackageIsVersion6
// EngineClient is the client API for Engine service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type EngineClient interface {
// Log logs a global message in the engine, including errors and warnings.
Log(ctx context.Context, in *LogRequest, opts ...grpc.CallOption) (*empty.Empty, error)
@ -303,16 +341,16 @@ type EngineClient interface {
}
type engineClient struct {
cc *grpc.ClientConn
cc grpc.ClientConnInterface
}
func NewEngineClient(cc *grpc.ClientConn) EngineClient {
func NewEngineClient(cc grpc.ClientConnInterface) EngineClient {
return &engineClient{cc}
}
func (c *engineClient) Log(ctx context.Context, in *LogRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := grpc.Invoke(ctx, "/pulumirpc.Engine/Log", in, out, c.cc, opts...)
err := c.cc.Invoke(ctx, "/pulumirpc.Engine/Log", in, out, opts...)
if err != nil {
return nil, err
}
@ -321,7 +359,7 @@ func (c *engineClient) Log(ctx context.Context, in *LogRequest, opts ...grpc.Cal
func (c *engineClient) GetRootResource(ctx context.Context, in *GetRootResourceRequest, opts ...grpc.CallOption) (*GetRootResourceResponse, error) {
out := new(GetRootResourceResponse)
err := grpc.Invoke(ctx, "/pulumirpc.Engine/GetRootResource", in, out, c.cc, opts...)
err := c.cc.Invoke(ctx, "/pulumirpc.Engine/GetRootResource", in, out, opts...)
if err != nil {
return nil, err
}
@ -330,15 +368,14 @@ func (c *engineClient) GetRootResource(ctx context.Context, in *GetRootResourceR
func (c *engineClient) SetRootResource(ctx context.Context, in *SetRootResourceRequest, opts ...grpc.CallOption) (*SetRootResourceResponse, error) {
out := new(SetRootResourceResponse)
err := grpc.Invoke(ctx, "/pulumirpc.Engine/SetRootResource", in, out, c.cc, opts...)
err := c.cc.Invoke(ctx, "/pulumirpc.Engine/SetRootResource", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for Engine service
// EngineServer is the server API for Engine service.
type EngineServer interface {
// Log logs a global message in the engine, including errors and warnings.
Log(context.Context, *LogRequest) (*empty.Empty, error)
@ -349,6 +386,20 @@ type EngineServer interface {
SetRootResource(context.Context, *SetRootResourceRequest) (*SetRootResourceResponse, error)
}
// UnimplementedEngineServer can be embedded to have forward compatible implementations.
type UnimplementedEngineServer struct {
}
func (*UnimplementedEngineServer) Log(ctx context.Context, req *LogRequest) (*empty.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method Log not implemented")
}
func (*UnimplementedEngineServer) GetRootResource(ctx context.Context, req *GetRootResourceRequest) (*GetRootResourceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetRootResource not implemented")
}
func (*UnimplementedEngineServer) SetRootResource(ctx context.Context, req *SetRootResourceRequest) (*SetRootResourceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SetRootResource not implemented")
}
func RegisterEngineServer(s *grpc.Server, srv EngineServer) {
s.RegisterService(&_Engine_serviceDesc, srv)
}
@ -427,31 +478,3 @@ var _Engine_serviceDesc = grpc.ServiceDesc{
Streams: []grpc.StreamDesc{},
Metadata: "engine.proto",
}
func init() { proto.RegisterFile("engine.proto", fileDescriptor_engine_8ab3bc277096818e) }
var fileDescriptor_engine_8ab3bc277096818e = []byte{
// 352 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x91, 0x4f, 0x4b, 0xeb, 0x40,
0x14, 0xc5, 0x9b, 0xa6, 0xff, 0x72, 0xfb, 0x78, 0x2f, 0x0c, 0xbc, 0x74, 0x8c, 0x2e, 0x34, 0x2b,
0xa9, 0x90, 0x42, 0x05, 0x17, 0xee, 0x14, 0x63, 0x29, 0x48, 0x0b, 0x13, 0x44, 0x70, 0xd7, 0xd6,
0x6b, 0x2c, 0x34, 0x99, 0x38, 0x33, 0x11, 0xfa, 0x85, 0xfc, 0x8c, 0x2e, 0x4d, 0x93, 0x36, 0x56,
0x8d, 0x75, 0x97, 0xb9, 0xe7, 0xe4, 0xc7, 0xb9, 0xf7, 0xc0, 0x1f, 0x8c, 0x82, 0x79, 0x84, 0x6e,
0x2c, 0xb8, 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1a, 0x98, 0xd5, 0x95, 0xc3,
0x63, 0x6c, 0xcc, 0x4c, 0xbd, 0xff, 0xa6, 0x41, 0xc3, 0xcb, 0xba, 0x22, 0x67, 0xa0, 0xa7, 0x18,
0xf2, 0xff, 0xf3, 0x8d, 0xd7, 0x89, 0x6c, 0xcb, 0xcd, 0x9b, 0x73, 0x37, 0xcd, 0xb9, 0xde, 0xaa,
0x39, 0xa7, 0x42, 0xee, 0xe1, 0xdf, 0x97, 0x95, 0xc9, 0xd1, 0x16, 0xa3, 0xfc, 0x50, 0xb6, 0xb3,
0xcb, 0x92, 0x2f, 0x96, 0xb3, 0xfd, 0x1d, 0x6c, 0xff, 0x77, 0xb6, 0xff, 0x13, 0x7b, 0xda, 0xc8,
0x36, 0x39, 0x7d, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x26, 0x3e, 0xcf, 0xd2, 0xac, 0x02, 0x00, 0x00,
}

View file

@ -3,9 +3,11 @@
package pulumirpc
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
@ -16,11 +18,11 @@ var _ = math.Inf
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type ErrorCause struct {
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
StackTrace string `protobuf:"bytes,2,opt,name=stackTrace" json:"stackTrace,omitempty"`
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
StackTrace string `protobuf:"bytes,2,opt,name=stackTrace,proto3" json:"stackTrace,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -30,16 +32,17 @@ func (m *ErrorCause) Reset() { *m = ErrorCause{} }
func (m *ErrorCause) String() string { return proto.CompactTextString(m) }
func (*ErrorCause) ProtoMessage() {}
func (*ErrorCause) Descriptor() ([]byte, []int) {
return fileDescriptor_errors_f003e48c15598612, []int{0}
return fileDescriptor_24fe73c7f0ddb19c, []int{0}
}
func (m *ErrorCause) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ErrorCause.Unmarshal(m, b)
}
func (m *ErrorCause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ErrorCause.Marshal(b, m, deterministic)
}
func (dst *ErrorCause) XXX_Merge(src proto.Message) {
xxx_messageInfo_ErrorCause.Merge(dst, src)
func (m *ErrorCause) XXX_Merge(src proto.Message) {
xxx_messageInfo_ErrorCause.Merge(m, src)
}
func (m *ErrorCause) XXX_Size() int {
return xxx_messageInfo_ErrorCause.Size(m)
@ -68,11 +71,11 @@ func init() {
proto.RegisterType((*ErrorCause)(nil), "pulumirpc.ErrorCause")
}
func init() { proto.RegisterFile("errors.proto", fileDescriptor_errors_f003e48c15598612) }
func init() { proto.RegisterFile("errors.proto", fileDescriptor_24fe73c7f0ddb19c) }
var fileDescriptor_errors_f003e48c15598612 = []byte{
var fileDescriptor_24fe73c7f0ddb19c = []byte{
// 106 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xe2, 0x49, 0x2d, 0x2a, 0xca,
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x49, 0x2d, 0x2a, 0xca,
0x2f, 0x2a, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x2c, 0x28, 0xcd, 0x29, 0xcd, 0xcd,
0x2c, 0x2a, 0x48, 0x56, 0x72, 0xe3, 0xe2, 0x72, 0x05, 0x49, 0x39, 0x27, 0x96, 0x16, 0xa7, 0x0a,
0x49, 0x70, 0xb1, 0xe7, 0xa6, 0x16, 0x17, 0x27, 0xa6, 0xa7, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70,

View file

@ -3,14 +3,15 @@
package pulumirpc
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import empty "github.com/golang/protobuf/ptypes/empty"
import (
context "golang.org/x/net/context"
context "context"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
empty "github.com/golang/protobuf/ptypes/empty"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
@ -22,12 +23,12 @@ var _ = math.Inf
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type GetRequiredPluginsRequest struct {
Project string `protobuf:"bytes,1,opt,name=project" json:"project,omitempty"`
Pwd string `protobuf:"bytes,2,opt,name=pwd" json:"pwd,omitempty"`
Program string `protobuf:"bytes,3,opt,name=program" json:"program,omitempty"`
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
Pwd string `protobuf:"bytes,2,opt,name=pwd,proto3" json:"pwd,omitempty"`
Program string `protobuf:"bytes,3,opt,name=program,proto3" json:"program,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -37,16 +38,17 @@ func (m *GetRequiredPluginsRequest) Reset() { *m = GetRequiredPluginsReq
func (m *GetRequiredPluginsRequest) String() string { return proto.CompactTextString(m) }
func (*GetRequiredPluginsRequest) ProtoMessage() {}
func (*GetRequiredPluginsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_language_aca56bed509f6786, []int{0}
return fileDescriptor_e123c61d1ddd0892, []int{0}
}
func (m *GetRequiredPluginsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetRequiredPluginsRequest.Unmarshal(m, b)
}
func (m *GetRequiredPluginsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetRequiredPluginsRequest.Marshal(b, m, deterministic)
}
func (dst *GetRequiredPluginsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetRequiredPluginsRequest.Merge(dst, src)
func (m *GetRequiredPluginsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetRequiredPluginsRequest.Merge(m, src)
}
func (m *GetRequiredPluginsRequest) XXX_Size() int {
return xxx_messageInfo_GetRequiredPluginsRequest.Size(m)
@ -79,7 +81,7 @@ func (m *GetRequiredPluginsRequest) GetProgram() string {
}
type GetRequiredPluginsResponse struct {
Plugins []*PluginDependency `protobuf:"bytes,1,rep,name=plugins" json:"plugins,omitempty"`
Plugins []*PluginDependency `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -89,16 +91,17 @@ func (m *GetRequiredPluginsResponse) Reset() { *m = GetRequiredPluginsRe
func (m *GetRequiredPluginsResponse) String() string { return proto.CompactTextString(m) }
func (*GetRequiredPluginsResponse) ProtoMessage() {}
func (*GetRequiredPluginsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_language_aca56bed509f6786, []int{1}
return fileDescriptor_e123c61d1ddd0892, []int{1}
}
func (m *GetRequiredPluginsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetRequiredPluginsResponse.Unmarshal(m, b)
}
func (m *GetRequiredPluginsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetRequiredPluginsResponse.Marshal(b, m, deterministic)
}
func (dst *GetRequiredPluginsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetRequiredPluginsResponse.Merge(dst, src)
func (m *GetRequiredPluginsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetRequiredPluginsResponse.Merge(m, src)
}
func (m *GetRequiredPluginsResponse) XXX_Size() int {
return xxx_messageInfo_GetRequiredPluginsResponse.Size(m)
@ -118,16 +121,16 @@ func (m *GetRequiredPluginsResponse) GetPlugins() []*PluginDependency {
// RunRequest asks the interpreter to execute a program.
type RunRequest struct {
Project string `protobuf:"bytes,1,opt,name=project" json:"project,omitempty"`
Stack string `protobuf:"bytes,2,opt,name=stack" json:"stack,omitempty"`
Pwd string `protobuf:"bytes,3,opt,name=pwd" json:"pwd,omitempty"`
Program string `protobuf:"bytes,4,opt,name=program" json:"program,omitempty"`
Args []string `protobuf:"bytes,5,rep,name=args" json:"args,omitempty"`
Config map[string]string `protobuf:"bytes,6,rep,name=config" json:"config,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
DryRun bool `protobuf:"varint,7,opt,name=dryRun" json:"dryRun,omitempty"`
Parallel int32 `protobuf:"varint,8,opt,name=parallel" json:"parallel,omitempty"`
MonitorAddress string `protobuf:"bytes,9,opt,name=monitor_address,json=monitorAddress" json:"monitor_address,omitempty"`
QueryMode bool `protobuf:"varint,10,opt,name=queryMode" json:"queryMode,omitempty"`
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
Stack string `protobuf:"bytes,2,opt,name=stack,proto3" json:"stack,omitempty"`
Pwd string `protobuf:"bytes,3,opt,name=pwd,proto3" json:"pwd,omitempty"`
Program string `protobuf:"bytes,4,opt,name=program,proto3" json:"program,omitempty"`
Args []string `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"`
Config map[string]string `protobuf:"bytes,6,rep,name=config,proto3" json:"config,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
DryRun bool `protobuf:"varint,7,opt,name=dryRun,proto3" json:"dryRun,omitempty"`
Parallel int32 `protobuf:"varint,8,opt,name=parallel,proto3" json:"parallel,omitempty"`
MonitorAddress string `protobuf:"bytes,9,opt,name=monitor_address,json=monitorAddress,proto3" json:"monitor_address,omitempty"`
QueryMode bool `protobuf:"varint,10,opt,name=queryMode,proto3" json:"queryMode,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -137,16 +140,17 @@ func (m *RunRequest) Reset() { *m = RunRequest{} }
func (m *RunRequest) String() string { return proto.CompactTextString(m) }
func (*RunRequest) ProtoMessage() {}
func (*RunRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_language_aca56bed509f6786, []int{2}
return fileDescriptor_e123c61d1ddd0892, []int{2}
}
func (m *RunRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RunRequest.Unmarshal(m, b)
}
func (m *RunRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RunRequest.Marshal(b, m, deterministic)
}
func (dst *RunRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_RunRequest.Merge(dst, src)
func (m *RunRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_RunRequest.Merge(m, src)
}
func (m *RunRequest) XXX_Size() int {
return xxx_messageInfo_RunRequest.Size(m)
@ -230,11 +234,11 @@ func (m *RunRequest) GetQueryMode() bool {
// RunResponse is the response back from the interpreter/source back to the monitor.
type RunResponse struct {
// An unhandled error if any occurred.
Error string `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
// An error happened. And it was reported to the user. Work should stop immediately
// with nothing further to print to the user. This corresponds to a "result.Bail()"
// value in the 'go' layer.
Bail bool `protobuf:"varint,2,opt,name=bail" json:"bail,omitempty"`
Bail bool `protobuf:"varint,2,opt,name=bail,proto3" json:"bail,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -244,16 +248,17 @@ func (m *RunResponse) Reset() { *m = RunResponse{} }
func (m *RunResponse) String() string { return proto.CompactTextString(m) }
func (*RunResponse) ProtoMessage() {}
func (*RunResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_language_aca56bed509f6786, []int{3}
return fileDescriptor_e123c61d1ddd0892, []int{3}
}
func (m *RunResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RunResponse.Unmarshal(m, b)
}
func (m *RunResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RunResponse.Marshal(b, m, deterministic)
}
func (dst *RunResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_RunResponse.Merge(dst, src)
func (m *RunResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_RunResponse.Merge(m, src)
}
func (m *RunResponse) XXX_Size() int {
return xxx_messageInfo_RunResponse.Size(m)
@ -286,16 +291,53 @@ func init() {
proto.RegisterType((*RunResponse)(nil), "pulumirpc.RunResponse")
}
func init() { proto.RegisterFile("language.proto", fileDescriptor_e123c61d1ddd0892) }
var fileDescriptor_e123c61d1ddd0892 = []byte{
// 477 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xdf, 0x6e, 0xd3, 0x30,
0x14, 0xc6, 0x97, 0x66, 0xfd, 0x77, 0x0a, 0x1b, 0xb2, 0xb6, 0xca, 0x64, 0x5c, 0x94, 0x08, 0x44,
0xaf, 0x32, 0x69, 0x88, 0x3f, 0xe3, 0x0a, 0x04, 0xd3, 0x84, 0x04, 0x12, 0x32, 0x0f, 0x80, 0xdc,
0xe4, 0x34, 0x0a, 0x4b, 0x6d, 0xcf, 0xb1, 0x41, 0x79, 0x68, 0x24, 0x1e, 0x01, 0xd9, 0x4e, 0xbb,
0xc2, 0x8a, 0x76, 0x77, 0xbe, 0x93, 0xef, 0x24, 0xbf, 0x7c, 0x3e, 0x86, 0x83, 0x9a,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d9,
0x85, 0xbb, 0x40, 0xc9, 0xf1, 0xad, 0x45, 0x75, 0xf6, 0x74, 0x6f, 0x31, 0xf0, 0xc6, 0xe7, 0x7f,
0x02, 0x00, 0x00, 0xff, 0xff, 0x4e, 0xdb, 0x96, 0xaa, 0xa2, 0x03, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
var _ grpc.ClientConnInterface
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// Client API for LanguageRuntime service
const _ = grpc.SupportPackageIsVersion6
// LanguageRuntimeClient is the client API for LanguageRuntime service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type LanguageRuntimeClient interface {
// GetRequiredPlugins computes the complete set of anticipated plugins required by a program.
GetRequiredPlugins(ctx context.Context, in *GetRequiredPluginsRequest, opts ...grpc.CallOption) (*GetRequiredPluginsResponse, error)
@ -306,16 +348,16 @@ type LanguageRuntimeClient interface {
}
type languageRuntimeClient struct {
cc *grpc.ClientConn
cc grpc.ClientConnInterface
}
func NewLanguageRuntimeClient(cc *grpc.ClientConn) LanguageRuntimeClient {
func NewLanguageRuntimeClient(cc grpc.ClientConnInterface) LanguageRuntimeClient {
return &languageRuntimeClient{cc}
}
func (c *languageRuntimeClient) GetRequiredPlugins(ctx context.Context, in *GetRequiredPluginsRequest, opts ...grpc.CallOption) (*GetRequiredPluginsResponse, error) {
out := new(GetRequiredPluginsResponse)
err := grpc.Invoke(ctx, "/pulumirpc.LanguageRuntime/GetRequiredPlugins", in, out, c.cc, opts...)
err := c.cc.Invoke(ctx, "/pulumirpc.LanguageRuntime/GetRequiredPlugins", in, out, opts...)
if err != nil {
return nil, err
}
@ -324,7 +366,7 @@ func (c *languageRuntimeClient) GetRequiredPlugins(ctx context.Context, in *GetR
func (c *languageRuntimeClient) Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*RunResponse, error) {
out := new(RunResponse)
err := grpc.Invoke(ctx, "/pulumirpc.LanguageRuntime/Run", in, out, c.cc, opts...)
err := c.cc.Invoke(ctx, "/pulumirpc.LanguageRuntime/Run", in, out, opts...)
if err != nil {
return nil, err
}
@ -333,15 +375,14 @@ func (c *languageRuntimeClient) Run(ctx context.Context, in *RunRequest, opts ..
func (c *languageRuntimeClient) GetPluginInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PluginInfo, error) {
out := new(PluginInfo)
err := grpc.Invoke(ctx, "/pulumirpc.LanguageRuntime/GetPluginInfo", in, out, c.cc, opts...)
err := c.cc.Invoke(ctx, "/pulumirpc.LanguageRuntime/GetPluginInfo", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for LanguageRuntime service
// LanguageRuntimeServer is the server API for LanguageRuntime service.
type LanguageRuntimeServer interface {
// GetRequiredPlugins computes the complete set of anticipated plugins required by a program.
GetRequiredPlugins(context.Context, *GetRequiredPluginsRequest) (*GetRequiredPluginsResponse, error)
@ -351,6 +392,20 @@ type LanguageRuntimeServer interface {
GetPluginInfo(context.Context, *empty.Empty) (*PluginInfo, error)
}
// UnimplementedLanguageRuntimeServer can be embedded to have forward compatible implementations.
type UnimplementedLanguageRuntimeServer struct {
}
func (*UnimplementedLanguageRuntimeServer) GetRequiredPlugins(ctx context.Context, req *GetRequiredPluginsRequest) (*GetRequiredPluginsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetRequiredPlugins not implemented")
}
func (*UnimplementedLanguageRuntimeServer) Run(ctx context.Context, req *RunRequest) (*RunResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Run not implemented")
}
func (*UnimplementedLanguageRuntimeServer) GetPluginInfo(ctx context.Context, req *empty.Empty) (*PluginInfo, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetPluginInfo not implemented")
}
func RegisterLanguageRuntimeServer(s *grpc.Server, srv LanguageRuntimeServer) {
s.RegisterService(&_LanguageRuntime_serviceDesc, srv)
}
@ -429,39 +484,3 @@ var _LanguageRuntime_serviceDesc = grpc.ServiceDesc{
Streams: []grpc.StreamDesc{},
Metadata: "language.proto",
}
func init() { proto.RegisterFile("language.proto", fileDescriptor_language_aca56bed509f6786) }
var fileDescriptor_language_aca56bed509f6786 = []byte{
// 471 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x53, 0xdb, 0x6e, 0xd3, 0x40,
0x10, 0x6d, 0xe2, 0x26, 0x8d, 0x27, 0xd0, 0xa2, 0x15, 0x8d, 0x16, 0x97, 0x07, 0xb0, 0x40, 0xf4,
0xc9, 0x95, 0x8a, 0xb8, 0x94, 0x27, 0x10, 0x54, 0x08, 0x09, 0x24, 0x64, 0x3e, 0x00, 0x6d, 0xec,
0x89, 0x65, 0x6a, 0xef, 0x9a, 0xb5, 0x17, 0xe4, 0x8f, 0x46, 0xe2, 0x13, 0xd8, 0x9b, 0xd3, 0x40,
0x83, 0xf2, 0x36, 0x67, 0xf6, 0xcc, 0xcc, 0xd9, 0xb3, 0xb3, 0x70, 0x58, 0x31, 0x5e, 0x28, 0x56,
0x60, 0xd2, 0x48, 0xd1, 0x09, 0x12, 0x36, 0xaa, 0x52, 0x75, 0x29, 0x9b, 0x2c, 0xba, 0xd5, 0x54,
0xaa, 0x28, 0xb9, 0x3b, 0x88, 0x4e, 0x0a, 0x21, 0x8a, 0x0a, 0xcf, 0x2c, 0x5a, 0xaa, 0xd5, 0x19,
0xd6, 0x4d, 0xd7, 0xbb, 0xc3, 0x98, 0xc1, 0xbd, 0xf7, 0xd8, 0xa5, 0xf8, 0x5d, 0x95, 0x12, 0xf3,
0xcf, 0xb6, 0xae, 0x35, 0x10, 0xdb, 0x8e, 0x50, 0x38, 0xd0, 0xac, 0x6f, 0x98, 0x75, 0x74, 0xf4,
0x60, 0x74, 0x1a, 0xa6, 0x03, 0x24, 0x77, 0x20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
0x15, 0xf6, 0xde, 0x30, 0x13, 0x1a, 0xb3, 0x7e, 0xb0, 0x4a, 0xe1, 0x60, 0x96, 0x05, 0xaf, 0xc6,
0x2f, 0x47, 0xf1, 0x0b, 0x98, 0xdb, 0x7b, 0xf9, 0x57, 0xd3, 0x44, 0x94, 0x52, 0x48, 0x5f, 0xec,
0x80, 0x71, 0x6a, 0xc9, 0xca, 0xca, 0x56, 0xcf, 0x52, 0x1b, 0x9f, 0xff, 0x1e, 0xc1, 0xd1, 0x47,
0xbf, 0xa9, 0xba, 0x43, 0x57, 0xd6, 0x48, 0x32, 0x20, 0x37, 0x37, 0x82, 0x3c, 0xda, 0xf0, 0xf0,
0xbf, 0x3b, 0x19, 0x3d, 0xde, 0xc1, 0x72, 0x02, 0xe3, 0x3d, 0xf2, 0x1c, 0x02, 0x63, 0xeb, 0xf1,
0xd6, 0x97, 0x89, 0x16, 0xff, 0xa6, 0xd7, 0x75, 0xaf, 0xe1, 0xb6, 0xee, 0xeb, 0xfa, 0x7d, 0xe0,
0x2b, 0x41, 0x16, 0x89, 0xfb, 0x40, 0xc9, 0xf0, 0x81, 0x92, 0x4b, 0xf3, 0x81, 0xa2, 0xe3, 0x1b,
0x8b, 0x6a, 0xe8, 0xf1, 0xde, 0x72, 0x6a, 0x89, 0x4f, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x4e,
0xdb, 0x96, 0xaa, 0xa2, 0x03, 0x00, 0x00,
}

View file

@ -3,9 +3,11 @@
package pulumirpc
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
@ -16,11 +18,11 @@ var _ = math.Inf
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// PluginInfo is meta-information about a plugin that is used by the system.
type PluginInfo struct {
Version string `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -30,16 +32,17 @@ func (m *PluginInfo) Reset() { *m = PluginInfo{} }
func (m *PluginInfo) String() string { return proto.CompactTextString(m) }
func (*PluginInfo) ProtoMessage() {}
func (*PluginInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_plugin_672c97695d141058, []int{0}
return fileDescriptor_22a625af4bc1cc87, []int{0}
}
func (m *PluginInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PluginInfo.Unmarshal(m, b)
}
func (m *PluginInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PluginInfo.Marshal(b, m, deterministic)
}
func (dst *PluginInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_PluginInfo.Merge(dst, src)
func (m *PluginInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_PluginInfo.Merge(m, src)
}
func (m *PluginInfo) XXX_Size() int {
return xxx_messageInfo_PluginInfo.Size(m)
@ -59,10 +62,10 @@ func (m *PluginInfo) GetVersion() string {
// PluginDependency is information about a plugin that a program may depend upon.
type PluginDependency struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Kind string `protobuf:"bytes,2,opt,name=kind" json:"kind,omitempty"`
Version string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`
Server string `protobuf:"bytes,4,opt,name=server" json:"server,omitempty"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
Server string `protobuf:"bytes,4,opt,name=server,proto3" json:"server,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -72,16 +75,17 @@ func (m *PluginDependency) Reset() { *m = PluginDependency{} }
func (m *PluginDependency) String() string { return proto.CompactTextString(m) }
func (*PluginDependency) ProtoMessage() {}
func (*PluginDependency) Descriptor() ([]byte, []int) {
return fileDescriptor_plugin_672c97695d141058, []int{1}
return fileDescriptor_22a625af4bc1cc87, []int{1}
}
func (m *PluginDependency) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PluginDependency.Unmarshal(m, b)
}
func (m *PluginDependency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PluginDependency.Marshal(b, m, deterministic)
}
func (dst *PluginDependency) XXX_Merge(src proto.Message) {
xxx_messageInfo_PluginDependency.Merge(dst, src)
func (m *PluginDependency) XXX_Merge(src proto.Message) {
xxx_messageInfo_PluginDependency.Merge(m, src)
}
func (m *PluginDependency) XXX_Size() int {
return xxx_messageInfo_PluginDependency.Size(m)
@ -125,17 +129,18 @@ func init() {
proto.RegisterType((*PluginDependency)(nil), "pulumirpc.PluginDependency")
}
func init() { proto.RegisterFile("plugin.proto", fileDescriptor_plugin_672c97695d141058) }
func init() { proto.RegisterFile("plugin.proto", fileDescriptor_22a625af4bc1cc87) }
var fileDescriptor_plugin_672c97695d141058 = []byte{
// 144 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xe2, 0x29, 0xc8, 0x29, 0x4d,
var fileDescriptor_22a625af4bc1cc87 = []byte{
// 145 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x29, 0xc8, 0x29, 0x4d,
0xcf, 0xcc, 0xd3, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x2c, 0x28, 0xcd, 0x29, 0xcd, 0xcd,
0x2c, 0x2a, 0x48, 0x56, 0x52, 0xe3, 0xe2, 0x0a, 0x00, 0x4b, 0x79, 0xe6, 0xa5, 0xe5, 0x0b, 0x49,
0x70, 0xb1, 0x97, 0xa5, 0x16, 0x15, 0x67, 0xe6, 0xe7, 0x49, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06,
0xc1, 0xb8, 0x4a, 0x39, 0x5c, 0x02, 0x10, 0x75, 0x2e, 0xa9, 0x05, 0xa9, 0x79, 0x29, 0xa9, 0x79,
0xc9, 0x95, 0x42, 0x42, 0x5c, 0x2c, 0x79, 0x89, 0xb9, 0xa9, 0x50, 0xa5, 0x60, 0x36, 0x48, 0x2c,
0x3b, 0x33, 0x2f, 0x45, 0x82, 0x09, 0x22, 0x06, 0x62, 0x23, 0x9b, 0xca, 0x8c, 0x62, 0xaa, 0x90,
0x18, 0x17, 0x5b, 0x71, 0x6a, 0x11, 0x90, 0x27, 0xc1, 0x02, 0x96, 0x80, 0xf2, 0x92, 0xd8, 0xc0,
0xee, 0x34, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xf5, 0x6a, 0x82, 0x41, 0xb7, 0x00, 0x00, 0x00,
0x18, 0x17, 0x5b, 0x71, 0x6a, 0x51, 0x59, 0x6a, 0x91, 0x04, 0x0b, 0x58, 0x02, 0xca, 0x4b, 0x62,
0x03, 0xbb, 0xd3, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xf5, 0x6a, 0x82, 0x41, 0xb7, 0x00, 0x00,
0x00,
}

File diff suppressed because it is too large Load diff

View file

@ -3,15 +3,16 @@
package pulumirpc
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import empty "github.com/golang/protobuf/ptypes/empty"
import _struct "github.com/golang/protobuf/ptypes/struct"
import (
context "golang.org/x/net/context"
context "context"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
empty "github.com/golang/protobuf/ptypes/empty"
_struct "github.com/golang/protobuf/ptypes/struct"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
@ -23,12 +24,12 @@ var _ = math.Inf
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// SupportsFeatureRequest allows a client to test if the resource monitor supports a certain feature, which it may use
// to control the format or types of messages it sends.
type SupportsFeatureRequest struct {
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -38,16 +39,17 @@ func (m *SupportsFeatureRequest) Reset() { *m = SupportsFeatureRequest{}
func (m *SupportsFeatureRequest) String() string { return proto.CompactTextString(m) }
func (*SupportsFeatureRequest) ProtoMessage() {}
func (*SupportsFeatureRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_resource_beee7c3faa8096b0, []int{0}
return fileDescriptor_d1b72f771c35e3b8, []int{0}
}
func (m *SupportsFeatureRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SupportsFeatureRequest.Unmarshal(m, b)
}
func (m *SupportsFeatureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SupportsFeatureRequest.Marshal(b, m, deterministic)
}
func (dst *SupportsFeatureRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SupportsFeatureRequest.Merge(dst, src)
func (m *SupportsFeatureRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SupportsFeatureRequest.Merge(m, src)
}
func (m *SupportsFeatureRequest) XXX_Size() int {
return xxx_messageInfo_SupportsFeatureRequest.Size(m)
@ -66,7 +68,7 @@ func (m *SupportsFeatureRequest) GetId() string {
}
type SupportsFeatureResponse struct {
HasSupport bool `protobuf:"varint,1,opt,name=hasSupport" json:"hasSupport,omitempty"`
HasSupport bool `protobuf:"varint,1,opt,name=hasSupport,proto3" json:"hasSupport,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -76,16 +78,17 @@ func (m *SupportsFeatureResponse) Reset() { *m = SupportsFeatureResponse
func (m *SupportsFeatureResponse) String() string { return proto.CompactTextString(m) }
func (*SupportsFeatureResponse) ProtoMessage() {}
func (*SupportsFeatureResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_resource_beee7c3faa8096b0, []int{1}
return fileDescriptor_d1b72f771c35e3b8, []int{1}
}
func (m *SupportsFeatureResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SupportsFeatureResponse.Unmarshal(m, b)
}
func (m *SupportsFeatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SupportsFeatureResponse.Marshal(b, m, deterministic)
}
func (dst *SupportsFeatureResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SupportsFeatureResponse.Merge(dst, src)
func (m *SupportsFeatureResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SupportsFeatureResponse.Merge(m, src)
}
func (m *SupportsFeatureResponse) XXX_Size() int {
return xxx_messageInfo_SupportsFeatureResponse.Size(m)
@ -105,17 +108,17 @@ func (m *SupportsFeatureResponse) GetHasSupport() bool {
// ReadResourceRequest contains enough information to uniquely qualify and read a resource's state.
type ReadResourceRequest struct {
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
Parent string `protobuf:"bytes,4,opt,name=parent" json:"parent,omitempty"`
Properties *_struct.Struct `protobuf:"bytes,5,opt,name=properties" json:"properties,omitempty"`
Dependencies []string `protobuf:"bytes,6,rep,name=dependencies" json:"dependencies,omitempty"`
Provider string `protobuf:"bytes,7,opt,name=provider" json:"provider,omitempty"`
Version string `protobuf:"bytes,8,opt,name=version" json:"version,omitempty"`
AcceptSecrets bool `protobuf:"varint,9,opt,name=acceptSecrets" json:"acceptSecrets,omitempty"`
AdditionalSecretOutputs []string `protobuf:"bytes,10,rep,name=additionalSecretOutputs" json:"additionalSecretOutputs,omitempty"`
Aliases []string `protobuf:"bytes,11,rep,name=aliases" json:"aliases,omitempty"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
Properties *_struct.Struct `protobuf:"bytes,5,opt,name=properties,proto3" json:"properties,omitempty"`
Dependencies []string `protobuf:"bytes,6,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
Provider string `protobuf:"bytes,7,opt,name=provider,proto3" json:"provider,omitempty"`
Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"`
AcceptSecrets bool `protobuf:"varint,9,opt,name=acceptSecrets,proto3" json:"acceptSecrets,omitempty"`
AdditionalSecretOutputs []string `protobuf:"bytes,10,rep,name=additionalSecretOutputs,proto3" json:"additionalSecretOutputs,omitempty"`
Aliases []string `protobuf:"bytes,11,rep,name=aliases,proto3" json:"aliases,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -125,16 +128,17 @@ func (m *ReadResourceRequest) Reset() { *m = ReadResourceRequest{} }
func (m *ReadResourceRequest) String() string { return proto.CompactTextString(m) }
func (*ReadResourceRequest) ProtoMessage() {}
func (*ReadResourceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_resource_beee7c3faa8096b0, []int{2}
return fileDescriptor_d1b72f771c35e3b8, []int{2}
}
func (m *ReadResourceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReadResourceRequest.Unmarshal(m, b)
}
func (m *ReadResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReadResourceRequest.Marshal(b, m, deterministic)
}
func (dst *ReadResourceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReadResourceRequest.Merge(dst, src)
func (m *ReadResourceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReadResourceRequest.Merge(m, src)
}
func (m *ReadResourceRequest) XXX_Size() int {
return xxx_messageInfo_ReadResourceRequest.Size(m)
@ -224,8 +228,8 @@ func (m *ReadResourceRequest) GetAliases() []string {
// ReadResourceResponse contains the result of reading a resource's state.
type ReadResourceResponse struct {
Urn string `protobuf:"bytes,1,opt,name=urn" json:"urn,omitempty"`
Properties *_struct.Struct `protobuf:"bytes,2,opt,name=properties" json:"properties,omitempty"`
Urn string `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"`
Properties *_struct.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -235,16 +239,17 @@ func (m *ReadResourceResponse) Reset() { *m = ReadResourceResponse{} }
func (m *ReadResourceResponse) String() string { return proto.CompactTextString(m) }
func (*ReadResourceResponse) ProtoMessage() {}
func (*ReadResourceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_resource_beee7c3faa8096b0, []int{3}
return fileDescriptor_d1b72f771c35e3b8, []int{3}
}
func (m *ReadResourceResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReadResourceResponse.Unmarshal(m, b)
}
func (m *ReadResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReadResourceResponse.Marshal(b, m, deterministic)
}
func (dst *ReadResourceResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReadResourceResponse.Merge(dst, src)
func (m *ReadResourceResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReadResourceResponse.Merge(m, src)
}
func (m *ReadResourceResponse) XXX_Size() int {
return xxx_messageInfo_ReadResourceResponse.Size(m)
@ -271,25 +276,25 @@ func (m *ReadResourceResponse) GetProperties() *_struct.Struct {
// RegisterResourceRequest contains information about a resource object that was newly allocated.
type RegisterResourceRequest struct {
Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
Parent string `protobuf:"bytes,3,opt,name=parent" json:"parent,omitempty"`
Custom bool `protobuf:"varint,4,opt,name=custom" json:"custom,omitempty"`
Object *_struct.Struct `protobuf:"bytes,5,opt,name=object" json:"object,omitempty"`
Protect bool `protobuf:"varint,6,opt,name=protect" json:"protect,omitempty"`
Dependencies []string `protobuf:"bytes,7,rep,name=dependencies" json:"dependencies,omitempty"`
Provider string `protobuf:"bytes,8,opt,name=provider" json:"provider,omitempty"`
PropertyDependencies map[string]*RegisterResourceRequest_PropertyDependencies `protobuf:"bytes,9,rep,name=propertyDependencies" json:"propertyDependencies,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
DeleteBeforeReplace bool `protobuf:"varint,10,opt,name=deleteBeforeReplace" json:"deleteBeforeReplace,omitempty"`
Version string `protobuf:"bytes,11,opt,name=version" json:"version,omitempty"`
IgnoreChanges []string `protobuf:"bytes,12,rep,name=ignoreChanges" json:"ignoreChanges,omitempty"`
AcceptSecrets bool `protobuf:"varint,13,opt,name=acceptSecrets" json:"acceptSecrets,omitempty"`
AdditionalSecretOutputs []string `protobuf:"bytes,14,rep,name=additionalSecretOutputs" json:"additionalSecretOutputs,omitempty"`
Aliases []string `protobuf:"bytes,15,rep,name=aliases" json:"aliases,omitempty"`
ImportId string `protobuf:"bytes,16,opt,name=importId" json:"importId,omitempty"`
CustomTimeouts *RegisterResourceRequest_CustomTimeouts `protobuf:"bytes,17,opt,name=customTimeouts" json:"customTimeouts,omitempty"`
DeleteBeforeReplaceDefined bool `protobuf:"varint,18,opt,name=deleteBeforeReplaceDefined" json:"deleteBeforeReplaceDefined,omitempty"`
SupportsPartialValues bool `protobuf:"varint,19,opt,name=supportsPartialValues" json:"supportsPartialValues,omitempty"`
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
Custom bool `protobuf:"varint,4,opt,name=custom,proto3" json:"custom,omitempty"`
Object *_struct.Struct `protobuf:"bytes,5,opt,name=object,proto3" json:"object,omitempty"`
Protect bool `protobuf:"varint,6,opt,name=protect,proto3" json:"protect,omitempty"`
Dependencies []string `protobuf:"bytes,7,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
Provider string `protobuf:"bytes,8,opt,name=provider,proto3" json:"provider,omitempty"`
PropertyDependencies map[string]*RegisterResourceRequest_PropertyDependencies `protobuf:"bytes,9,rep,name=propertyDependencies,proto3" json:"propertyDependencies,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
DeleteBeforeReplace bool `protobuf:"varint,10,opt,name=deleteBeforeReplace,proto3" json:"deleteBeforeReplace,omitempty"`
Version string `protobuf:"bytes,11,opt,name=version,proto3" json:"version,omitempty"`
IgnoreChanges []string `protobuf:"bytes,12,rep,name=ignoreChanges,proto3" json:"ignoreChanges,omitempty"`
AcceptSecrets bool `protobuf:"varint,13,opt,name=acceptSecrets,proto3" json:"acceptSecrets,omitempty"`
AdditionalSecretOutputs []string `protobuf:"bytes,14,rep,name=additionalSecretOutputs,proto3" json:"additionalSecretOutputs,omitempty"`
Aliases []string `protobuf:"bytes,15,rep,name=aliases,proto3" json:"aliases,omitempty"`
ImportId string `protobuf:"bytes,16,opt,name=importId,proto3" json:"importId,omitempty"`
CustomTimeouts *RegisterResourceRequest_CustomTimeouts `protobuf:"bytes,17,opt,name=customTimeouts,proto3" json:"customTimeouts,omitempty"`
DeleteBeforeReplaceDefined bool `protobuf:"varint,18,opt,name=deleteBeforeReplaceDefined,proto3" json:"deleteBeforeReplaceDefined,omitempty"`
SupportsPartialValues bool `protobuf:"varint,19,opt,name=supportsPartialValues,proto3" json:"supportsPartialValues,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -299,16 +304,17 @@ func (m *RegisterResourceRequest) Reset() { *m = RegisterResourceRequest
func (m *RegisterResourceRequest) String() string { return proto.CompactTextString(m) }
func (*RegisterResourceRequest) ProtoMessage() {}
func (*RegisterResourceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_resource_beee7c3faa8096b0, []int{4}
return fileDescriptor_d1b72f771c35e3b8, []int{4}
}
func (m *RegisterResourceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RegisterResourceRequest.Unmarshal(m, b)
}
func (m *RegisterResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RegisterResourceRequest.Marshal(b, m, deterministic)
}
func (dst *RegisterResourceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_RegisterResourceRequest.Merge(dst, src)
func (m *RegisterResourceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_RegisterResourceRequest.Merge(m, src)
}
func (m *RegisterResourceRequest) XXX_Size() int {
return xxx_messageInfo_RegisterResourceRequest.Size(m)
@ -454,7 +460,7 @@ func (m *RegisterResourceRequest) GetSupportsPartialValues() bool {
// PropertyDependencies describes the resources that a particular property depends on.
type RegisterResourceRequest_PropertyDependencies struct {
Urns []string `protobuf:"bytes,1,rep,name=urns" json:"urns,omitempty"`
Urns []string `protobuf:"bytes,1,rep,name=urns,proto3" json:"urns,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -468,16 +474,17 @@ func (m *RegisterResourceRequest_PropertyDependencies) String() string {
}
func (*RegisterResourceRequest_PropertyDependencies) ProtoMessage() {}
func (*RegisterResourceRequest_PropertyDependencies) Descriptor() ([]byte, []int) {
return fileDescriptor_resource_beee7c3faa8096b0, []int{4, 0}
return fileDescriptor_d1b72f771c35e3b8, []int{4, 0}
}
func (m *RegisterResourceRequest_PropertyDependencies) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RegisterResourceRequest_PropertyDependencies.Unmarshal(m, b)
}
func (m *RegisterResourceRequest_PropertyDependencies) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RegisterResourceRequest_PropertyDependencies.Marshal(b, m, deterministic)
}
func (dst *RegisterResourceRequest_PropertyDependencies) XXX_Merge(src proto.Message) {
xxx_messageInfo_RegisterResourceRequest_PropertyDependencies.Merge(dst, src)
func (m *RegisterResourceRequest_PropertyDependencies) XXX_Merge(src proto.Message) {
xxx_messageInfo_RegisterResourceRequest_PropertyDependencies.Merge(m, src)
}
func (m *RegisterResourceRequest_PropertyDependencies) XXX_Size() int {
return xxx_messageInfo_RegisterResourceRequest_PropertyDependencies.Size(m)
@ -497,9 +504,9 @@ func (m *RegisterResourceRequest_PropertyDependencies) GetUrns() []string {
// CustomTimeouts allows a user to be able to create a set of custom timeout parameters.
type RegisterResourceRequest_CustomTimeouts struct {
Create string `protobuf:"bytes,1,opt,name=create" json:"create,omitempty"`
Update string `protobuf:"bytes,2,opt,name=update" json:"update,omitempty"`
Delete string `protobuf:"bytes,3,opt,name=delete" json:"delete,omitempty"`
Create string `protobuf:"bytes,1,opt,name=create,proto3" json:"create,omitempty"`
Update string `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"`
Delete string `protobuf:"bytes,3,opt,name=delete,proto3" json:"delete,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -511,16 +518,17 @@ func (m *RegisterResourceRequest_CustomTimeouts) Reset() {
func (m *RegisterResourceRequest_CustomTimeouts) String() string { return proto.CompactTextString(m) }
func (*RegisterResourceRequest_CustomTimeouts) ProtoMessage() {}
func (*RegisterResourceRequest_CustomTimeouts) Descriptor() ([]byte, []int) {
return fileDescriptor_resource_beee7c3faa8096b0, []int{4, 1}
return fileDescriptor_d1b72f771c35e3b8, []int{4, 1}
}
func (m *RegisterResourceRequest_CustomTimeouts) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RegisterResourceRequest_CustomTimeouts.Unmarshal(m, b)
}
func (m *RegisterResourceRequest_CustomTimeouts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RegisterResourceRequest_CustomTimeouts.Marshal(b, m, deterministic)
}
func (dst *RegisterResourceRequest_CustomTimeouts) XXX_Merge(src proto.Message) {
xxx_messageInfo_RegisterResourceRequest_CustomTimeouts.Merge(dst, src)
func (m *RegisterResourceRequest_CustomTimeouts) XXX_Merge(src proto.Message) {
xxx_messageInfo_RegisterResourceRequest_CustomTimeouts.Merge(m, src)
}
func (m *RegisterResourceRequest_CustomTimeouts) XXX_Size() int {
return xxx_messageInfo_RegisterResourceRequest_CustomTimeouts.Size(m)
@ -555,11 +563,11 @@ func (m *RegisterResourceRequest_CustomTimeouts) GetDelete() string {
// RegisterResourceResponse is returned by the engine after a resource has finished being initialized. It includes the
// auto-assigned URN, the provider-assigned ID, and any other properties initialized by the engine.
type RegisterResourceResponse struct {
Urn string `protobuf:"bytes,1,opt,name=urn" json:"urn,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
Object *_struct.Struct `protobuf:"bytes,3,opt,name=object" json:"object,omitempty"`
Stable bool `protobuf:"varint,4,opt,name=stable" json:"stable,omitempty"`
Stables []string `protobuf:"bytes,5,rep,name=stables" json:"stables,omitempty"`
Urn string `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
Object *_struct.Struct `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
Stable bool `protobuf:"varint,4,opt,name=stable,proto3" json:"stable,omitempty"`
Stables []string `protobuf:"bytes,5,rep,name=stables,proto3" json:"stables,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -569,16 +577,17 @@ func (m *RegisterResourceResponse) Reset() { *m = RegisterResourceRespon
func (m *RegisterResourceResponse) String() string { return proto.CompactTextString(m) }
func (*RegisterResourceResponse) ProtoMessage() {}
func (*RegisterResourceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_resource_beee7c3faa8096b0, []int{5}
return fileDescriptor_d1b72f771c35e3b8, []int{5}
}
func (m *RegisterResourceResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RegisterResourceResponse.Unmarshal(m, b)
}
func (m *RegisterResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RegisterResourceResponse.Marshal(b, m, deterministic)
}
func (dst *RegisterResourceResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_RegisterResourceResponse.Merge(dst, src)
func (m *RegisterResourceResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_RegisterResourceResponse.Merge(m, src)
}
func (m *RegisterResourceResponse) XXX_Size() int {
return xxx_messageInfo_RegisterResourceResponse.Size(m)
@ -626,8 +635,8 @@ func (m *RegisterResourceResponse) GetStables() []string {
// RegisterResourceOutputsRequest adds extra resource outputs created by the program after registration has occurred.
type RegisterResourceOutputsRequest struct {
Urn string `protobuf:"bytes,1,opt,name=urn" json:"urn,omitempty"`
Outputs *_struct.Struct `protobuf:"bytes,2,opt,name=outputs" json:"outputs,omitempty"`
Urn string `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"`
Outputs *_struct.Struct `protobuf:"bytes,2,opt,name=outputs,proto3" json:"outputs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -637,16 +646,17 @@ func (m *RegisterResourceOutputsRequest) Reset() { *m = RegisterResource
func (m *RegisterResourceOutputsRequest) String() string { return proto.CompactTextString(m) }
func (*RegisterResourceOutputsRequest) ProtoMessage() {}
func (*RegisterResourceOutputsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_resource_beee7c3faa8096b0, []int{6}
return fileDescriptor_d1b72f771c35e3b8, []int{6}
}
func (m *RegisterResourceOutputsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RegisterResourceOutputsRequest.Unmarshal(m, b)
}
func (m *RegisterResourceOutputsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RegisterResourceOutputsRequest.Marshal(b, m, deterministic)
}
func (dst *RegisterResourceOutputsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_RegisterResourceOutputsRequest.Merge(dst, src)
func (m *RegisterResourceOutputsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_RegisterResourceOutputsRequest.Merge(m, src)
}
func (m *RegisterResourceOutputsRequest) XXX_Size() int {
return xxx_messageInfo_RegisterResourceOutputsRequest.Size(m)
@ -684,16 +694,79 @@ func init() {
proto.RegisterType((*RegisterResourceOutputsRequest)(nil), "pulumirpc.RegisterResourceOutputsRequest")
}
func init() { proto.RegisterFile("resource.proto", fileDescriptor_d1b72f771c35e3b8) }
var fileDescriptor_d1b72f771c35e3b8 = []byte{
// 882 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x51, 0x6f, 0x23, 0x35,
0x10, 0xbe, 0x4d, 0x7a, 0x69, 0x32, 0xed, 0xa5, 0xc5, 0x2d, 0x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0xde, 0xfe, 0x90,
0x87, 0xd1, 0x4d, 0x21, 0x15, 0xb3, 0xd1, 0x1d, 0xf2, 0x05, 0xf4, 0x9e, 0x17, 0xd7, 0xfc, 0x0a,
0x09, 0x5d, 0x8a, 0xaf, 0x20, 0x9f, 0xe9, 0x7e, 0x8b, 0x67, 0x91, 0xe0, 0x6b, 0xd8, 0x3d, 0xd7,
0x12, 0xd9, 0xec, 0xb5, 0xd2, 0x3c, 0x08, 0xc8, 0xb7, 0xb0, 0xbb, 0xfc, 0x70, 0x91, 0xe3, 0x9a,
0xac, 0x1a, 0x7f, 0x11, 0xe1, 0x3b, 0x6b, 0xfd, 0x8b, 0xb3, 0xfd, 0x0c, 0xfb, 0xab, 0x35, 0x23,
0xd1, 0xed, 0x6a, 0x0d, 0xdf, 0xbb, 0x31, 0x66, 0x91, 0xfe, 0x97, 0xe6, 0x33, 0xe8, 0xe7, 0xdb,
0x07, 0x37, 0x64, 0xa8, 0xcb, 0x26, 0x1c, 0x35, 0x34, 0xf1, 0xcc, 0xfc, 0xd6, 0x45, 0x77, 0x2e,
0x7a, 0x16, 0xf9, 0xe8, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0xa9, 0x5c, 0x60, 0x13, 0x0a,
0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
var _ grpc.ClientConnInterface
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// Client API for ResourceMonitor service
const _ = grpc.SupportPackageIsVersion6
// ResourceMonitorClient is the client API for ResourceMonitor service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type ResourceMonitorClient interface {
SupportsFeature(ctx context.Context, in *SupportsFeatureRequest, opts ...grpc.CallOption) (*SupportsFeatureResponse, error)
Invoke(ctx context.Context, in *InvokeRequest, opts ...grpc.CallOption) (*InvokeResponse, error)
@ -704,16 +777,16 @@ type ResourceMonitorClient interface {
}
type resourceMonitorClient struct {
cc *grpc.ClientConn
cc grpc.ClientConnInterface
}
func NewResourceMonitorClient(cc *grpc.ClientConn) ResourceMonitorClient {
func NewResourceMonitorClient(cc grpc.ClientConnInterface) ResourceMonitorClient {
return &resourceMonitorClient{cc}
}
func (c *resourceMonitorClient) SupportsFeature(ctx context.Context, in *SupportsFeatureRequest, opts ...grpc.CallOption) (*SupportsFeatureResponse, error) {
out := new(SupportsFeatureResponse)
err := grpc.Invoke(ctx, "/pulumirpc.ResourceMonitor/SupportsFeature", in, out, c.cc, opts...)
err := c.cc.Invoke(ctx, "/pulumirpc.ResourceMonitor/SupportsFeature", in, out, opts...)
if err != nil {
return nil, err
}
@ -722,7 +795,7 @@ func (c *resourceMonitorClient) SupportsFeature(ctx context.Context, in *Support
func (c *resourceMonitorClient) Invoke(ctx context.Context, in *InvokeRequest, opts ...grpc.CallOption) (*InvokeResponse, error) {
out := new(InvokeResponse)
err := grpc.Invoke(ctx, "/pulumirpc.ResourceMonitor/Invoke", in, out, c.cc, opts...)
err := c.cc.Invoke(ctx, "/pulumirpc.ResourceMonitor/Invoke", in, out, opts...)
if err != nil {
return nil, err
}
@ -730,7 +803,7 @@ func (c *resourceMonitorClient) Invoke(ctx context.Context, in *InvokeRequest, o
}
func (c *resourceMonitorClient) StreamInvoke(ctx context.Context, in *InvokeRequest, opts ...grpc.CallOption) (ResourceMonitor_StreamInvokeClient, error) {
stream, err := grpc.NewClientStream(ctx, &_ResourceMonitor_serviceDesc.Streams[0], c.cc, "/pulumirpc.ResourceMonitor/StreamInvoke", opts...)
stream, err := c.cc.NewStream(ctx, &_ResourceMonitor_serviceDesc.Streams[0], "/pulumirpc.ResourceMonitor/StreamInvoke", opts...)
if err != nil {
return nil, err
}
@ -763,7 +836,7 @@ func (x *resourceMonitorStreamInvokeClient) Recv() (*InvokeResponse, error) {
func (c *resourceMonitorClient) ReadResource(ctx context.Context, in *ReadResourceRequest, opts ...grpc.CallOption) (*ReadResourceResponse, error) {
out := new(ReadResourceResponse)
err := grpc.Invoke(ctx, "/pulumirpc.ResourceMonitor/ReadResource", in, out, c.cc, opts...)
err := c.cc.Invoke(ctx, "/pulumirpc.ResourceMonitor/ReadResource", in, out, opts...)
if err != nil {
return nil, err
}
@ -772,7 +845,7 @@ func (c *resourceMonitorClient) ReadResource(ctx context.Context, in *ReadResour
func (c *resourceMonitorClient) RegisterResource(ctx context.Context, in *RegisterResourceRequest, opts ...grpc.CallOption) (*RegisterResourceResponse, error) {
out := new(RegisterResourceResponse)
err := grpc.Invoke(ctx, "/pulumirpc.ResourceMonitor/RegisterResource", in, out, c.cc, opts...)
err := c.cc.Invoke(ctx, "/pulumirpc.ResourceMonitor/RegisterResource", in, out, opts...)
if err != nil {
return nil, err
}
@ -781,15 +854,14 @@ func (c *resourceMonitorClient) RegisterResource(ctx context.Context, in *Regist
func (c *resourceMonitorClient) RegisterResourceOutputs(ctx context.Context, in *RegisterResourceOutputsRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := grpc.Invoke(ctx, "/pulumirpc.ResourceMonitor/RegisterResourceOutputs", in, out, c.cc, opts...)
err := c.cc.Invoke(ctx, "/pulumirpc.ResourceMonitor/RegisterResourceOutputs", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for ResourceMonitor service
// ResourceMonitorServer is the server API for ResourceMonitor service.
type ResourceMonitorServer interface {
SupportsFeature(context.Context, *SupportsFeatureRequest) (*SupportsFeatureResponse, error)
Invoke(context.Context, *InvokeRequest) (*InvokeResponse, error)
@ -799,6 +871,29 @@ type ResourceMonitorServer interface {
RegisterResourceOutputs(context.Context, *RegisterResourceOutputsRequest) (*empty.Empty, error)
}
// UnimplementedResourceMonitorServer can be embedded to have forward compatible implementations.
type UnimplementedResourceMonitorServer struct {
}
func (*UnimplementedResourceMonitorServer) SupportsFeature(ctx context.Context, req *SupportsFeatureRequest) (*SupportsFeatureResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SupportsFeature not implemented")
}
func (*UnimplementedResourceMonitorServer) Invoke(ctx context.Context, req *InvokeRequest) (*InvokeResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Invoke not implemented")
}
func (*UnimplementedResourceMonitorServer) StreamInvoke(req *InvokeRequest, srv ResourceMonitor_StreamInvokeServer) error {
return status.Errorf(codes.Unimplemented, "method StreamInvoke not implemented")
}
func (*UnimplementedResourceMonitorServer) ReadResource(ctx context.Context, req *ReadResourceRequest) (*ReadResourceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ReadResource not implemented")
}
func (*UnimplementedResourceMonitorServer) RegisterResource(ctx context.Context, req *RegisterResourceRequest) (*RegisterResourceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method RegisterResource not implemented")
}
func (*UnimplementedResourceMonitorServer) RegisterResourceOutputs(ctx context.Context, req *RegisterResourceOutputsRequest) (*empty.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method RegisterResourceOutputs not implemented")
}
func RegisterResourceMonitorServer(s *grpc.Server, srv ResourceMonitorServer) {
s.RegisterService(&_ResourceMonitor_serviceDesc, srv)
}
@ -948,64 +1043,3 @@ var _ResourceMonitor_serviceDesc = grpc.ServiceDesc{
},
Metadata: "resource.proto",
}
func init() { proto.RegisterFile("resource.proto", fileDescriptor_resource_beee7c3faa8096b0) }
var fileDescriptor_resource_beee7c3faa8096b0 = []byte{
// 878 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xa4, 0x56, 0xdd, 0x6e, 0x1b, 0x45,
0x14, 0xae, 0xed, 0xd4, 0x71, 0x4e, 0x52, 0x27, 0x4c, 0x42, 0xb2, 0x5d, 0x50, 0x28, 0x0b, 0x17,
0x85, 0x0b, 0xa7, 0x0d, 0x48, 0x2d, 0x08, 0x81, 0x44, 0x5b, 0x50, 0x2f, 0x2a, 0xca, 0x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0xaa, 0x7c, 0xa6, 0xbb, 0x1d, 0x96, 0x45, 0x82, 0xaf, 0x61, 0x47, 0xd5, 0x80, 0x74, 0xf6, 0x5a,
0x69, 0x1e, 0xf4, 0xc8, 0xb7, 0xb0, 0xb3, 0xfc, 0x70, 0x91, 0xe3, 0x1a, 0xad, 0x5a, 0xff, 0x22,
0xc2, 0x77, 0x56, 0xda, 0x17, 0x77, 0xfb, 0x19, 0xf6, 0x9a, 0x3d, 0x23, 0xd1, 0xcd, 0x6c, 0x0d,
0xdf, 0xbb, 0xd6, 0x67, 0x91, 0xfe, 0x97, 0xf6, 0x33, 0xe8, 0xf7, 0xdb, 0x07, 0xd7, 0x64, 0xa8,
0xd3, 0x26, 0x3c, 0x6c, 0x71, 0xe2, 0x99, 0xfe, 0x5b, 0x17, 0xdd, 0x3a, 0x1f, 0x1a, 0xcd, 0x47,
0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x00, 0xa9, 0x5c, 0x60, 0x13, 0x0a, 0x00, 0x00,
}

View file

@ -1 +1 @@
Generated by version libprotoc 3.5.1 of protoc
Generated by version libprotoc 3.11.4 of protoc

View file

@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: analyzer.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
@ -23,7 +22,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package='pulumirpc',
syntax='proto3',
serialized_options=None,
serialized_pb=_b('\n\x0e\x61nalyzer.proto\x12\tpulumirpc\x1a\x0cplugin.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xd2\x01\n\x0e\x41nalyzeRequest\x12\x0c\n\x04type\x18\x01 \x01(\t\x12+\n\nproperties\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0b\n\x03urn\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x33\n\x07options\x18\x05 \x01(\x0b\x32\".pulumirpc.AnalyzerResourceOptions\x12\x35\n\x08provider\x18\x06 \x01(\x0b\x32#.pulumirpc.AnalyzerProviderResource\"\xb5\x03\n\x10\x41nalyzerResource\x12\x0c\n\x04type\x18\x01 \x01(\t\x12+\n\nproperties\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0b\n\x03urn\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x33\n\x07options\x18\x05 \x01(\x0b\x32\".pulumirpc.AnalyzerResourceOptions\x12\x35\n\x08provider\x18\x06 \x01(\x0b\x32#.pulumirpc.AnalyzerProviderResource\x12\x0e\n\x06parent\x18\x07 \x01(\t\x12\x14\n\x0c\x64\x65pendencies\x18\x08 \x03(\t\x12S\n\x14propertyDependencies\x18\t \x03(\x0b\x32\x35.pulumirpc.AnalyzerResource.PropertyDependenciesEntry\x1a\x64\n\x19PropertyDependenciesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.pulumirpc.AnalyzerPropertyDependencies:\x02\x38\x01\"\xc1\x02\n\x17\x41nalyzerResourceOptions\x12\x0f\n\x07protect\x18\x01 \x01(\x08\x12\x15\n\rignoreChanges\x18\x02 \x03(\t\x12\x1b\n\x13\x64\x65leteBeforeReplace\x18\x03 \x01(\x08\x12\"\n\x1a\x64\x65leteBeforeReplaceDefined\x18\x04 \x01(\x08\x12\x1f\n\x17\x61\x64\x64itionalSecretOutputs\x18\x05 \x03(\t\x12\x0f\n\x07\x61liases\x18\x06 \x03(\t\x12I\n\x0e\x63ustomTimeouts\x18\x07 \x01(\x0b\x32\x31.pulumirpc.AnalyzerResourceOptions.CustomTimeouts\x1a@\n\x0e\x43ustomTimeouts\x12\x0e\n\x06\x63reate\x18\x01 \x01(\x01\x12\x0e\n\x06update\x18\x02 \x01(\x01\x12\x0e\n\x06\x64\x65lete\x18\x03 \x01(\x01\"p\n\x18\x41nalyzerProviderResource\x12\x0c\n\x04type\x18\x01 \x01(\t\x12+\n\nproperties\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0b\n\x03urn\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\",\n\x1c\x41nalyzerPropertyDependencies\x12\x0c\n\x04urns\x18\x01 \x03(\t\"E\n\x13\x41nalyzeStackRequest\x12.\n\tresources\x18\x01 \x03(\x0b\x32\x1b.pulumirpc.AnalyzerResource\"D\n\x0f\x41nalyzeResponse\x12\x31\n\x0b\x64iagnostics\x18\x02 \x03(\x0b\x32\x1c.pulumirpc.AnalyzeDiagnostic\"\xd2\x01\n\x11\x41nalyzeDiagnostic\x12\x12\n\npolicyName\x18\x01 \x01(\t\x12\x16\n\x0epolicyPackName\x18\x02 \x01(\t\x12\x19\n\x11policyPackVersion\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x0f\n\x07message\x18\x05 \x01(\t\x12\x0c\n\x04tags\x18\x06 \x03(\t\x12\x35\n\x10\x65nforcementLevel\x18\x07 \x01(\x0e\x32\x1b.pulumirpc.EnforcementLevel\x12\x0b\n\x03urn\x18\x08 \x01(\t\"k\n\x0c\x41nalyzerInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64isplayName\x18\x02 \x01(\t\x12\'\n\x08policies\x18\x03 \x03(\x0b\x32\x15.pulumirpc.PolicyInfo\x12\x0f\n\x07version\x18\x04 \x01(\t\"\x8c\x01\n\nPolicyInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64isplayName\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x0f\n\x07message\x18\x04 \x01(\t\x12\x35\n\x10\x65nforcementLevel\x18\x05 \x01(\x0e\x32\x1b.pulumirpc.EnforcementLevel*/\n\x10\x45nforcementLevel\x12\x0c\n\x08\x41\x44VISORY\x10\x00\x12\r\n\tMANDATORY\x10\x01\x32\xa4\x02\n\x08\x41nalyzer\x12\x42\n\x07\x41nalyze\x12\x19.pulumirpc.AnalyzeRequest\x1a\x1a.pulumirpc.AnalyzeResponse\"\x00\x12L\n\x0c\x41nalyzeStack\x12\x1e.pulumirpc.AnalyzeStackRequest\x1a\x1a.pulumirpc.AnalyzeResponse\"\x00\x12\x44\n\x0fGetAnalyzerInfo\x12\x16.google.protobuf.Empty\x1a\x17.pulumirpc.AnalyzerInfo\"\x00\x12@\n\rGetPluginInfo\x12\x16.google.protobuf.Empty\x1a\x15.pulumirpc.PluginInfo\"\x00\x62\x06proto3')
serialized_pb=b'\n\x0e\x61nalyzer.proto\x12\tpulumirpc\x1a\x0cplugin.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xd2\x01\n\x0e\x41nalyzeRequest\x12\x0c\n\x04type\x18\x01 \x01(\t\x12+\n\nproperties\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0b\n\x03urn\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x33\n\x07options\x18\x05 \x01(\x0b\x32\".pulumirpc.AnalyzerResourceOptions\x12\x35\n\x08provider\x18\x06 \x01(\x0b\x32#.pulumirpc.AnalyzerProviderResource\"\xb5\x03\n\x10\x41nalyzerResource\x12\x0c\n\x04type\x18\x01 \x01(\t\x12+\n\nproperties\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0b\n\x03urn\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x33\n\x07options\x18\x05 \x01(\x0b\x32\".pulumirpc.AnalyzerResourceOptions\x12\x35\n\x08provider\x18\x06 \x01(\x0b\x32#.pulumirpc.AnalyzerProviderResource\x12\x0e\n\x06parent\x18\x07 \x01(\t\x12\x14\n\x0c\x64\x65pendencies\x18\x08 \x03(\t\x12S\n\x14propertyDependencies\x18\t \x03(\x0b\x32\x35.pulumirpc.AnalyzerResource.PropertyDependenciesEntry\x1a\x64\n\x19PropertyDependenciesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.pulumirpc.AnalyzerPropertyDependencies:\x02\x38\x01\"\xc1\x02\n\x17\x41nalyzerResourceOptions\x12\x0f\n\x07protect\x18\x01 \x01(\x08\x12\x15\n\rignoreChanges\x18\x02 \x03(\t\x12\x1b\n\x13\x64\x65leteBeforeReplace\x18\x03 \x01(\x08\x12\"\n\x1a\x64\x65leteBeforeReplaceDefined\x18\x04 \x01(\x08\x12\x1f\n\x17\x61\x64\x64itionalSecretOutputs\x18\x05 \x03(\t\x12\x0f\n\x07\x61liases\x18\x06 \x03(\t\x12I\n\x0e\x63ustomTimeouts\x18\x07 \x01(\x0b\x32\x31.pulumirpc.AnalyzerResourceOptions.CustomTimeouts\x1a@\n\x0e\x43ustomTimeouts\x12\x0e\n\x06\x63reate\x18\x01 \x01(\x01\x12\x0e\n\x06update\x18\x02 \x01(\x01\x12\x0e\n\x06\x64\x65lete\x18\x03 \x01(\x01\"p\n\x18\x41nalyzerProviderResource\x12\x0c\n\x04type\x18\x01 \x01(\t\x12+\n\nproperties\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0b\n\x03urn\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\",\n\x1c\x41nalyzerPropertyDependencies\x12\x0c\n\x04urns\x18\x01 \x03(\t\"E\n\x13\x41nalyzeStackRequest\x12.\n\tresources\x18\x01 \x03(\x0b\x32\x1b.pulumirpc.AnalyzerResource\"D\n\x0f\x41nalyzeResponse\x12\x31\n\x0b\x64iagnostics\x18\x02 \x03(\x0b\x32\x1c.pulumirpc.AnalyzeDiagnostic\"\xd2\x01\n\x11\x41nalyzeDiagnostic\x12\x12\n\npolicyName\x18\x01 \x01(\t\x12\x16\n\x0epolicyPackName\x18\x02 \x01(\t\x12\x19\n\x11policyPackVersion\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x0f\n\x07message\x18\x05 \x01(\t\x12\x0c\n\x04tags\x18\x06 \x03(\t\x12\x35\n\x10\x65nforcementLevel\x18\x07 \x01(\x0e\x32\x1b.pulumirpc.EnforcementLevel\x12\x0b\n\x03urn\x18\x08 \x01(\t\"k\n\x0c\x41nalyzerInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64isplayName\x18\x02 \x01(\t\x12\'\n\x08policies\x18\x03 \x03(\x0b\x32\x15.pulumirpc.PolicyInfo\x12\x0f\n\x07version\x18\x04 \x01(\t\"\x8c\x01\n\nPolicyInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64isplayName\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x0f\n\x07message\x18\x04 \x01(\t\x12\x35\n\x10\x65nforcementLevel\x18\x05 \x01(\x0e\x32\x1b.pulumirpc.EnforcementLevel*/\n\x10\x45nforcementLevel\x12\x0c\n\x08\x41\x44VISORY\x10\x00\x12\r\n\tMANDATORY\x10\x01\x32\xa4\x02\n\x08\x41nalyzer\x12\x42\n\x07\x41nalyze\x12\x19.pulumirpc.AnalyzeRequest\x1a\x1a.pulumirpc.AnalyzeResponse\"\x00\x12L\n\x0c\x41nalyzeStack\x12\x1e.pulumirpc.AnalyzeStackRequest\x1a\x1a.pulumirpc.AnalyzeResponse\"\x00\x12\x44\n\x0fGetAnalyzerInfo\x12\x16.google.protobuf.Empty\x1a\x17.pulumirpc.AnalyzerInfo\"\x00\x12@\n\rGetPluginInfo\x12\x16.google.protobuf.Empty\x1a\x15.pulumirpc.PluginInfo\"\x00\x62\x06proto3'
,
dependencies=[plugin__pb2.DESCRIPTOR,google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,])
@ -65,7 +64,7 @@ _ANALYZEREQUEST = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='type', full_name='pulumirpc.AnalyzeRequest.type', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -79,14 +78,14 @@ _ANALYZEREQUEST = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='urn', full_name='pulumirpc.AnalyzeRequest.urn', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='name', full_name='pulumirpc.AnalyzeRequest.name', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -131,7 +130,7 @@ _ANALYZERRESOURCE_PROPERTYDEPENDENCIESENTRY = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='key', full_name='pulumirpc.AnalyzerResource.PropertyDependenciesEntry.key', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -148,7 +147,7 @@ _ANALYZERRESOURCE_PROPERTYDEPENDENCIESENTRY = _descriptor.Descriptor(
nested_types=[],
enum_types=[
],
serialized_options=_b('8\001'),
serialized_options=b'8\001',
is_extendable=False,
syntax='proto3',
extension_ranges=[],
@ -168,7 +167,7 @@ _ANALYZERRESOURCE = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='type', full_name='pulumirpc.AnalyzerResource.type', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -182,14 +181,14 @@ _ANALYZERRESOURCE = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='urn', full_name='pulumirpc.AnalyzerResource.urn', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='name', full_name='pulumirpc.AnalyzerResource.name', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -210,7 +209,7 @@ _ANALYZERRESOURCE = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='parent', full_name='pulumirpc.AnalyzerResource.parent', index=6,
number=7, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -372,7 +371,7 @@ _ANALYZERPROVIDERRESOURCE = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='type', full_name='pulumirpc.AnalyzerProviderResource.type', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -386,14 +385,14 @@ _ANALYZERPROVIDERRESOURCE = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='urn', full_name='pulumirpc.AnalyzerProviderResource.urn', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='name', full_name='pulumirpc.AnalyzerProviderResource.name', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -517,35 +516,35 @@ _ANALYZEDIAGNOSTIC = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='policyName', full_name='pulumirpc.AnalyzeDiagnostic.policyName', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='policyPackName', full_name='pulumirpc.AnalyzeDiagnostic.policyPackName', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='policyPackVersion', full_name='pulumirpc.AnalyzeDiagnostic.policyPackVersion', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='description', full_name='pulumirpc.AnalyzeDiagnostic.description', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='message', full_name='pulumirpc.AnalyzeDiagnostic.message', index=4,
number=5, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -566,7 +565,7 @@ _ANALYZEDIAGNOSTIC = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='urn', full_name='pulumirpc.AnalyzeDiagnostic.urn', index=7,
number=8, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -597,14 +596,14 @@ _ANALYZERINFO = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='name', full_name='pulumirpc.AnalyzerInfo.name', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='displayName', full_name='pulumirpc.AnalyzerInfo.displayName', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -618,7 +617,7 @@ _ANALYZERINFO = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='version', full_name='pulumirpc.AnalyzerInfo.version', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -649,28 +648,28 @@ _POLICYINFO = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='name', full_name='pulumirpc.PolicyInfo.name', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='displayName', full_name='pulumirpc.PolicyInfo.displayName', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='description', full_name='pulumirpc.PolicyInfo.description', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='message', full_name='pulumirpc.PolicyInfo.message', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -727,90 +726,90 @@ DESCRIPTOR.message_types_by_name['PolicyInfo'] = _POLICYINFO
DESCRIPTOR.enum_types_by_name['EnforcementLevel'] = _ENFORCEMENTLEVEL
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
AnalyzeRequest = _reflection.GeneratedProtocolMessageType('AnalyzeRequest', (_message.Message,), dict(
DESCRIPTOR = _ANALYZEREQUEST,
__module__ = 'analyzer_pb2'
AnalyzeRequest = _reflection.GeneratedProtocolMessageType('AnalyzeRequest', (_message.Message,), {
'DESCRIPTOR' : _ANALYZEREQUEST,
'__module__' : 'analyzer_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.AnalyzeRequest)
))
})
_sym_db.RegisterMessage(AnalyzeRequest)
AnalyzerResource = _reflection.GeneratedProtocolMessageType('AnalyzerResource', (_message.Message,), dict(
AnalyzerResource = _reflection.GeneratedProtocolMessageType('AnalyzerResource', (_message.Message,), {
PropertyDependenciesEntry = _reflection.GeneratedProtocolMessageType('PropertyDependenciesEntry', (_message.Message,), dict(
DESCRIPTOR = _ANALYZERRESOURCE_PROPERTYDEPENDENCIESENTRY,
__module__ = 'analyzer_pb2'
'PropertyDependenciesEntry' : _reflection.GeneratedProtocolMessageType('PropertyDependenciesEntry', (_message.Message,), {
'DESCRIPTOR' : _ANALYZERRESOURCE_PROPERTYDEPENDENCIESENTRY,
'__module__' : 'analyzer_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.AnalyzerResource.PropertyDependenciesEntry)
))
})
,
DESCRIPTOR = _ANALYZERRESOURCE,
__module__ = 'analyzer_pb2'
'DESCRIPTOR' : _ANALYZERRESOURCE,
'__module__' : 'analyzer_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.AnalyzerResource)
))
})
_sym_db.RegisterMessage(AnalyzerResource)
_sym_db.RegisterMessage(AnalyzerResource.PropertyDependenciesEntry)
AnalyzerResourceOptions = _reflection.GeneratedProtocolMessageType('AnalyzerResourceOptions', (_message.Message,), dict(
AnalyzerResourceOptions = _reflection.GeneratedProtocolMessageType('AnalyzerResourceOptions', (_message.Message,), {
CustomTimeouts = _reflection.GeneratedProtocolMessageType('CustomTimeouts', (_message.Message,), dict(
DESCRIPTOR = _ANALYZERRESOURCEOPTIONS_CUSTOMTIMEOUTS,
__module__ = 'analyzer_pb2'
'CustomTimeouts' : _reflection.GeneratedProtocolMessageType('CustomTimeouts', (_message.Message,), {
'DESCRIPTOR' : _ANALYZERRESOURCEOPTIONS_CUSTOMTIMEOUTS,
'__module__' : 'analyzer_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.AnalyzerResourceOptions.CustomTimeouts)
))
})
,
DESCRIPTOR = _ANALYZERRESOURCEOPTIONS,
__module__ = 'analyzer_pb2'
'DESCRIPTOR' : _ANALYZERRESOURCEOPTIONS,
'__module__' : 'analyzer_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.AnalyzerResourceOptions)
))
})
_sym_db.RegisterMessage(AnalyzerResourceOptions)
_sym_db.RegisterMessage(AnalyzerResourceOptions.CustomTimeouts)
AnalyzerProviderResource = _reflection.GeneratedProtocolMessageType('AnalyzerProviderResource', (_message.Message,), dict(
DESCRIPTOR = _ANALYZERPROVIDERRESOURCE,
__module__ = 'analyzer_pb2'
AnalyzerProviderResource = _reflection.GeneratedProtocolMessageType('AnalyzerProviderResource', (_message.Message,), {
'DESCRIPTOR' : _ANALYZERPROVIDERRESOURCE,
'__module__' : 'analyzer_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.AnalyzerProviderResource)
))
})
_sym_db.RegisterMessage(AnalyzerProviderResource)
AnalyzerPropertyDependencies = _reflection.GeneratedProtocolMessageType('AnalyzerPropertyDependencies', (_message.Message,), dict(
DESCRIPTOR = _ANALYZERPROPERTYDEPENDENCIES,
__module__ = 'analyzer_pb2'
AnalyzerPropertyDependencies = _reflection.GeneratedProtocolMessageType('AnalyzerPropertyDependencies', (_message.Message,), {
'DESCRIPTOR' : _ANALYZERPROPERTYDEPENDENCIES,
'__module__' : 'analyzer_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.AnalyzerPropertyDependencies)
))
})
_sym_db.RegisterMessage(AnalyzerPropertyDependencies)
AnalyzeStackRequest = _reflection.GeneratedProtocolMessageType('AnalyzeStackRequest', (_message.Message,), dict(
DESCRIPTOR = _ANALYZESTACKREQUEST,
__module__ = 'analyzer_pb2'
AnalyzeStackRequest = _reflection.GeneratedProtocolMessageType('AnalyzeStackRequest', (_message.Message,), {
'DESCRIPTOR' : _ANALYZESTACKREQUEST,
'__module__' : 'analyzer_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.AnalyzeStackRequest)
))
})
_sym_db.RegisterMessage(AnalyzeStackRequest)
AnalyzeResponse = _reflection.GeneratedProtocolMessageType('AnalyzeResponse', (_message.Message,), dict(
DESCRIPTOR = _ANALYZERESPONSE,
__module__ = 'analyzer_pb2'
AnalyzeResponse = _reflection.GeneratedProtocolMessageType('AnalyzeResponse', (_message.Message,), {
'DESCRIPTOR' : _ANALYZERESPONSE,
'__module__' : 'analyzer_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.AnalyzeResponse)
))
})
_sym_db.RegisterMessage(AnalyzeResponse)
AnalyzeDiagnostic = _reflection.GeneratedProtocolMessageType('AnalyzeDiagnostic', (_message.Message,), dict(
DESCRIPTOR = _ANALYZEDIAGNOSTIC,
__module__ = 'analyzer_pb2'
AnalyzeDiagnostic = _reflection.GeneratedProtocolMessageType('AnalyzeDiagnostic', (_message.Message,), {
'DESCRIPTOR' : _ANALYZEDIAGNOSTIC,
'__module__' : 'analyzer_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.AnalyzeDiagnostic)
))
})
_sym_db.RegisterMessage(AnalyzeDiagnostic)
AnalyzerInfo = _reflection.GeneratedProtocolMessageType('AnalyzerInfo', (_message.Message,), dict(
DESCRIPTOR = _ANALYZERINFO,
__module__ = 'analyzer_pb2'
AnalyzerInfo = _reflection.GeneratedProtocolMessageType('AnalyzerInfo', (_message.Message,), {
'DESCRIPTOR' : _ANALYZERINFO,
'__module__' : 'analyzer_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.AnalyzerInfo)
))
})
_sym_db.RegisterMessage(AnalyzerInfo)
PolicyInfo = _reflection.GeneratedProtocolMessageType('PolicyInfo', (_message.Message,), dict(
DESCRIPTOR = _POLICYINFO,
__module__ = 'analyzer_pb2'
PolicyInfo = _reflection.GeneratedProtocolMessageType('PolicyInfo', (_message.Message,), {
'DESCRIPTOR' : _POLICYINFO,
'__module__' : 'analyzer_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.PolicyInfo)
))
})
_sym_db.RegisterMessage(PolicyInfo)

View file

@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: engine.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
@ -21,7 +20,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package='pulumirpc',
syntax='proto3',
serialized_options=None,
serialized_pb=_b('\n\x0c\x65ngine.proto\x12\tpulumirpc\x1a\x1bgoogle/protobuf/empty.proto\"y\n\nLogRequest\x12(\n\x08severity\x18\x01 \x01(\x0e\x32\x16.pulumirpc.LogSeverity\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x0b\n\x03urn\x18\x03 \x01(\t\x12\x10\n\x08streamId\x18\x04 \x01(\x05\x12\x11\n\tephemeral\x18\x05 \x01(\x08\"\x18\n\x16GetRootResourceRequest\"&\n\x17GetRootResourceResponse\x12\x0b\n\x03urn\x18\x01 \x01(\t\"%\n\x16SetRootResourceRequest\x12\x0b\n\x03urn\x18\x01 \x01(\t\"\x19\n\x17SetRootResourceResponse*:\n\x0bLogSeverity\x12\t\n\x05\x44\x45\x42UG\x10\x00\x12\x08\n\x04INFO\x10\x01\x12\x0b\n\x07WARNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x32\xf8\x01\n\x06\x45ngine\x12\x36\n\x03Log\x12\x15.pulumirpc.LogRequest\x1a\x16.google.protobuf.Empty\"\x00\x12Z\n\x0fGetRootResource\x12!.pulumirpc.GetRootResourceRequest\x1a\".pulumirpc.GetRootResourceResponse\"\x00\x12Z\n\x0fSetRootResource\x12!.pulumirpc.SetRootResourceRequest\x1a\".pulumirpc.SetRootResourceResponse\"\x00\x62\x06proto3')
serialized_pb=b'\n\x0c\x65ngine.proto\x12\tpulumirpc\x1a\x1bgoogle/protobuf/empty.proto\"y\n\nLogRequest\x12(\n\x08severity\x18\x01 \x01(\x0e\x32\x16.pulumirpc.LogSeverity\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x0b\n\x03urn\x18\x03 \x01(\t\x12\x10\n\x08streamId\x18\x04 \x01(\x05\x12\x11\n\tephemeral\x18\x05 \x01(\x08\"\x18\n\x16GetRootResourceRequest\"&\n\x17GetRootResourceResponse\x12\x0b\n\x03urn\x18\x01 \x01(\t\"%\n\x16SetRootResourceRequest\x12\x0b\n\x03urn\x18\x01 \x01(\t\"\x19\n\x17SetRootResourceResponse*:\n\x0bLogSeverity\x12\t\n\x05\x44\x45\x42UG\x10\x00\x12\x08\n\x04INFO\x10\x01\x12\x0b\n\x07WARNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x32\xf8\x01\n\x06\x45ngine\x12\x36\n\x03Log\x12\x15.pulumirpc.LogRequest\x1a\x16.google.protobuf.Empty\"\x00\x12Z\n\x0fGetRootResource\x12!.pulumirpc.GetRootResourceRequest\x1a\".pulumirpc.GetRootResourceResponse\"\x00\x12Z\n\x0fSetRootResource\x12!.pulumirpc.SetRootResourceRequest\x1a\".pulumirpc.SetRootResourceResponse\"\x00\x62\x06proto3'
,
dependencies=[google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,])
@ -80,14 +79,14 @@ _LOGREQUEST = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='message', full_name='pulumirpc.LogRequest.message', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='urn', full_name='pulumirpc.LogRequest.urn', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -156,7 +155,7 @@ _GETROOTRESOURCERESPONSE = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='urn', full_name='pulumirpc.GetRootResourceResponse.urn', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -187,7 +186,7 @@ _SETROOTRESOURCEREQUEST = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='urn', full_name='pulumirpc.SetRootResourceRequest.urn', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -240,39 +239,39 @@ DESCRIPTOR.message_types_by_name['SetRootResourceResponse'] = _SETROOTRESOURCERE
DESCRIPTOR.enum_types_by_name['LogSeverity'] = _LOGSEVERITY
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
LogRequest = _reflection.GeneratedProtocolMessageType('LogRequest', (_message.Message,), dict(
DESCRIPTOR = _LOGREQUEST,
__module__ = 'engine_pb2'
LogRequest = _reflection.GeneratedProtocolMessageType('LogRequest', (_message.Message,), {
'DESCRIPTOR' : _LOGREQUEST,
'__module__' : 'engine_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.LogRequest)
))
})
_sym_db.RegisterMessage(LogRequest)
GetRootResourceRequest = _reflection.GeneratedProtocolMessageType('GetRootResourceRequest', (_message.Message,), dict(
DESCRIPTOR = _GETROOTRESOURCEREQUEST,
__module__ = 'engine_pb2'
GetRootResourceRequest = _reflection.GeneratedProtocolMessageType('GetRootResourceRequest', (_message.Message,), {
'DESCRIPTOR' : _GETROOTRESOURCEREQUEST,
'__module__' : 'engine_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.GetRootResourceRequest)
))
})
_sym_db.RegisterMessage(GetRootResourceRequest)
GetRootResourceResponse = _reflection.GeneratedProtocolMessageType('GetRootResourceResponse', (_message.Message,), dict(
DESCRIPTOR = _GETROOTRESOURCERESPONSE,
__module__ = 'engine_pb2'
GetRootResourceResponse = _reflection.GeneratedProtocolMessageType('GetRootResourceResponse', (_message.Message,), {
'DESCRIPTOR' : _GETROOTRESOURCERESPONSE,
'__module__' : 'engine_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.GetRootResourceResponse)
))
})
_sym_db.RegisterMessage(GetRootResourceResponse)
SetRootResourceRequest = _reflection.GeneratedProtocolMessageType('SetRootResourceRequest', (_message.Message,), dict(
DESCRIPTOR = _SETROOTRESOURCEREQUEST,
__module__ = 'engine_pb2'
SetRootResourceRequest = _reflection.GeneratedProtocolMessageType('SetRootResourceRequest', (_message.Message,), {
'DESCRIPTOR' : _SETROOTRESOURCEREQUEST,
'__module__' : 'engine_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.SetRootResourceRequest)
))
})
_sym_db.RegisterMessage(SetRootResourceRequest)
SetRootResourceResponse = _reflection.GeneratedProtocolMessageType('SetRootResourceResponse', (_message.Message,), dict(
DESCRIPTOR = _SETROOTRESOURCERESPONSE,
__module__ = 'engine_pb2'
SetRootResourceResponse = _reflection.GeneratedProtocolMessageType('SetRootResourceResponse', (_message.Message,), {
'DESCRIPTOR' : _SETROOTRESOURCERESPONSE,
'__module__' : 'engine_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.SetRootResourceResponse)
))
})
_sym_db.RegisterMessage(SetRootResourceResponse)

View file

@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: errors.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
@ -19,7 +18,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package='pulumirpc',
syntax='proto3',
serialized_options=None,
serialized_pb=_b('\n\x0c\x65rrors.proto\x12\tpulumirpc\"1\n\nErrorCause\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x12\n\nstackTrace\x18\x02 \x01(\tb\x06proto3')
serialized_pb=b'\n\x0c\x65rrors.proto\x12\tpulumirpc\"1\n\nErrorCause\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x12\n\nstackTrace\x18\x02 \x01(\tb\x06proto3'
)
@ -35,14 +34,14 @@ _ERRORCAUSE = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='message', full_name='pulumirpc.ErrorCause.message', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='stackTrace', full_name='pulumirpc.ErrorCause.stackTrace', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -65,11 +64,11 @@ _ERRORCAUSE = _descriptor.Descriptor(
DESCRIPTOR.message_types_by_name['ErrorCause'] = _ERRORCAUSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
ErrorCause = _reflection.GeneratedProtocolMessageType('ErrorCause', (_message.Message,), dict(
DESCRIPTOR = _ERRORCAUSE,
__module__ = 'errors_pb2'
ErrorCause = _reflection.GeneratedProtocolMessageType('ErrorCause', (_message.Message,), {
'DESCRIPTOR' : _ERRORCAUSE,
'__module__' : 'errors_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.ErrorCause)
))
})
_sym_db.RegisterMessage(ErrorCause)

View file

@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: language.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
@ -21,7 +20,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package='pulumirpc',
syntax='proto3',
serialized_options=None,
serialized_pb=_b('\n\x0elanguage.proto\x12\tpulumirpc\x1a\x0cplugin.proto\x1a\x1bgoogle/protobuf/empty.proto\"J\n\x19GetRequiredPluginsRequest\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0b\n\x03pwd\x18\x02 \x01(\t\x12\x0f\n\x07program\x18\x03 \x01(\t\"J\n\x1aGetRequiredPluginsResponse\x12,\n\x07plugins\x18\x01 \x03(\x0b\x32\x1b.pulumirpc.PluginDependency\"\x88\x02\n\nRunRequest\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\r\n\x05stack\x18\x02 \x01(\t\x12\x0b\n\x03pwd\x18\x03 \x01(\t\x12\x0f\n\x07program\x18\x04 \x01(\t\x12\x0c\n\x04\x61rgs\x18\x05 \x03(\t\x12\x31\n\x06\x63onfig\x18\x06 \x03(\x0b\x32!.pulumirpc.RunRequest.ConfigEntry\x12\x0e\n\x06\x64ryRun\x18\x07 \x01(\x08\x12\x10\n\x08parallel\x18\x08 \x01(\x05\x12\x17\n\x0fmonitor_address\x18\t \x01(\t\x12\x11\n\tqueryMode\x18\n \x01(\x08\x1a-\n\x0b\x43onfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"*\n\x0bRunResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12\x0c\n\x04\x62\x61il\x18\x02 \x01(\x08\x32\xf0\x01\n\x0fLanguageRuntime\x12\x63\n\x12GetRequiredPlugins\x12$.pulumirpc.GetRequiredPluginsRequest\x1a%.pulumirpc.GetRequiredPluginsResponse\"\x00\x12\x36\n\x03Run\x12\x15.pulumirpc.RunRequest\x1a\x16.pulumirpc.RunResponse\"\x00\x12@\n\rGetPluginInfo\x12\x16.google.protobuf.Empty\x1a\x15.pulumirpc.PluginInfo\"\x00\x62\x06proto3')
serialized_pb=b'\n\x0elanguage.proto\x12\tpulumirpc\x1a\x0cplugin.proto\x1a\x1bgoogle/protobuf/empty.proto\"J\n\x19GetRequiredPluginsRequest\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0b\n\x03pwd\x18\x02 \x01(\t\x12\x0f\n\x07program\x18\x03 \x01(\t\"J\n\x1aGetRequiredPluginsResponse\x12,\n\x07plugins\x18\x01 \x03(\x0b\x32\x1b.pulumirpc.PluginDependency\"\x88\x02\n\nRunRequest\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\r\n\x05stack\x18\x02 \x01(\t\x12\x0b\n\x03pwd\x18\x03 \x01(\t\x12\x0f\n\x07program\x18\x04 \x01(\t\x12\x0c\n\x04\x61rgs\x18\x05 \x03(\t\x12\x31\n\x06\x63onfig\x18\x06 \x03(\x0b\x32!.pulumirpc.RunRequest.ConfigEntry\x12\x0e\n\x06\x64ryRun\x18\x07 \x01(\x08\x12\x10\n\x08parallel\x18\x08 \x01(\x05\x12\x17\n\x0fmonitor_address\x18\t \x01(\t\x12\x11\n\tqueryMode\x18\n \x01(\x08\x1a-\n\x0b\x43onfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"*\n\x0bRunResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12\x0c\n\x04\x62\x61il\x18\x02 \x01(\x08\x32\xf0\x01\n\x0fLanguageRuntime\x12\x63\n\x12GetRequiredPlugins\x12$.pulumirpc.GetRequiredPluginsRequest\x1a%.pulumirpc.GetRequiredPluginsResponse\"\x00\x12\x36\n\x03Run\x12\x15.pulumirpc.RunRequest\x1a\x16.pulumirpc.RunResponse\"\x00\x12@\n\rGetPluginInfo\x12\x16.google.protobuf.Empty\x1a\x15.pulumirpc.PluginInfo\"\x00\x62\x06proto3'
,
dependencies=[plugin__pb2.DESCRIPTOR,google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,])
@ -38,21 +37,21 @@ _GETREQUIREDPLUGINSREQUEST = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='project', full_name='pulumirpc.GetRequiredPluginsRequest.project', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='pwd', full_name='pulumirpc.GetRequiredPluginsRequest.pwd', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='program', full_name='pulumirpc.GetRequiredPluginsRequest.program', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -114,14 +113,14 @@ _RUNREQUEST_CONFIGENTRY = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='key', full_name='pulumirpc.RunRequest.ConfigEntry.key', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='value', full_name='pulumirpc.RunRequest.ConfigEntry.value', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -131,7 +130,7 @@ _RUNREQUEST_CONFIGENTRY = _descriptor.Descriptor(
nested_types=[],
enum_types=[
],
serialized_options=_b('8\001'),
serialized_options=b'8\001',
is_extendable=False,
syntax='proto3',
extension_ranges=[],
@ -151,28 +150,28 @@ _RUNREQUEST = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='project', full_name='pulumirpc.RunRequest.project', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='stack', full_name='pulumirpc.RunRequest.stack', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='pwd', full_name='pulumirpc.RunRequest.pwd', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='program', full_name='pulumirpc.RunRequest.program', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -207,7 +206,7 @@ _RUNREQUEST = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='monitor_address', full_name='pulumirpc.RunRequest.monitor_address', index=8,
number=9, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -245,7 +244,7 @@ _RUNRESPONSE = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='error', full_name='pulumirpc.RunResponse.error', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -281,40 +280,40 @@ DESCRIPTOR.message_types_by_name['RunRequest'] = _RUNREQUEST
DESCRIPTOR.message_types_by_name['RunResponse'] = _RUNRESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
GetRequiredPluginsRequest = _reflection.GeneratedProtocolMessageType('GetRequiredPluginsRequest', (_message.Message,), dict(
DESCRIPTOR = _GETREQUIREDPLUGINSREQUEST,
__module__ = 'language_pb2'
GetRequiredPluginsRequest = _reflection.GeneratedProtocolMessageType('GetRequiredPluginsRequest', (_message.Message,), {
'DESCRIPTOR' : _GETREQUIREDPLUGINSREQUEST,
'__module__' : 'language_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.GetRequiredPluginsRequest)
))
})
_sym_db.RegisterMessage(GetRequiredPluginsRequest)
GetRequiredPluginsResponse = _reflection.GeneratedProtocolMessageType('GetRequiredPluginsResponse', (_message.Message,), dict(
DESCRIPTOR = _GETREQUIREDPLUGINSRESPONSE,
__module__ = 'language_pb2'
GetRequiredPluginsResponse = _reflection.GeneratedProtocolMessageType('GetRequiredPluginsResponse', (_message.Message,), {
'DESCRIPTOR' : _GETREQUIREDPLUGINSRESPONSE,
'__module__' : 'language_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.GetRequiredPluginsResponse)
))
})
_sym_db.RegisterMessage(GetRequiredPluginsResponse)
RunRequest = _reflection.GeneratedProtocolMessageType('RunRequest', (_message.Message,), dict(
RunRequest = _reflection.GeneratedProtocolMessageType('RunRequest', (_message.Message,), {
ConfigEntry = _reflection.GeneratedProtocolMessageType('ConfigEntry', (_message.Message,), dict(
DESCRIPTOR = _RUNREQUEST_CONFIGENTRY,
__module__ = 'language_pb2'
'ConfigEntry' : _reflection.GeneratedProtocolMessageType('ConfigEntry', (_message.Message,), {
'DESCRIPTOR' : _RUNREQUEST_CONFIGENTRY,
'__module__' : 'language_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.RunRequest.ConfigEntry)
))
})
,
DESCRIPTOR = _RUNREQUEST,
__module__ = 'language_pb2'
'DESCRIPTOR' : _RUNREQUEST,
'__module__' : 'language_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.RunRequest)
))
})
_sym_db.RegisterMessage(RunRequest)
_sym_db.RegisterMessage(RunRequest.ConfigEntry)
RunResponse = _reflection.GeneratedProtocolMessageType('RunResponse', (_message.Message,), dict(
DESCRIPTOR = _RUNRESPONSE,
__module__ = 'language_pb2'
RunResponse = _reflection.GeneratedProtocolMessageType('RunResponse', (_message.Message,), {
'DESCRIPTOR' : _RUNRESPONSE,
'__module__' : 'language_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.RunResponse)
))
})
_sym_db.RegisterMessage(RunResponse)

View file

@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: plugin.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
@ -19,7 +18,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package='pulumirpc',
syntax='proto3',
serialized_options=None,
serialized_pb=_b('\n\x0cplugin.proto\x12\tpulumirpc\"\x1d\n\nPluginInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\"O\n\x10PluginDependency\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04kind\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\x12\x0e\n\x06server\x18\x04 \x01(\tb\x06proto3')
serialized_pb=b'\n\x0cplugin.proto\x12\tpulumirpc\"\x1d\n\nPluginInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\"O\n\x10PluginDependency\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04kind\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\x12\x0e\n\x06server\x18\x04 \x01(\tb\x06proto3'
)
@ -35,7 +34,7 @@ _PLUGININFO = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='version', full_name='pulumirpc.PluginInfo.version', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -66,28 +65,28 @@ _PLUGINDEPENDENCY = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='name', full_name='pulumirpc.PluginDependency.name', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='kind', full_name='pulumirpc.PluginDependency.kind', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='version', full_name='pulumirpc.PluginDependency.version', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='server', full_name='pulumirpc.PluginDependency.server', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -111,18 +110,18 @@ DESCRIPTOR.message_types_by_name['PluginInfo'] = _PLUGININFO
DESCRIPTOR.message_types_by_name['PluginDependency'] = _PLUGINDEPENDENCY
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
PluginInfo = _reflection.GeneratedProtocolMessageType('PluginInfo', (_message.Message,), dict(
DESCRIPTOR = _PLUGININFO,
__module__ = 'plugin_pb2'
PluginInfo = _reflection.GeneratedProtocolMessageType('PluginInfo', (_message.Message,), {
'DESCRIPTOR' : _PLUGININFO,
'__module__' : 'plugin_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.PluginInfo)
))
})
_sym_db.RegisterMessage(PluginInfo)
PluginDependency = _reflection.GeneratedProtocolMessageType('PluginDependency', (_message.Message,), dict(
DESCRIPTOR = _PLUGINDEPENDENCY,
__module__ = 'plugin_pb2'
PluginDependency = _reflection.GeneratedProtocolMessageType('PluginDependency', (_message.Message,), {
'DESCRIPTOR' : _PLUGINDEPENDENCY,
'__module__' : 'plugin_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.PluginDependency)
))
})
_sym_db.RegisterMessage(PluginDependency)

File diff suppressed because one or more lines are too long

View file

@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: resource.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
@ -22,7 +21,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package='pulumirpc',
syntax='proto3',
serialized_options=None,
serialized_pb=_b('\n\x0eresource.proto\x12\tpulumirpc\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x0eprovider.proto\"$\n\x16SupportsFeatureRequest\x12\n\n\x02id\x18\x01 \x01(\t\"-\n\x17SupportsFeatureResponse\x12\x12\n\nhasSupport\x18\x01 \x01(\x08\"\xfc\x01\n\x13ReadResourceRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0e\n\x06parent\x18\x04 \x01(\t\x12+\n\nproperties\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x14\n\x0c\x64\x65pendencies\x18\x06 \x03(\t\x12\x10\n\x08provider\x18\x07 \x01(\t\x12\x0f\n\x07version\x18\x08 \x01(\t\x12\x15\n\racceptSecrets\x18\t \x01(\x08\x12\x1f\n\x17\x61\x64\x64itionalSecretOutputs\x18\n \x03(\t\x12\x0f\n\x07\x61liases\x18\x0b \x03(\t\"P\n\x14ReadResourceResponse\x12\x0b\n\x03urn\x18\x01 \x01(\t\x12+\n\nproperties\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x9f\x06\n\x17RegisterResourceRequest\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06parent\x18\x03 \x01(\t\x12\x0e\n\x06\x63ustom\x18\x04 \x01(\x08\x12\'\n\x06object\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0f\n\x07protect\x18\x06 \x01(\x08\x12\x14\n\x0c\x64\x65pendencies\x18\x07 \x03(\t\x12\x10\n\x08provider\x18\x08 \x01(\t\x12Z\n\x14propertyDependencies\x18\t \x03(\x0b\x32<.pulumirpc.RegisterResourceRequest.PropertyDependenciesEntry\x12\x1b\n\x13\x64\x65leteBeforeReplace\x18\n \x01(\x08\x12\x0f\n\x07version\x18\x0b \x01(\t\x12\x15\n\rignoreChanges\x18\x0c \x03(\t\x12\x15\n\racceptSecrets\x18\r \x01(\x08\x12\x1f\n\x17\x61\x64\x64itionalSecretOutputs\x18\x0e \x03(\t\x12\x0f\n\x07\x61liases\x18\x0f \x03(\t\x12\x10\n\x08importId\x18\x10 \x01(\t\x12I\n\x0e\x63ustomTimeouts\x18\x11 \x01(\x0b\x32\x31.pulumirpc.RegisterResourceRequest.CustomTimeouts\x12\"\n\x1a\x64\x65leteBeforeReplaceDefined\x18\x12 \x01(\x08\x12\x1d\n\x15supportsPartialValues\x18\x13 \x01(\x08\x1a$\n\x14PropertyDependencies\x12\x0c\n\x04urns\x18\x01 \x03(\t\x1a@\n\x0e\x43ustomTimeouts\x12\x0e\n\x06\x63reate\x18\x01 \x01(\t\x12\x0e\n\x06update\x18\x02 \x01(\t\x12\x0e\n\x06\x64\x65lete\x18\x03 \x01(\t\x1at\n\x19PropertyDependenciesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x46\n\x05value\x18\x02 \x01(\x0b\x32\x37.pulumirpc.RegisterResourceRequest.PropertyDependencies:\x02\x38\x01\"}\n\x18RegisterResourceResponse\x12\x0b\n\x03urn\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\'\n\x06object\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0e\n\x06stable\x18\x04 \x01(\x08\x12\x0f\n\x07stables\x18\x05 \x03(\t\"W\n\x1eRegisterResourceOutputsRequest\x12\x0b\n\x03urn\x18\x01 \x01(\t\x12(\n\x07outputs\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct2\x89\x04\n\x0fResourceMonitor\x12Z\n\x0fSupportsFeature\x12!.pulumirpc.SupportsFeatureRequest\x1a\".pulumirpc.SupportsFeatureResponse\"\x00\x12?\n\x06Invoke\x12\x18.pulumirpc.InvokeRequest\x1a\x19.pulumirpc.InvokeResponse\"\x00\x12G\n\x0cStreamInvoke\x12\x18.pulumirpc.InvokeRequest\x1a\x19.pulumirpc.InvokeResponse\"\x00\x30\x01\x12Q\n\x0cReadResource\x12\x1e.pulumirpc.ReadResourceRequest\x1a\x1f.pulumirpc.ReadResourceResponse\"\x00\x12]\n\x10RegisterResource\x12\".pulumirpc.RegisterResourceRequest\x1a#.pulumirpc.RegisterResourceResponse\"\x00\x12^\n\x17RegisterResourceOutputs\x12).pulumirpc.RegisterResourceOutputsRequest\x1a\x16.google.protobuf.Empty\"\x00\x62\x06proto3')
serialized_pb=b'\n\x0eresource.proto\x12\tpulumirpc\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x0eprovider.proto\"$\n\x16SupportsFeatureRequest\x12\n\n\x02id\x18\x01 \x01(\t\"-\n\x17SupportsFeatureResponse\x12\x12\n\nhasSupport\x18\x01 \x01(\x08\"\xfc\x01\n\x13ReadResourceRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0e\n\x06parent\x18\x04 \x01(\t\x12+\n\nproperties\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x14\n\x0c\x64\x65pendencies\x18\x06 \x03(\t\x12\x10\n\x08provider\x18\x07 \x01(\t\x12\x0f\n\x07version\x18\x08 \x01(\t\x12\x15\n\racceptSecrets\x18\t \x01(\x08\x12\x1f\n\x17\x61\x64\x64itionalSecretOutputs\x18\n \x03(\t\x12\x0f\n\x07\x61liases\x18\x0b \x03(\t\"P\n\x14ReadResourceResponse\x12\x0b\n\x03urn\x18\x01 \x01(\t\x12+\n\nproperties\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x9f\x06\n\x17RegisterResourceRequest\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06parent\x18\x03 \x01(\t\x12\x0e\n\x06\x63ustom\x18\x04 \x01(\x08\x12\'\n\x06object\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0f\n\x07protect\x18\x06 \x01(\x08\x12\x14\n\x0c\x64\x65pendencies\x18\x07 \x03(\t\x12\x10\n\x08provider\x18\x08 \x01(\t\x12Z\n\x14propertyDependencies\x18\t \x03(\x0b\x32<.pulumirpc.RegisterResourceRequest.PropertyDependenciesEntry\x12\x1b\n\x13\x64\x65leteBeforeReplace\x18\n \x01(\x08\x12\x0f\n\x07version\x18\x0b \x01(\t\x12\x15\n\rignoreChanges\x18\x0c \x03(\t\x12\x15\n\racceptSecrets\x18\r \x01(\x08\x12\x1f\n\x17\x61\x64\x64itionalSecretOutputs\x18\x0e \x03(\t\x12\x0f\n\x07\x61liases\x18\x0f \x03(\t\x12\x10\n\x08importId\x18\x10 \x01(\t\x12I\n\x0e\x63ustomTimeouts\x18\x11 \x01(\x0b\x32\x31.pulumirpc.RegisterResourceRequest.CustomTimeouts\x12\"\n\x1a\x64\x65leteBeforeReplaceDefined\x18\x12 \x01(\x08\x12\x1d\n\x15supportsPartialValues\x18\x13 \x01(\x08\x1a$\n\x14PropertyDependencies\x12\x0c\n\x04urns\x18\x01 \x03(\t\x1a@\n\x0e\x43ustomTimeouts\x12\x0e\n\x06\x63reate\x18\x01 \x01(\t\x12\x0e\n\x06update\x18\x02 \x01(\t\x12\x0e\n\x06\x64\x65lete\x18\x03 \x01(\t\x1at\n\x19PropertyDependenciesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x46\n\x05value\x18\x02 \x01(\x0b\x32\x37.pulumirpc.RegisterResourceRequest.PropertyDependencies:\x02\x38\x01\"}\n\x18RegisterResourceResponse\x12\x0b\n\x03urn\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\'\n\x06object\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0e\n\x06stable\x18\x04 \x01(\x08\x12\x0f\n\x07stables\x18\x05 \x03(\t\"W\n\x1eRegisterResourceOutputsRequest\x12\x0b\n\x03urn\x18\x01 \x01(\t\x12(\n\x07outputs\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct2\x89\x04\n\x0fResourceMonitor\x12Z\n\x0fSupportsFeature\x12!.pulumirpc.SupportsFeatureRequest\x1a\".pulumirpc.SupportsFeatureResponse\"\x00\x12?\n\x06Invoke\x12\x18.pulumirpc.InvokeRequest\x1a\x19.pulumirpc.InvokeResponse\"\x00\x12G\n\x0cStreamInvoke\x12\x18.pulumirpc.InvokeRequest\x1a\x19.pulumirpc.InvokeResponse\"\x00\x30\x01\x12Q\n\x0cReadResource\x12\x1e.pulumirpc.ReadResourceRequest\x1a\x1f.pulumirpc.ReadResourceResponse\"\x00\x12]\n\x10RegisterResource\x12\".pulumirpc.RegisterResourceRequest\x1a#.pulumirpc.RegisterResourceResponse\"\x00\x12^\n\x17RegisterResourceOutputs\x12).pulumirpc.RegisterResourceOutputsRequest\x1a\x16.google.protobuf.Empty\"\x00\x62\x06proto3'
,
dependencies=[google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,provider__pb2.DESCRIPTOR,])
@ -39,7 +38,7 @@ _SUPPORTSFEATUREREQUEST = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='id', full_name='pulumirpc.SupportsFeatureRequest.id', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -101,28 +100,28 @@ _READRESOURCEREQUEST = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='id', full_name='pulumirpc.ReadResourceRequest.id', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='type', full_name='pulumirpc.ReadResourceRequest.type', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='name', full_name='pulumirpc.ReadResourceRequest.name', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='parent', full_name='pulumirpc.ReadResourceRequest.parent', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -143,14 +142,14 @@ _READRESOURCEREQUEST = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='provider', full_name='pulumirpc.ReadResourceRequest.provider', index=6,
number=7, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='version', full_name='pulumirpc.ReadResourceRequest.version', index=7,
number=8, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -202,7 +201,7 @@ _READRESOURCERESPONSE = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='urn', full_name='pulumirpc.ReadResourceResponse.urn', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -270,21 +269,21 @@ _REGISTERRESOURCEREQUEST_CUSTOMTIMEOUTS = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='create', full_name='pulumirpc.RegisterResourceRequest.CustomTimeouts.create', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='update', full_name='pulumirpc.RegisterResourceRequest.CustomTimeouts.update', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='delete', full_name='pulumirpc.RegisterResourceRequest.CustomTimeouts.delete', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -314,7 +313,7 @@ _REGISTERRESOURCEREQUEST_PROPERTYDEPENDENCIESENTRY = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='key', full_name='pulumirpc.RegisterResourceRequest.PropertyDependenciesEntry.key', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -331,7 +330,7 @@ _REGISTERRESOURCEREQUEST_PROPERTYDEPENDENCIESENTRY = _descriptor.Descriptor(
nested_types=[],
enum_types=[
],
serialized_options=_b('8\001'),
serialized_options=b'8\001',
is_extendable=False,
syntax='proto3',
extension_ranges=[],
@ -351,21 +350,21 @@ _REGISTERRESOURCEREQUEST = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='type', full_name='pulumirpc.RegisterResourceRequest.type', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='name', full_name='pulumirpc.RegisterResourceRequest.name', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='parent', full_name='pulumirpc.RegisterResourceRequest.parent', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -400,7 +399,7 @@ _REGISTERRESOURCEREQUEST = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='provider', full_name='pulumirpc.RegisterResourceRequest.provider', index=7,
number=8, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -421,7 +420,7 @@ _REGISTERRESOURCEREQUEST = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='version', full_name='pulumirpc.RegisterResourceRequest.version', index=10,
number=11, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -456,7 +455,7 @@ _REGISTERRESOURCEREQUEST = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='importId', full_name='pulumirpc.RegisterResourceRequest.importId', index=15,
number=16, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -508,14 +507,14 @@ _REGISTERRESOURCERESPONSE = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='urn', full_name='pulumirpc.RegisterResourceResponse.urn', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='id', full_name='pulumirpc.RegisterResourceResponse.id', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -567,7 +566,7 @@ _REGISTERRESOURCEOUTPUTSREQUEST = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='urn', full_name='pulumirpc.RegisterResourceOutputsRequest.urn', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -614,77 +613,77 @@ DESCRIPTOR.message_types_by_name['RegisterResourceResponse'] = _REGISTERRESOURCE
DESCRIPTOR.message_types_by_name['RegisterResourceOutputsRequest'] = _REGISTERRESOURCEOUTPUTSREQUEST
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
SupportsFeatureRequest = _reflection.GeneratedProtocolMessageType('SupportsFeatureRequest', (_message.Message,), dict(
DESCRIPTOR = _SUPPORTSFEATUREREQUEST,
__module__ = 'resource_pb2'
SupportsFeatureRequest = _reflection.GeneratedProtocolMessageType('SupportsFeatureRequest', (_message.Message,), {
'DESCRIPTOR' : _SUPPORTSFEATUREREQUEST,
'__module__' : 'resource_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.SupportsFeatureRequest)
))
})
_sym_db.RegisterMessage(SupportsFeatureRequest)
SupportsFeatureResponse = _reflection.GeneratedProtocolMessageType('SupportsFeatureResponse', (_message.Message,), dict(
DESCRIPTOR = _SUPPORTSFEATURERESPONSE,
__module__ = 'resource_pb2'
SupportsFeatureResponse = _reflection.GeneratedProtocolMessageType('SupportsFeatureResponse', (_message.Message,), {
'DESCRIPTOR' : _SUPPORTSFEATURERESPONSE,
'__module__' : 'resource_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.SupportsFeatureResponse)
))
})
_sym_db.RegisterMessage(SupportsFeatureResponse)
ReadResourceRequest = _reflection.GeneratedProtocolMessageType('ReadResourceRequest', (_message.Message,), dict(
DESCRIPTOR = _READRESOURCEREQUEST,
__module__ = 'resource_pb2'
ReadResourceRequest = _reflection.GeneratedProtocolMessageType('ReadResourceRequest', (_message.Message,), {
'DESCRIPTOR' : _READRESOURCEREQUEST,
'__module__' : 'resource_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.ReadResourceRequest)
))
})
_sym_db.RegisterMessage(ReadResourceRequest)
ReadResourceResponse = _reflection.GeneratedProtocolMessageType('ReadResourceResponse', (_message.Message,), dict(
DESCRIPTOR = _READRESOURCERESPONSE,
__module__ = 'resource_pb2'
ReadResourceResponse = _reflection.GeneratedProtocolMessageType('ReadResourceResponse', (_message.Message,), {
'DESCRIPTOR' : _READRESOURCERESPONSE,
'__module__' : 'resource_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.ReadResourceResponse)
))
})
_sym_db.RegisterMessage(ReadResourceResponse)
RegisterResourceRequest = _reflection.GeneratedProtocolMessageType('RegisterResourceRequest', (_message.Message,), dict(
RegisterResourceRequest = _reflection.GeneratedProtocolMessageType('RegisterResourceRequest', (_message.Message,), {
PropertyDependencies = _reflection.GeneratedProtocolMessageType('PropertyDependencies', (_message.Message,), dict(
DESCRIPTOR = _REGISTERRESOURCEREQUEST_PROPERTYDEPENDENCIES,
__module__ = 'resource_pb2'
'PropertyDependencies' : _reflection.GeneratedProtocolMessageType('PropertyDependencies', (_message.Message,), {
'DESCRIPTOR' : _REGISTERRESOURCEREQUEST_PROPERTYDEPENDENCIES,
'__module__' : 'resource_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.RegisterResourceRequest.PropertyDependencies)
))
})
,
CustomTimeouts = _reflection.GeneratedProtocolMessageType('CustomTimeouts', (_message.Message,), dict(
DESCRIPTOR = _REGISTERRESOURCEREQUEST_CUSTOMTIMEOUTS,
__module__ = 'resource_pb2'
'CustomTimeouts' : _reflection.GeneratedProtocolMessageType('CustomTimeouts', (_message.Message,), {
'DESCRIPTOR' : _REGISTERRESOURCEREQUEST_CUSTOMTIMEOUTS,
'__module__' : 'resource_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.RegisterResourceRequest.CustomTimeouts)
))
})
,
PropertyDependenciesEntry = _reflection.GeneratedProtocolMessageType('PropertyDependenciesEntry', (_message.Message,), dict(
DESCRIPTOR = _REGISTERRESOURCEREQUEST_PROPERTYDEPENDENCIESENTRY,
__module__ = 'resource_pb2'
'PropertyDependenciesEntry' : _reflection.GeneratedProtocolMessageType('PropertyDependenciesEntry', (_message.Message,), {
'DESCRIPTOR' : _REGISTERRESOURCEREQUEST_PROPERTYDEPENDENCIESENTRY,
'__module__' : 'resource_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.RegisterResourceRequest.PropertyDependenciesEntry)
))
})
,
DESCRIPTOR = _REGISTERRESOURCEREQUEST,
__module__ = 'resource_pb2'
'DESCRIPTOR' : _REGISTERRESOURCEREQUEST,
'__module__' : 'resource_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.RegisterResourceRequest)
))
})
_sym_db.RegisterMessage(RegisterResourceRequest)
_sym_db.RegisterMessage(RegisterResourceRequest.PropertyDependencies)
_sym_db.RegisterMessage(RegisterResourceRequest.CustomTimeouts)
_sym_db.RegisterMessage(RegisterResourceRequest.PropertyDependenciesEntry)
RegisterResourceResponse = _reflection.GeneratedProtocolMessageType('RegisterResourceResponse', (_message.Message,), dict(
DESCRIPTOR = _REGISTERRESOURCERESPONSE,
__module__ = 'resource_pb2'
RegisterResourceResponse = _reflection.GeneratedProtocolMessageType('RegisterResourceResponse', (_message.Message,), {
'DESCRIPTOR' : _REGISTERRESOURCERESPONSE,
'__module__' : 'resource_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.RegisterResourceResponse)
))
})
_sym_db.RegisterMessage(RegisterResourceResponse)
RegisterResourceOutputsRequest = _reflection.GeneratedProtocolMessageType('RegisterResourceOutputsRequest', (_message.Message,), dict(
DESCRIPTOR = _REGISTERRESOURCEOUTPUTSREQUEST,
__module__ = 'resource_pb2'
RegisterResourceOutputsRequest = _reflection.GeneratedProtocolMessageType('RegisterResourceOutputsRequest', (_message.Message,), {
'DESCRIPTOR' : _REGISTERRESOURCEOUTPUTSREQUEST,
'__module__' : 'resource_pb2'
# @@protoc_insertion_point(class_scope:pulumirpc.RegisterResourceOutputsRequest)
))
})
_sym_db.RegisterMessage(RegisterResourceOutputsRequest)

View file

@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: status.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
@ -19,8 +18,8 @@ DESCRIPTOR = _descriptor.FileDescriptor(
name='status.proto',
package='google.rpc',
syntax='proto3',
serialized_options=_b('\n\016com.google.rpcB\013StatusProtoP\001Z7google.golang.org/genproto/googleapis/rpc/status;status\242\002\003RPC'),
serialized_pb=_b('\n\x0cstatus.proto\x12\ngoogle.rpc\x1a\x19google/protobuf/any.proto\"N\n\x06Status\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.AnyB^\n\x0e\x63om.google.rpcB\x0bStatusProtoP\x01Z7google.golang.org/genproto/googleapis/rpc/status;status\xa2\x02\x03RPCb\x06proto3')
serialized_options=b'\n\016com.google.rpcB\013StatusProtoP\001Z7google.golang.org/genproto/googleapis/rpc/status;status\242\002\003RPC',
serialized_pb=b'\n\x0cstatus.proto\x12\ngoogle.rpc\x1a\x19google/protobuf/any.proto\"N\n\x06Status\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.AnyB^\n\x0e\x63om.google.rpcB\x0bStatusProtoP\x01Z7google.golang.org/genproto/googleapis/rpc/status;status\xa2\x02\x03RPCb\x06proto3'
,
dependencies=[google_dot_protobuf_dot_any__pb2.DESCRIPTOR,])
@ -44,7 +43,7 @@ _STATUS = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='message', full_name='google.rpc.Status.message', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
@ -75,11 +74,11 @@ _STATUS.fields_by_name['details'].message_type = google_dot_protobuf_dot_any__pb
DESCRIPTOR.message_types_by_name['Status'] = _STATUS
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
Status = _reflection.GeneratedProtocolMessageType('Status', (_message.Message,), dict(
DESCRIPTOR = _STATUS,
__module__ = 'status_pb2'
Status = _reflection.GeneratedProtocolMessageType('Status', (_message.Message,), {
'DESCRIPTOR' : _STATUS,
'__module__' : 'status_pb2'
# @@protoc_insertion_point(class_scope:google.rpc.Status)
))
})
_sym_db.RegisterMessage(Status)