pulumi/sdk/dotnet/Pulumirpc/Provider.cs

2249 lines
74 KiB
C#

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: provider.proto
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Pulumirpc {
/// <summary>Holder for reflection information generated from provider.proto</summary>
public static partial class ProviderReflection {
#region Descriptor
/// <summary>File descriptor for provider.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ProviderReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cg5wcm92aWRlci5wcm90bxIJcHVsdW1pcnBjGgxwbHVnaW4ucHJvdG8aG2dv",
"b2dsZS9wcm90b2J1Zi9lbXB0eS5wcm90bxocZ29vZ2xlL3Byb3RvYnVmL3N0",
"cnVjdC5wcm90byKDAQoQQ29uZmlndXJlUmVxdWVzdBI9Cgl2YXJpYWJsZXMY",
"ASADKAsyKi5wdWx1bWlycGMuQ29uZmlndXJlUmVxdWVzdC5WYXJpYWJsZXNF",
"bnRyeRowCg5WYXJpYWJsZXNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUY",
"AiABKAk6AjgBIkMKDUludm9rZVJlcXVlc3QSCwoDdG9rGAEgASgJEiUKBGFy",
"Z3MYAiABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0ImQKDkludm9rZVJl",
"c3BvbnNlEicKBnJldHVybhgBIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1",
"Y3QSKQoIZmFpbHVyZXMYAiADKAsyFy5wdWx1bWlycGMuQ2hlY2tGYWlsdXJl",
"ImkKDENoZWNrUmVxdWVzdBILCgN1cm4YASABKAkSJQoEb2xkcxgCIAEoCzIX",
"Lmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QSJQoEbmV3cxgDIAEoCzIXLmdvb2ds",
"ZS5wcm90b2J1Zi5TdHJ1Y3QiYwoNQ2hlY2tSZXNwb25zZRInCgZpbnB1dHMY",
"ASABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0EikKCGZhaWx1cmVzGAIg",
"AygLMhcucHVsdW1pcnBjLkNoZWNrRmFpbHVyZSIwCgxDaGVja0ZhaWx1cmUS",
"EAoIcHJvcGVydHkYASABKAkSDgoGcmVhc29uGAIgASgJInQKC0RpZmZSZXF1",
"ZXN0EgoKAmlkGAEgASgJEgsKA3VybhgCIAEoCRIlCgRvbGRzGAMgASgLMhcu",
"Z29vZ2xlLnByb3RvYnVmLlN0cnVjdBIlCgRuZXdzGAQgASgLMhcuZ29vZ2xl",
"LnByb3RvYnVmLlN0cnVjdCJOCgxEaWZmUmVzcG9uc2USEAoIcmVwbGFjZXMY",
"ASADKAkSDwoHc3RhYmxlcxgCIAMoCRIbChNkZWxldGVCZWZvcmVSZXBsYWNl",
"GAMgASgIIkkKDUNyZWF0ZVJlcXVlc3QSCwoDdXJuGAEgASgJEisKCnByb3Bl",
"cnRpZXMYAiABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0IkkKDkNyZWF0",
"ZVJlc3BvbnNlEgoKAmlkGAEgASgJEisKCnByb3BlcnRpZXMYAiABKAsyFy5n",
"b29nbGUucHJvdG9idWYuU3RydWN0InYKDVVwZGF0ZVJlcXVlc3QSCgoCaWQY",
"ASABKAkSCwoDdXJuGAIgASgJEiUKBG9sZHMYAyABKAsyFy5nb29nbGUucHJv",
"dG9idWYuU3RydWN0EiUKBG5ld3MYBCABKAsyFy5nb29nbGUucHJvdG9idWYu",
"U3RydWN0Ij0KDlVwZGF0ZVJlc3BvbnNlEisKCnByb3BlcnRpZXMYASABKAsy",
"Fy5nb29nbGUucHJvdG9idWYuU3RydWN0IlUKDURlbGV0ZVJlcXVlc3QSCgoC",
"aWQYASABKAkSCwoDdXJuGAIgASgJEisKCnByb3BlcnRpZXMYAyABKAsyFy5n",
"b29nbGUucHJvdG9idWYuU3RydWN0MpIEChBSZXNvdXJjZVByb3ZpZGVyEkIK",
"CUNvbmZpZ3VyZRIbLnB1bHVtaXJwYy5Db25maWd1cmVSZXF1ZXN0GhYuZ29v",
"Z2xlLnByb3RvYnVmLkVtcHR5IgASPwoGSW52b2tlEhgucHVsdW1pcnBjLklu",
"dm9rZVJlcXVlc3QaGS5wdWx1bWlycGMuSW52b2tlUmVzcG9uc2UiABI8CgVD",
"aGVjaxIXLnB1bHVtaXJwYy5DaGVja1JlcXVlc3QaGC5wdWx1bWlycGMuQ2hl",
"Y2tSZXNwb25zZSIAEjkKBERpZmYSFi5wdWx1bWlycGMuRGlmZlJlcXVlc3Qa",
"Fy5wdWx1bWlycGMuRGlmZlJlc3BvbnNlIgASPwoGQ3JlYXRlEhgucHVsdW1p",
"cnBjLkNyZWF0ZVJlcXVlc3QaGS5wdWx1bWlycGMuQ3JlYXRlUmVzcG9uc2Ui",
"ABI/CgZVcGRhdGUSGC5wdWx1bWlycGMuVXBkYXRlUmVxdWVzdBoZLnB1bHVt",
"aXJwYy5VcGRhdGVSZXNwb25zZSIAEjwKBkRlbGV0ZRIYLnB1bHVtaXJwYy5E",
"ZWxldGVSZXF1ZXN0GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IgASQAoNR2V0",
"UGx1Z2luSW5mbxIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRoVLnB1bHVtaXJw",
"Yy5QbHVnaW5JbmZvIgBiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Pulumirpc.PluginReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.StructReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Pulumirpc.ConfigureRequest), global::Pulumirpc.ConfigureRequest.Parser, new[]{ "Variables" }, null, null, new pbr::GeneratedClrTypeInfo[] { null, }),
new pbr::GeneratedClrTypeInfo(typeof(global::Pulumirpc.InvokeRequest), global::Pulumirpc.InvokeRequest.Parser, new[]{ "Tok", "Args" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Pulumirpc.InvokeResponse), global::Pulumirpc.InvokeResponse.Parser, new[]{ "Return", "Failures" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Pulumirpc.CheckRequest), global::Pulumirpc.CheckRequest.Parser, new[]{ "Urn", "Olds", "News" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Pulumirpc.CheckResponse), global::Pulumirpc.CheckResponse.Parser, new[]{ "Inputs", "Failures" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Pulumirpc.CheckFailure), global::Pulumirpc.CheckFailure.Parser, new[]{ "Property", "Reason" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Pulumirpc.DiffRequest), global::Pulumirpc.DiffRequest.Parser, new[]{ "Id", "Urn", "Olds", "News" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Pulumirpc.DiffResponse), global::Pulumirpc.DiffResponse.Parser, new[]{ "Replaces", "Stables", "DeleteBeforeReplace" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Pulumirpc.CreateRequest), global::Pulumirpc.CreateRequest.Parser, new[]{ "Urn", "Properties" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Pulumirpc.CreateResponse), global::Pulumirpc.CreateResponse.Parser, new[]{ "Id", "Properties" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Pulumirpc.UpdateRequest), global::Pulumirpc.UpdateRequest.Parser, new[]{ "Id", "Urn", "Olds", "News" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Pulumirpc.UpdateResponse), global::Pulumirpc.UpdateResponse.Parser, new[]{ "Properties" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Pulumirpc.DeleteRequest), global::Pulumirpc.DeleteRequest.Parser, new[]{ "Id", "Urn", "Properties" }, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class ConfigureRequest : pb::IMessage<ConfigureRequest> {
private static readonly pb::MessageParser<ConfigureRequest> _parser = new pb::MessageParser<ConfigureRequest>(() => new ConfigureRequest());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ConfigureRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Pulumirpc.ProviderReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ConfigureRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ConfigureRequest(ConfigureRequest other) : this() {
variables_ = other.variables_.Clone();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ConfigureRequest Clone() {
return new ConfigureRequest(this);
}
/// <summary>Field number for the "variables" field.</summary>
public const int VariablesFieldNumber = 1;
private static readonly pbc::MapField<string, string>.Codec _map_variables_codec
= new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForString(18), 10);
private readonly pbc::MapField<string, string> variables_ = new pbc::MapField<string, string>();
/// <summary>
/// a map of configuration keys to values.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::MapField<string, string> Variables {
get { return variables_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as ConfigureRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(ConfigureRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!Variables.Equals(other.Variables)) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= Variables.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
variables_.WriteTo(output, _map_variables_codec);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += variables_.CalculateSize(_map_variables_codec);
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(ConfigureRequest other) {
if (other == null) {
return;
}
variables_.Add(other.variables_);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
variables_.AddEntriesFrom(input, _map_variables_codec);
break;
}
}
}
}
}
public sealed partial class InvokeRequest : pb::IMessage<InvokeRequest> {
private static readonly pb::MessageParser<InvokeRequest> _parser = new pb::MessageParser<InvokeRequest>(() => new InvokeRequest());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<InvokeRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Pulumirpc.ProviderReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public InvokeRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public InvokeRequest(InvokeRequest other) : this() {
tok_ = other.tok_;
Args = other.args_ != null ? other.Args.Clone() : null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public InvokeRequest Clone() {
return new InvokeRequest(this);
}
/// <summary>Field number for the "tok" field.</summary>
public const int TokFieldNumber = 1;
private string tok_ = "";
/// <summary>
/// the function token to invoke.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Tok {
get { return tok_; }
set {
tok_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "args" field.</summary>
public const int ArgsFieldNumber = 2;
private global::Google.Protobuf.WellKnownTypes.Struct args_;
/// <summary>
/// the arguments for the function invocation.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Google.Protobuf.WellKnownTypes.Struct Args {
get { return args_; }
set {
args_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as InvokeRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(InvokeRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Tok != other.Tok) return false;
if (!object.Equals(Args, other.Args)) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Tok.Length != 0) hash ^= Tok.GetHashCode();
if (args_ != null) hash ^= Args.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Tok.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Tok);
}
if (args_ != null) {
output.WriteRawTag(18);
output.WriteMessage(Args);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Tok.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Tok);
}
if (args_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Args);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(InvokeRequest other) {
if (other == null) {
return;
}
if (other.Tok.Length != 0) {
Tok = other.Tok;
}
if (other.args_ != null) {
if (args_ == null) {
args_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
Args.MergeFrom(other.Args);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
Tok = input.ReadString();
break;
}
case 18: {
if (args_ == null) {
args_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
input.ReadMessage(args_);
break;
}
}
}
}
}
public sealed partial class InvokeResponse : pb::IMessage<InvokeResponse> {
private static readonly pb::MessageParser<InvokeResponse> _parser = new pb::MessageParser<InvokeResponse>(() => new InvokeResponse());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<InvokeResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Pulumirpc.ProviderReflection.Descriptor.MessageTypes[2]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public InvokeResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public InvokeResponse(InvokeResponse other) : this() {
Return = other.return_ != null ? other.Return.Clone() : null;
failures_ = other.failures_.Clone();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public InvokeResponse Clone() {
return new InvokeResponse(this);
}
/// <summary>Field number for the "return" field.</summary>
public const int ReturnFieldNumber = 1;
private global::Google.Protobuf.WellKnownTypes.Struct return_;
/// <summary>
/// the returned values, if invoke was successful.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Google.Protobuf.WellKnownTypes.Struct Return {
get { return return_; }
set {
return_ = value;
}
}
/// <summary>Field number for the "failures" field.</summary>
public const int FailuresFieldNumber = 2;
private static readonly pb::FieldCodec<global::Pulumirpc.CheckFailure> _repeated_failures_codec
= pb::FieldCodec.ForMessage(18, global::Pulumirpc.CheckFailure.Parser);
private readonly pbc::RepeatedField<global::Pulumirpc.CheckFailure> failures_ = new pbc::RepeatedField<global::Pulumirpc.CheckFailure>();
/// <summary>
/// the failures if any arguments didn't pass verification.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<global::Pulumirpc.CheckFailure> Failures {
get { return failures_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as InvokeResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(InvokeResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Return, other.Return)) return false;
if(!failures_.Equals(other.failures_)) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (return_ != null) hash ^= Return.GetHashCode();
hash ^= failures_.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (return_ != null) {
output.WriteRawTag(10);
output.WriteMessage(Return);
}
failures_.WriteTo(output, _repeated_failures_codec);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (return_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Return);
}
size += failures_.CalculateSize(_repeated_failures_codec);
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(InvokeResponse other) {
if (other == null) {
return;
}
if (other.return_ != null) {
if (return_ == null) {
return_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
Return.MergeFrom(other.Return);
}
failures_.Add(other.failures_);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
if (return_ == null) {
return_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
input.ReadMessage(return_);
break;
}
case 18: {
failures_.AddEntriesFrom(input, _repeated_failures_codec);
break;
}
}
}
}
}
public sealed partial class CheckRequest : pb::IMessage<CheckRequest> {
private static readonly pb::MessageParser<CheckRequest> _parser = new pb::MessageParser<CheckRequest>(() => new CheckRequest());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<CheckRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Pulumirpc.ProviderReflection.Descriptor.MessageTypes[3]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CheckRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CheckRequest(CheckRequest other) : this() {
urn_ = other.urn_;
Olds = other.olds_ != null ? other.Olds.Clone() : null;
News = other.news_ != null ? other.News.Clone() : null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CheckRequest Clone() {
return new CheckRequest(this);
}
/// <summary>Field number for the "urn" field.</summary>
public const int UrnFieldNumber = 1;
private string urn_ = "";
/// <summary>
/// the Pulumi URN for this resource.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Urn {
get { return urn_; }
set {
urn_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "olds" field.</summary>
public const int OldsFieldNumber = 2;
private global::Google.Protobuf.WellKnownTypes.Struct olds_;
/// <summary>
/// the old Pulumi inputs for this resource, if any.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Google.Protobuf.WellKnownTypes.Struct Olds {
get { return olds_; }
set {
olds_ = value;
}
}
/// <summary>Field number for the "news" field.</summary>
public const int NewsFieldNumber = 3;
private global::Google.Protobuf.WellKnownTypes.Struct news_;
/// <summary>
/// the new Pulumi inputs for this resource.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Google.Protobuf.WellKnownTypes.Struct News {
get { return news_; }
set {
news_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as CheckRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(CheckRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Urn != other.Urn) return false;
if (!object.Equals(Olds, other.Olds)) return false;
if (!object.Equals(News, other.News)) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Urn.Length != 0) hash ^= Urn.GetHashCode();
if (olds_ != null) hash ^= Olds.GetHashCode();
if (news_ != null) hash ^= News.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Urn.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Urn);
}
if (olds_ != null) {
output.WriteRawTag(18);
output.WriteMessage(Olds);
}
if (news_ != null) {
output.WriteRawTag(26);
output.WriteMessage(News);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Urn.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Urn);
}
if (olds_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Olds);
}
if (news_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(News);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(CheckRequest other) {
if (other == null) {
return;
}
if (other.Urn.Length != 0) {
Urn = other.Urn;
}
if (other.olds_ != null) {
if (olds_ == null) {
olds_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
Olds.MergeFrom(other.Olds);
}
if (other.news_ != null) {
if (news_ == null) {
news_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
News.MergeFrom(other.News);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
Urn = input.ReadString();
break;
}
case 18: {
if (olds_ == null) {
olds_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
input.ReadMessage(olds_);
break;
}
case 26: {
if (news_ == null) {
news_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
input.ReadMessage(news_);
break;
}
}
}
}
}
public sealed partial class CheckResponse : pb::IMessage<CheckResponse> {
private static readonly pb::MessageParser<CheckResponse> _parser = new pb::MessageParser<CheckResponse>(() => new CheckResponse());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<CheckResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Pulumirpc.ProviderReflection.Descriptor.MessageTypes[4]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CheckResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CheckResponse(CheckResponse other) : this() {
Inputs = other.inputs_ != null ? other.Inputs.Clone() : null;
failures_ = other.failures_.Clone();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CheckResponse Clone() {
return new CheckResponse(this);
}
/// <summary>Field number for the "inputs" field.</summary>
public const int InputsFieldNumber = 1;
private global::Google.Protobuf.WellKnownTypes.Struct inputs_;
/// <summary>
/// the provider inputs for this resource.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Google.Protobuf.WellKnownTypes.Struct Inputs {
get { return inputs_; }
set {
inputs_ = value;
}
}
/// <summary>Field number for the "failures" field.</summary>
public const int FailuresFieldNumber = 2;
private static readonly pb::FieldCodec<global::Pulumirpc.CheckFailure> _repeated_failures_codec
= pb::FieldCodec.ForMessage(18, global::Pulumirpc.CheckFailure.Parser);
private readonly pbc::RepeatedField<global::Pulumirpc.CheckFailure> failures_ = new pbc::RepeatedField<global::Pulumirpc.CheckFailure>();
/// <summary>
/// any validation failures that occurred.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<global::Pulumirpc.CheckFailure> Failures {
get { return failures_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as CheckResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(CheckResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Inputs, other.Inputs)) return false;
if(!failures_.Equals(other.failures_)) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (inputs_ != null) hash ^= Inputs.GetHashCode();
hash ^= failures_.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (inputs_ != null) {
output.WriteRawTag(10);
output.WriteMessage(Inputs);
}
failures_.WriteTo(output, _repeated_failures_codec);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (inputs_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Inputs);
}
size += failures_.CalculateSize(_repeated_failures_codec);
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(CheckResponse other) {
if (other == null) {
return;
}
if (other.inputs_ != null) {
if (inputs_ == null) {
inputs_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
Inputs.MergeFrom(other.Inputs);
}
failures_.Add(other.failures_);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
if (inputs_ == null) {
inputs_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
input.ReadMessage(inputs_);
break;
}
case 18: {
failures_.AddEntriesFrom(input, _repeated_failures_codec);
break;
}
}
}
}
}
public sealed partial class CheckFailure : pb::IMessage<CheckFailure> {
private static readonly pb::MessageParser<CheckFailure> _parser = new pb::MessageParser<CheckFailure>(() => new CheckFailure());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<CheckFailure> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Pulumirpc.ProviderReflection.Descriptor.MessageTypes[5]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CheckFailure() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CheckFailure(CheckFailure other) : this() {
property_ = other.property_;
reason_ = other.reason_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CheckFailure Clone() {
return new CheckFailure(this);
}
/// <summary>Field number for the "property" field.</summary>
public const int PropertyFieldNumber = 1;
private string property_ = "";
/// <summary>
/// the property that failed validation.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Property {
get { return property_; }
set {
property_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "reason" field.</summary>
public const int ReasonFieldNumber = 2;
private string reason_ = "";
/// <summary>
/// the reason that the property failed validation.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Reason {
get { return reason_; }
set {
reason_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as CheckFailure);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(CheckFailure other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Property != other.Property) return false;
if (Reason != other.Reason) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Property.Length != 0) hash ^= Property.GetHashCode();
if (Reason.Length != 0) hash ^= Reason.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Property.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Property);
}
if (Reason.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Reason);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Property.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Property);
}
if (Reason.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Reason);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(CheckFailure other) {
if (other == null) {
return;
}
if (other.Property.Length != 0) {
Property = other.Property;
}
if (other.Reason.Length != 0) {
Reason = other.Reason;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
Property = input.ReadString();
break;
}
case 18: {
Reason = input.ReadString();
break;
}
}
}
}
}
public sealed partial class DiffRequest : pb::IMessage<DiffRequest> {
private static readonly pb::MessageParser<DiffRequest> _parser = new pb::MessageParser<DiffRequest>(() => new DiffRequest());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<DiffRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Pulumirpc.ProviderReflection.Descriptor.MessageTypes[6]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DiffRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DiffRequest(DiffRequest other) : this() {
id_ = other.id_;
urn_ = other.urn_;
Olds = other.olds_ != null ? other.Olds.Clone() : null;
News = other.news_ != null ? other.News.Clone() : null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DiffRequest Clone() {
return new DiffRequest(this);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 1;
private string id_ = "";
/// <summary>
/// the ID of the resource to diff.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Id {
get { return id_; }
set {
id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "urn" field.</summary>
public const int UrnFieldNumber = 2;
private string urn_ = "";
/// <summary>
/// the Pulumi URN for this resource.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Urn {
get { return urn_; }
set {
urn_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "olds" field.</summary>
public const int OldsFieldNumber = 3;
private global::Google.Protobuf.WellKnownTypes.Struct olds_;
/// <summary>
/// the old values of provider inputs to diff.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Google.Protobuf.WellKnownTypes.Struct Olds {
get { return olds_; }
set {
olds_ = value;
}
}
/// <summary>Field number for the "news" field.</summary>
public const int NewsFieldNumber = 4;
private global::Google.Protobuf.WellKnownTypes.Struct news_;
/// <summary>
/// the new values of provider inputs to diff.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Google.Protobuf.WellKnownTypes.Struct News {
get { return news_; }
set {
news_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as DiffRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(DiffRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (Urn != other.Urn) return false;
if (!object.Equals(Olds, other.Olds)) return false;
if (!object.Equals(News, other.News)) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Id.Length != 0) hash ^= Id.GetHashCode();
if (Urn.Length != 0) hash ^= Urn.GetHashCode();
if (olds_ != null) hash ^= Olds.GetHashCode();
if (news_ != null) hash ^= News.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Id.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Id);
}
if (Urn.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Urn);
}
if (olds_ != null) {
output.WriteRawTag(26);
output.WriteMessage(Olds);
}
if (news_ != null) {
output.WriteRawTag(34);
output.WriteMessage(News);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Id.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
}
if (Urn.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Urn);
}
if (olds_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Olds);
}
if (news_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(News);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(DiffRequest other) {
if (other == null) {
return;
}
if (other.Id.Length != 0) {
Id = other.Id;
}
if (other.Urn.Length != 0) {
Urn = other.Urn;
}
if (other.olds_ != null) {
if (olds_ == null) {
olds_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
Olds.MergeFrom(other.Olds);
}
if (other.news_ != null) {
if (news_ == null) {
news_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
News.MergeFrom(other.News);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
Id = input.ReadString();
break;
}
case 18: {
Urn = input.ReadString();
break;
}
case 26: {
if (olds_ == null) {
olds_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
input.ReadMessage(olds_);
break;
}
case 34: {
if (news_ == null) {
news_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
input.ReadMessage(news_);
break;
}
}
}
}
}
public sealed partial class DiffResponse : pb::IMessage<DiffResponse> {
private static readonly pb::MessageParser<DiffResponse> _parser = new pb::MessageParser<DiffResponse>(() => new DiffResponse());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<DiffResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Pulumirpc.ProviderReflection.Descriptor.MessageTypes[7]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DiffResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DiffResponse(DiffResponse other) : this() {
replaces_ = other.replaces_.Clone();
stables_ = other.stables_.Clone();
deleteBeforeReplace_ = other.deleteBeforeReplace_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DiffResponse Clone() {
return new DiffResponse(this);
}
/// <summary>Field number for the "replaces" field.</summary>
public const int ReplacesFieldNumber = 1;
private static readonly pb::FieldCodec<string> _repeated_replaces_codec
= pb::FieldCodec.ForString(10);
private readonly pbc::RepeatedField<string> replaces_ = new pbc::RepeatedField<string>();
/// <summary>
/// if this update requires a replacement, the set of properties triggering it.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<string> Replaces {
get { return replaces_; }
}
/// <summary>Field number for the "stables" field.</summary>
public const int StablesFieldNumber = 2;
private static readonly pb::FieldCodec<string> _repeated_stables_codec
= pb::FieldCodec.ForString(18);
private readonly pbc::RepeatedField<string> stables_ = new pbc::RepeatedField<string>();
/// <summary>
/// an optional list of properties that will not ever change.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<string> Stables {
get { return stables_; }
}
/// <summary>Field number for the "deleteBeforeReplace" field.</summary>
public const int DeleteBeforeReplaceFieldNumber = 3;
private bool deleteBeforeReplace_;
/// <summary>
/// if true, this resource must be deleted before replacing it.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool DeleteBeforeReplace {
get { return deleteBeforeReplace_; }
set {
deleteBeforeReplace_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as DiffResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(DiffResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!replaces_.Equals(other.replaces_)) return false;
if(!stables_.Equals(other.stables_)) return false;
if (DeleteBeforeReplace != other.DeleteBeforeReplace) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= replaces_.GetHashCode();
hash ^= stables_.GetHashCode();
if (DeleteBeforeReplace != false) hash ^= DeleteBeforeReplace.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
replaces_.WriteTo(output, _repeated_replaces_codec);
stables_.WriteTo(output, _repeated_stables_codec);
if (DeleteBeforeReplace != false) {
output.WriteRawTag(24);
output.WriteBool(DeleteBeforeReplace);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += replaces_.CalculateSize(_repeated_replaces_codec);
size += stables_.CalculateSize(_repeated_stables_codec);
if (DeleteBeforeReplace != false) {
size += 1 + 1;
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(DiffResponse other) {
if (other == null) {
return;
}
replaces_.Add(other.replaces_);
stables_.Add(other.stables_);
if (other.DeleteBeforeReplace != false) {
DeleteBeforeReplace = other.DeleteBeforeReplace;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
replaces_.AddEntriesFrom(input, _repeated_replaces_codec);
break;
}
case 18: {
stables_.AddEntriesFrom(input, _repeated_stables_codec);
break;
}
case 24: {
DeleteBeforeReplace = input.ReadBool();
break;
}
}
}
}
}
public sealed partial class CreateRequest : pb::IMessage<CreateRequest> {
private static readonly pb::MessageParser<CreateRequest> _parser = new pb::MessageParser<CreateRequest>(() => new CreateRequest());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<CreateRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Pulumirpc.ProviderReflection.Descriptor.MessageTypes[8]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateRequest(CreateRequest other) : this() {
urn_ = other.urn_;
Properties = other.properties_ != null ? other.Properties.Clone() : null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateRequest Clone() {
return new CreateRequest(this);
}
/// <summary>Field number for the "urn" field.</summary>
public const int UrnFieldNumber = 1;
private string urn_ = "";
/// <summary>
/// the Pulumi URN for this resource.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Urn {
get { return urn_; }
set {
urn_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "properties" field.</summary>
public const int PropertiesFieldNumber = 2;
private global::Google.Protobuf.WellKnownTypes.Struct properties_;
/// <summary>
/// the provider inputs to set during creation.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Google.Protobuf.WellKnownTypes.Struct Properties {
get { return properties_; }
set {
properties_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as CreateRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(CreateRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Urn != other.Urn) return false;
if (!object.Equals(Properties, other.Properties)) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Urn.Length != 0) hash ^= Urn.GetHashCode();
if (properties_ != null) hash ^= Properties.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Urn.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Urn);
}
if (properties_ != null) {
output.WriteRawTag(18);
output.WriteMessage(Properties);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Urn.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Urn);
}
if (properties_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Properties);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(CreateRequest other) {
if (other == null) {
return;
}
if (other.Urn.Length != 0) {
Urn = other.Urn;
}
if (other.properties_ != null) {
if (properties_ == null) {
properties_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
Properties.MergeFrom(other.Properties);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
Urn = input.ReadString();
break;
}
case 18: {
if (properties_ == null) {
properties_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
input.ReadMessage(properties_);
break;
}
}
}
}
}
public sealed partial class CreateResponse : pb::IMessage<CreateResponse> {
private static readonly pb::MessageParser<CreateResponse> _parser = new pb::MessageParser<CreateResponse>(() => new CreateResponse());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<CreateResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Pulumirpc.ProviderReflection.Descriptor.MessageTypes[9]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateResponse(CreateResponse other) : this() {
id_ = other.id_;
Properties = other.properties_ != null ? other.Properties.Clone() : null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateResponse Clone() {
return new CreateResponse(this);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 1;
private string id_ = "";
/// <summary>
/// the ID of the created resource.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Id {
get { return id_; }
set {
id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "properties" field.</summary>
public const int PropertiesFieldNumber = 2;
private global::Google.Protobuf.WellKnownTypes.Struct properties_;
/// <summary>
/// any properties that were computed during creation.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Google.Protobuf.WellKnownTypes.Struct Properties {
get { return properties_; }
set {
properties_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as CreateResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(CreateResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (!object.Equals(Properties, other.Properties)) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Id.Length != 0) hash ^= Id.GetHashCode();
if (properties_ != null) hash ^= Properties.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Id.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Id);
}
if (properties_ != null) {
output.WriteRawTag(18);
output.WriteMessage(Properties);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Id.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
}
if (properties_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Properties);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(CreateResponse other) {
if (other == null) {
return;
}
if (other.Id.Length != 0) {
Id = other.Id;
}
if (other.properties_ != null) {
if (properties_ == null) {
properties_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
Properties.MergeFrom(other.Properties);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
Id = input.ReadString();
break;
}
case 18: {
if (properties_ == null) {
properties_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
input.ReadMessage(properties_);
break;
}
}
}
}
}
public sealed partial class UpdateRequest : pb::IMessage<UpdateRequest> {
private static readonly pb::MessageParser<UpdateRequest> _parser = new pb::MessageParser<UpdateRequest>(() => new UpdateRequest());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<UpdateRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Pulumirpc.ProviderReflection.Descriptor.MessageTypes[10]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateRequest(UpdateRequest other) : this() {
id_ = other.id_;
urn_ = other.urn_;
Olds = other.olds_ != null ? other.Olds.Clone() : null;
News = other.news_ != null ? other.News.Clone() : null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateRequest Clone() {
return new UpdateRequest(this);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 1;
private string id_ = "";
/// <summary>
/// the ID of the resource to update.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Id {
get { return id_; }
set {
id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "urn" field.</summary>
public const int UrnFieldNumber = 2;
private string urn_ = "";
/// <summary>
/// the Pulumi URN for this resource.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Urn {
get { return urn_; }
set {
urn_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "olds" field.</summary>
public const int OldsFieldNumber = 3;
private global::Google.Protobuf.WellKnownTypes.Struct olds_;
/// <summary>
/// the old values of provider inputs for the resource to update.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Google.Protobuf.WellKnownTypes.Struct Olds {
get { return olds_; }
set {
olds_ = value;
}
}
/// <summary>Field number for the "news" field.</summary>
public const int NewsFieldNumber = 4;
private global::Google.Protobuf.WellKnownTypes.Struct news_;
/// <summary>
/// the new values of provider inputs for the resource to update.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Google.Protobuf.WellKnownTypes.Struct News {
get { return news_; }
set {
news_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as UpdateRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(UpdateRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (Urn != other.Urn) return false;
if (!object.Equals(Olds, other.Olds)) return false;
if (!object.Equals(News, other.News)) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Id.Length != 0) hash ^= Id.GetHashCode();
if (Urn.Length != 0) hash ^= Urn.GetHashCode();
if (olds_ != null) hash ^= Olds.GetHashCode();
if (news_ != null) hash ^= News.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Id.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Id);
}
if (Urn.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Urn);
}
if (olds_ != null) {
output.WriteRawTag(26);
output.WriteMessage(Olds);
}
if (news_ != null) {
output.WriteRawTag(34);
output.WriteMessage(News);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Id.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
}
if (Urn.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Urn);
}
if (olds_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Olds);
}
if (news_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(News);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(UpdateRequest other) {
if (other == null) {
return;
}
if (other.Id.Length != 0) {
Id = other.Id;
}
if (other.Urn.Length != 0) {
Urn = other.Urn;
}
if (other.olds_ != null) {
if (olds_ == null) {
olds_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
Olds.MergeFrom(other.Olds);
}
if (other.news_ != null) {
if (news_ == null) {
news_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
News.MergeFrom(other.News);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
Id = input.ReadString();
break;
}
case 18: {
Urn = input.ReadString();
break;
}
case 26: {
if (olds_ == null) {
olds_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
input.ReadMessage(olds_);
break;
}
case 34: {
if (news_ == null) {
news_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
input.ReadMessage(news_);
break;
}
}
}
}
}
public sealed partial class UpdateResponse : pb::IMessage<UpdateResponse> {
private static readonly pb::MessageParser<UpdateResponse> _parser = new pb::MessageParser<UpdateResponse>(() => new UpdateResponse());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<UpdateResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Pulumirpc.ProviderReflection.Descriptor.MessageTypes[11]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateResponse(UpdateResponse other) : this() {
Properties = other.properties_ != null ? other.Properties.Clone() : null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateResponse Clone() {
return new UpdateResponse(this);
}
/// <summary>Field number for the "properties" field.</summary>
public const int PropertiesFieldNumber = 1;
private global::Google.Protobuf.WellKnownTypes.Struct properties_;
/// <summary>
/// any properties that were computed during updating.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Google.Protobuf.WellKnownTypes.Struct Properties {
get { return properties_; }
set {
properties_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as UpdateResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(UpdateResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Properties, other.Properties)) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (properties_ != null) hash ^= Properties.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (properties_ != null) {
output.WriteRawTag(10);
output.WriteMessage(Properties);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (properties_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Properties);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(UpdateResponse other) {
if (other == null) {
return;
}
if (other.properties_ != null) {
if (properties_ == null) {
properties_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
Properties.MergeFrom(other.Properties);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
if (properties_ == null) {
properties_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
input.ReadMessage(properties_);
break;
}
}
}
}
}
public sealed partial class DeleteRequest : pb::IMessage<DeleteRequest> {
private static readonly pb::MessageParser<DeleteRequest> _parser = new pb::MessageParser<DeleteRequest>(() => new DeleteRequest());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<DeleteRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Pulumirpc.ProviderReflection.Descriptor.MessageTypes[12]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DeleteRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DeleteRequest(DeleteRequest other) : this() {
id_ = other.id_;
urn_ = other.urn_;
Properties = other.properties_ != null ? other.Properties.Clone() : null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DeleteRequest Clone() {
return new DeleteRequest(this);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 1;
private string id_ = "";
/// <summary>
/// the ID of the resource to delete.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Id {
get { return id_; }
set {
id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "urn" field.</summary>
public const int UrnFieldNumber = 2;
private string urn_ = "";
/// <summary>
/// the Pulumi URN for this resource.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Urn {
get { return urn_; }
set {
urn_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "properties" field.</summary>
public const int PropertiesFieldNumber = 3;
private global::Google.Protobuf.WellKnownTypes.Struct properties_;
/// <summary>
/// the current properties on the resource.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Google.Protobuf.WellKnownTypes.Struct Properties {
get { return properties_; }
set {
properties_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as DeleteRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(DeleteRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (Urn != other.Urn) return false;
if (!object.Equals(Properties, other.Properties)) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Id.Length != 0) hash ^= Id.GetHashCode();
if (Urn.Length != 0) hash ^= Urn.GetHashCode();
if (properties_ != null) hash ^= Properties.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Id.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Id);
}
if (Urn.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Urn);
}
if (properties_ != null) {
output.WriteRawTag(26);
output.WriteMessage(Properties);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Id.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
}
if (Urn.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Urn);
}
if (properties_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Properties);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(DeleteRequest other) {
if (other == null) {
return;
}
if (other.Id.Length != 0) {
Id = other.Id;
}
if (other.Urn.Length != 0) {
Urn = other.Urn;
}
if (other.properties_ != null) {
if (properties_ == null) {
properties_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
Properties.MergeFrom(other.Properties);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
Id = input.ReadString();
break;
}
case 18: {
Urn = input.ReadString();
break;
}
case 26: {
if (properties_ == null) {
properties_ = new global::Google.Protobuf.WellKnownTypes.Struct();
}
input.ReadMessage(properties_);
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code