| OLD | NEW |
| 1 // Generated by the protocol buffer compiler. DO NOT EDIT! | 1 // Generated by the protocol buffer compiler. DO NOT EDIT! |
| 2 // source: google/protobuf/api.proto | 2 // source: google/protobuf/api.proto |
| 3 #pragma warning disable 1591, 0612, 3021 | 3 #pragma warning disable 1591, 0612, 3021 |
| 4 #region Designer generated code | 4 #region Designer generated code |
| 5 | 5 |
| 6 using pb = global::Google.Protobuf; | 6 using pb = global::Google.Protobuf; |
| 7 using pbc = global::Google.Protobuf.Collections; | 7 using pbc = global::Google.Protobuf.Collections; |
| 8 using pbr = global::Google.Protobuf.Reflection; | 8 using pbr = global::Google.Protobuf.Reflection; |
| 9 using scg = global::System.Collections.Generic; | 9 using scg = global::System.Collections.Generic; |
| 10 namespace Google.Protobuf.WellKnownTypes { | 10 namespace Google.Protobuf.WellKnownTypes { |
| 11 | 11 |
| 12 /// <summary>Holder for reflection information generated from google/protobuf/
api.proto</summary> | 12 /// <summary>Holder for reflection information generated from google/protobuf/
api.proto</summary> |
| 13 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | |
| 14 public static partial class ApiReflection { | 13 public static partial class ApiReflection { |
| 15 | 14 |
| 16 #region Descriptor | 15 #region Descriptor |
| 17 /// <summary>File descriptor for google/protobuf/api.proto</summary> | 16 /// <summary>File descriptor for google/protobuf/api.proto</summary> |
| 18 public static pbr::FileDescriptor Descriptor { | 17 public static pbr::FileDescriptor Descriptor { |
| 19 get { return descriptor; } | 18 get { return descriptor; } |
| 20 } | 19 } |
| 21 private static pbr::FileDescriptor descriptor; | 20 private static pbr::FileDescriptor descriptor; |
| 22 | 21 |
| 23 static ApiReflection() { | 22 static ApiReflection() { |
| 24 byte[] descriptorData = global::System.Convert.FromBase64String( | 23 byte[] descriptorData = global::System.Convert.FromBase64String( |
| 25 string.Concat( | 24 string.Concat( |
| 26 "Chlnb29nbGUvcHJvdG9idWYvYXBpLnByb3RvEg9nb29nbGUucHJvdG9idWYa", | 25 "Chlnb29nbGUvcHJvdG9idWYvYXBpLnByb3RvEg9nb29nbGUucHJvdG9idWYa", |
| 27 "JGdvb2dsZS9wcm90b2J1Zi9zb3VyY2VfY29udGV4dC5wcm90bxoaZ29vZ2xl", | 26 "JGdvb2dsZS9wcm90b2J1Zi9zb3VyY2VfY29udGV4dC5wcm90bxoaZ29vZ2xl", |
| 28 "L3Byb3RvYnVmL3R5cGUucHJvdG8igQIKA0FwaRIMCgRuYW1lGAEgASgJEigK", | 27 "L3Byb3RvYnVmL3R5cGUucHJvdG8igQIKA0FwaRIMCgRuYW1lGAEgASgJEigK", |
| 29 "B21ldGhvZHMYAiADKAsyFy5nb29nbGUucHJvdG9idWYuTWV0aG9kEigKB29w", | 28 "B21ldGhvZHMYAiADKAsyFy5nb29nbGUucHJvdG9idWYuTWV0aG9kEigKB29w", |
| 30 "dGlvbnMYAyADKAsyFy5nb29nbGUucHJvdG9idWYuT3B0aW9uEg8KB3ZlcnNp", | 29 "dGlvbnMYAyADKAsyFy5nb29nbGUucHJvdG9idWYuT3B0aW9uEg8KB3ZlcnNp", |
| 31 "b24YBCABKAkSNgoOc291cmNlX2NvbnRleHQYBSABKAsyHi5nb29nbGUucHJv", | 30 "b24YBCABKAkSNgoOc291cmNlX2NvbnRleHQYBSABKAsyHi5nb29nbGUucHJv", |
| 32 "dG9idWYuU291cmNlQ29udGV4dBImCgZtaXhpbnMYBiADKAsyFi5nb29nbGUu", | 31 "dG9idWYuU291cmNlQ29udGV4dBImCgZtaXhpbnMYBiADKAsyFi5nb29nbGUu", |
| 33 "cHJvdG9idWYuTWl4aW4SJwoGc3ludGF4GAcgASgOMhcuZ29vZ2xlLnByb3Rv", | 32 "cHJvdG9idWYuTWl4aW4SJwoGc3ludGF4GAcgASgOMhcuZ29vZ2xlLnByb3Rv", |
| 34 "YnVmLlN5bnRheCLVAQoGTWV0aG9kEgwKBG5hbWUYASABKAkSGAoQcmVxdWVz", | 33 "YnVmLlN5bnRheCLVAQoGTWV0aG9kEgwKBG5hbWUYASABKAkSGAoQcmVxdWVz", |
| 35 "dF90eXBlX3VybBgCIAEoCRIZChFyZXF1ZXN0X3N0cmVhbWluZxgDIAEoCBIZ", | 34 "dF90eXBlX3VybBgCIAEoCRIZChFyZXF1ZXN0X3N0cmVhbWluZxgDIAEoCBIZ", |
| 36 "ChFyZXNwb25zZV90eXBlX3VybBgEIAEoCRIaChJyZXNwb25zZV9zdHJlYW1p", | 35 "ChFyZXNwb25zZV90eXBlX3VybBgEIAEoCRIaChJyZXNwb25zZV9zdHJlYW1p", |
| 37 "bmcYBSABKAgSKAoHb3B0aW9ucxgGIAMoCzIXLmdvb2dsZS5wcm90b2J1Zi5P", | 36 "bmcYBSABKAgSKAoHb3B0aW9ucxgGIAMoCzIXLmdvb2dsZS5wcm90b2J1Zi5P", |
| 38 "cHRpb24SJwoGc3ludGF4GAcgASgOMhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRh", | 37 "cHRpb24SJwoGc3ludGF4GAcgASgOMhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRh", |
| 39 "eCIjCgVNaXhpbhIMCgRuYW1lGAEgASgJEgwKBHJvb3QYAiABKAlCSwoTY29t", | 38 "eCIjCgVNaXhpbhIMCgRuYW1lGAEgASgJEgwKBHJvb3QYAiABKAlCdQoTY29t", |
| 40 "Lmdvb2dsZS5wcm90b2J1ZkIIQXBpUHJvdG9QAaABAaICA0dQQqoCHkdvb2ds", | 39 "Lmdvb2dsZS5wcm90b2J1ZkIIQXBpUHJvdG9QAVorZ29vZ2xlLmdvbGFuZy5v", |
| 41 "ZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IGcHJvdG8z")); | 40 "cmcvZ2VucHJvdG8vcHJvdG9idWYvYXBpO2FwaaICA0dQQqoCHkdvb2dsZS5Q", |
| 41 "cm90b2J1Zi5XZWxsS25vd25UeXBlc2IGcHJvdG8z")); |
| 42 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, | 42 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| 43 new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.Sou
rceContextReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TypeRefl
ection.Descriptor, }, | 43 new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.Sou
rceContextReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TypeRefl
ection.Descriptor, }, |
| 44 new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { | 44 new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { |
| 45 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKno
wnTypes.Api), global::Google.Protobuf.WellKnownTypes.Api.Parser, new[]{ "Name",
"Methods", "Options", "Version", "SourceContext", "Mixins", "Syntax" }, null, nu
ll, null), | 45 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKno
wnTypes.Api), global::Google.Protobuf.WellKnownTypes.Api.Parser, new[]{ "Name",
"Methods", "Options", "Version", "SourceContext", "Mixins", "Syntax" }, null, nu
ll, null), |
| 46 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKno
wnTypes.Method), global::Google.Protobuf.WellKnownTypes.Method.Parser, new[]{ "N
ame", "RequestTypeUrl", "RequestStreaming", "ResponseTypeUrl", "ResponseStreamin
g", "Options", "Syntax" }, null, null, null), | 46 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKno
wnTypes.Method), global::Google.Protobuf.WellKnownTypes.Method.Parser, new[]{ "N
ame", "RequestTypeUrl", "RequestStreaming", "ResponseTypeUrl", "ResponseStreamin
g", "Options", "Syntax" }, null, null, null), |
| 47 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKno
wnTypes.Mixin), global::Google.Protobuf.WellKnownTypes.Mixin.Parser, new[]{ "Nam
e", "Root" }, null, null, null) | 47 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKno
wnTypes.Mixin), global::Google.Protobuf.WellKnownTypes.Mixin.Parser, new[]{ "Nam
e", "Root" }, null, null, null) |
| 48 })); | 48 })); |
| 49 } | 49 } |
| 50 #endregion | 50 #endregion |
| 51 | 51 |
| 52 } | 52 } |
| 53 #region Messages | 53 #region Messages |
| 54 /// <summary> | 54 /// <summary> |
| 55 /// Api is a light-weight descriptor for a protocol buffer service. | 55 /// Api is a light-weight descriptor for a protocol buffer service. |
| 56 /// </summary> | 56 /// </summary> |
| 57 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | |
| 58 public sealed partial class Api : pb::IMessage<Api> { | 57 public sealed partial class Api : pb::IMessage<Api> { |
| 59 private static readonly pb::MessageParser<Api> _parser = new pb::MessagePars
er<Api>(() => new Api()); | 58 private static readonly pb::MessageParser<Api> _parser = new pb::MessagePars
er<Api>(() => new Api()); |
| 59 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 60 public static pb::MessageParser<Api> Parser { get { return _parser; } } | 60 public static pb::MessageParser<Api> Parser { get { return _parser; } } |
| 61 | 61 |
| 62 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 62 public static pbr::MessageDescriptor Descriptor { | 63 public static pbr::MessageDescriptor Descriptor { |
| 63 get { return global::Google.Protobuf.WellKnownTypes.ApiReflection.Descript
or.MessageTypes[0]; } | 64 get { return global::Google.Protobuf.WellKnownTypes.ApiReflection.Descript
or.MessageTypes[0]; } |
| 64 } | 65 } |
| 65 | 66 |
| 67 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 66 pbr::MessageDescriptor pb::IMessage.Descriptor { | 68 pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 67 get { return Descriptor; } | 69 get { return Descriptor; } |
| 68 } | 70 } |
| 69 | 71 |
| 72 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 70 public Api() { | 73 public Api() { |
| 71 OnConstruction(); | 74 OnConstruction(); |
| 72 } | 75 } |
| 73 | 76 |
| 74 partial void OnConstruction(); | 77 partial void OnConstruction(); |
| 75 | 78 |
| 79 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 76 public Api(Api other) : this() { | 80 public Api(Api other) : this() { |
| 77 name_ = other.name_; | 81 name_ = other.name_; |
| 78 methods_ = other.methods_.Clone(); | 82 methods_ = other.methods_.Clone(); |
| 79 options_ = other.options_.Clone(); | 83 options_ = other.options_.Clone(); |
| 80 version_ = other.version_; | 84 version_ = other.version_; |
| 81 SourceContext = other.sourceContext_ != null ? other.SourceContext.Clone()
: null; | 85 SourceContext = other.sourceContext_ != null ? other.SourceContext.Clone()
: null; |
| 82 mixins_ = other.mixins_.Clone(); | 86 mixins_ = other.mixins_.Clone(); |
| 83 syntax_ = other.syntax_; | 87 syntax_ = other.syntax_; |
| 84 } | 88 } |
| 85 | 89 |
| 90 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 86 public Api Clone() { | 91 public Api Clone() { |
| 87 return new Api(this); | 92 return new Api(this); |
| 88 } | 93 } |
| 89 | 94 |
| 90 /// <summary>Field number for the "name" field.</summary> | 95 /// <summary>Field number for the "name" field.</summary> |
| 91 public const int NameFieldNumber = 1; | 96 public const int NameFieldNumber = 1; |
| 92 private string name_ = ""; | 97 private string name_ = ""; |
| 93 /// <summary> | 98 /// <summary> |
| 94 /// The fully qualified name of this api, including package name | 99 /// The fully qualified name of this api, including package name |
| 95 /// followed by the api's simple name. | 100 /// followed by the api's simple name. |
| 96 /// </summary> | 101 /// </summary> |
| 102 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 97 public string Name { | 103 public string Name { |
| 98 get { return name_; } | 104 get { return name_; } |
| 99 set { | 105 set { |
| 100 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); | 106 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 101 } | 107 } |
| 102 } | 108 } |
| 103 | 109 |
| 104 /// <summary>Field number for the "methods" field.</summary> | 110 /// <summary>Field number for the "methods" field.</summary> |
| 105 public const int MethodsFieldNumber = 2; | 111 public const int MethodsFieldNumber = 2; |
| 106 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Method> _repeated_methods_codec | 112 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Method> _repeated_methods_codec |
| 107 = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.M
ethod.Parser); | 113 = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.M
ethod.Parser); |
| 108 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.M
ethod> methods_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.
Method>(); | 114 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.M
ethod> methods_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.
Method>(); |
| 109 /// <summary> | 115 /// <summary> |
| 110 /// The methods of this api, in unspecified order. | 116 /// The methods of this api, in unspecified order. |
| 111 /// </summary> | 117 /// </summary> |
| 118 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 112 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Method> Met
hods { | 119 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Method> Met
hods { |
| 113 get { return methods_; } | 120 get { return methods_; } |
| 114 } | 121 } |
| 115 | 122 |
| 116 /// <summary>Field number for the "options" field.</summary> | 123 /// <summary>Field number for the "options" field.</summary> |
| 117 public const int OptionsFieldNumber = 3; | 124 public const int OptionsFieldNumber = 3; |
| 118 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Option> _repeated_options_codec | 125 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Option> _repeated_options_codec |
| 119 = pb::FieldCodec.ForMessage(26, global::Google.Protobuf.WellKnownTypes.O
ption.Parser); | 126 = pb::FieldCodec.ForMessage(26, global::Google.Protobuf.WellKnownTypes.O
ption.Parser); |
| 120 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.O
ption> options_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.
Option>(); | 127 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.O
ption> options_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.
Option>(); |
| 121 /// <summary> | 128 /// <summary> |
| 122 /// Any metadata attached to the API. | 129 /// Any metadata attached to the API. |
| 123 /// </summary> | 130 /// </summary> |
| 131 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 124 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> Opt
ions { | 132 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> Opt
ions { |
| 125 get { return options_; } | 133 get { return options_; } |
| 126 } | 134 } |
| 127 | 135 |
| 128 /// <summary>Field number for the "version" field.</summary> | 136 /// <summary>Field number for the "version" field.</summary> |
| 129 public const int VersionFieldNumber = 4; | 137 public const int VersionFieldNumber = 4; |
| 130 private string version_ = ""; | 138 private string version_ = ""; |
| 131 /// <summary> | 139 /// <summary> |
| 132 /// A version string for this api. If specified, must have the form | 140 /// A version string for this api. If specified, must have the form |
| 133 /// `major-version.minor-version`, as in `1.10`. If the minor version | 141 /// `major-version.minor-version`, as in `1.10`. If the minor version |
| 134 /// is omitted, it defaults to zero. If the entire version field is | 142 /// is omitted, it defaults to zero. If the entire version field is |
| 135 /// empty, the major version is derived from the package name, as | 143 /// empty, the major version is derived from the package name, as |
| 136 /// outlined below. If the field is not empty, the version in the | 144 /// outlined below. If the field is not empty, the version in the |
| 137 /// package name will be verified to be consistent with what is | 145 /// package name will be verified to be consistent with what is |
| 138 /// provided here. | 146 /// provided here. |
| 139 /// | 147 /// |
| 140 /// The versioning schema uses [semantic | 148 /// The versioning schema uses [semantic |
| 141 /// versioning](http://semver.org) where the major version number | 149 /// versioning](http://semver.org) where the major version number |
| 142 /// indicates a breaking change and the minor version an additive, | 150 /// indicates a breaking change and the minor version an additive, |
| 143 /// non-breaking change. Both version numbers are signals to users | 151 /// non-breaking change. Both version numbers are signals to users |
| 144 /// what to expect from different versions, and should be carefully | 152 /// what to expect from different versions, and should be carefully |
| 145 /// chosen based on the product plan. | 153 /// chosen based on the product plan. |
| 146 /// | 154 /// |
| 147 /// The major version is also reflected in the package name of the | 155 /// The major version is also reflected in the package name of the |
| 148 /// API, which must end in `v<major-version>`, as in | 156 /// API, which must end in `v<major-version>`, as in |
| 149 /// `google.feature.v1`. For major versions 0 and 1, the suffix can | 157 /// `google.feature.v1`. For major versions 0 and 1, the suffix can |
| 150 /// be omitted. Zero major versions must only be used for | 158 /// be omitted. Zero major versions must only be used for |
| 151 /// experimental, none-GA apis. | 159 /// experimental, none-GA apis. |
| 152 /// </summary> | 160 /// </summary> |
| 161 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 153 public string Version { | 162 public string Version { |
| 154 get { return version_; } | 163 get { return version_; } |
| 155 set { | 164 set { |
| 156 version_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); | 165 version_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 157 } | 166 } |
| 158 } | 167 } |
| 159 | 168 |
| 160 /// <summary>Field number for the "source_context" field.</summary> | 169 /// <summary>Field number for the "source_context" field.</summary> |
| 161 public const int SourceContextFieldNumber = 5; | 170 public const int SourceContextFieldNumber = 5; |
| 162 private global::Google.Protobuf.WellKnownTypes.SourceContext sourceContext_; | 171 private global::Google.Protobuf.WellKnownTypes.SourceContext sourceContext_; |
| 163 /// <summary> | 172 /// <summary> |
| 164 /// Source context for the protocol buffer service represented by this | 173 /// Source context for the protocol buffer service represented by this |
| 165 /// message. | 174 /// message. |
| 166 /// </summary> | 175 /// </summary> |
| 176 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 167 public global::Google.Protobuf.WellKnownTypes.SourceContext SourceContext { | 177 public global::Google.Protobuf.WellKnownTypes.SourceContext SourceContext { |
| 168 get { return sourceContext_; } | 178 get { return sourceContext_; } |
| 169 set { | 179 set { |
| 170 sourceContext_ = value; | 180 sourceContext_ = value; |
| 171 } | 181 } |
| 172 } | 182 } |
| 173 | 183 |
| 174 /// <summary>Field number for the "mixins" field.</summary> | 184 /// <summary>Field number for the "mixins" field.</summary> |
| 175 public const int MixinsFieldNumber = 6; | 185 public const int MixinsFieldNumber = 6; |
| 176 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Mixin> _repeated_mixins_codec | 186 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Mixin> _repeated_mixins_codec |
| 177 = pb::FieldCodec.ForMessage(50, global::Google.Protobuf.WellKnownTypes.M
ixin.Parser); | 187 = pb::FieldCodec.ForMessage(50, global::Google.Protobuf.WellKnownTypes.M
ixin.Parser); |
| 178 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.M
ixin> mixins_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Mi
xin>(); | 188 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.M
ixin> mixins_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Mi
xin>(); |
| 179 /// <summary> | 189 /// <summary> |
| 180 /// Included APIs. See [Mixin][]. | 190 /// Included APIs. See [Mixin][]. |
| 181 /// </summary> | 191 /// </summary> |
| 192 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 182 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Mixin> Mixi
ns { | 193 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Mixin> Mixi
ns { |
| 183 get { return mixins_; } | 194 get { return mixins_; } |
| 184 } | 195 } |
| 185 | 196 |
| 186 /// <summary>Field number for the "syntax" field.</summary> | 197 /// <summary>Field number for the "syntax" field.</summary> |
| 187 public const int SyntaxFieldNumber = 7; | 198 public const int SyntaxFieldNumber = 7; |
| 188 private global::Google.Protobuf.WellKnownTypes.Syntax syntax_ = 0; | 199 private global::Google.Protobuf.WellKnownTypes.Syntax syntax_ = 0; |
| 189 /// <summary> | 200 /// <summary> |
| 190 /// The source syntax of the service. | 201 /// The source syntax of the service. |
| 191 /// </summary> | 202 /// </summary> |
| 203 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 192 public global::Google.Protobuf.WellKnownTypes.Syntax Syntax { | 204 public global::Google.Protobuf.WellKnownTypes.Syntax Syntax { |
| 193 get { return syntax_; } | 205 get { return syntax_; } |
| 194 set { | 206 set { |
| 195 syntax_ = value; | 207 syntax_ = value; |
| 196 } | 208 } |
| 197 } | 209 } |
| 198 | 210 |
| 211 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 199 public override bool Equals(object other) { | 212 public override bool Equals(object other) { |
| 200 return Equals(other as Api); | 213 return Equals(other as Api); |
| 201 } | 214 } |
| 202 | 215 |
| 216 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 203 public bool Equals(Api other) { | 217 public bool Equals(Api other) { |
| 204 if (ReferenceEquals(other, null)) { | 218 if (ReferenceEquals(other, null)) { |
| 205 return false; | 219 return false; |
| 206 } | 220 } |
| 207 if (ReferenceEquals(other, this)) { | 221 if (ReferenceEquals(other, this)) { |
| 208 return true; | 222 return true; |
| 209 } | 223 } |
| 210 if (Name != other.Name) return false; | 224 if (Name != other.Name) return false; |
| 211 if(!methods_.Equals(other.methods_)) return false; | 225 if(!methods_.Equals(other.methods_)) return false; |
| 212 if(!options_.Equals(other.options_)) return false; | 226 if(!options_.Equals(other.options_)) return false; |
| 213 if (Version != other.Version) return false; | 227 if (Version != other.Version) return false; |
| 214 if (!object.Equals(SourceContext, other.SourceContext)) return false; | 228 if (!object.Equals(SourceContext, other.SourceContext)) return false; |
| 215 if(!mixins_.Equals(other.mixins_)) return false; | 229 if(!mixins_.Equals(other.mixins_)) return false; |
| 216 if (Syntax != other.Syntax) return false; | 230 if (Syntax != other.Syntax) return false; |
| 217 return true; | 231 return true; |
| 218 } | 232 } |
| 219 | 233 |
| 234 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 220 public override int GetHashCode() { | 235 public override int GetHashCode() { |
| 221 int hash = 1; | 236 int hash = 1; |
| 222 if (Name.Length != 0) hash ^= Name.GetHashCode(); | 237 if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| 223 hash ^= methods_.GetHashCode(); | 238 hash ^= methods_.GetHashCode(); |
| 224 hash ^= options_.GetHashCode(); | 239 hash ^= options_.GetHashCode(); |
| 225 if (Version.Length != 0) hash ^= Version.GetHashCode(); | 240 if (Version.Length != 0) hash ^= Version.GetHashCode(); |
| 226 if (sourceContext_ != null) hash ^= SourceContext.GetHashCode(); | 241 if (sourceContext_ != null) hash ^= SourceContext.GetHashCode(); |
| 227 hash ^= mixins_.GetHashCode(); | 242 hash ^= mixins_.GetHashCode(); |
| 228 if (Syntax != 0) hash ^= Syntax.GetHashCode(); | 243 if (Syntax != 0) hash ^= Syntax.GetHashCode(); |
| 229 return hash; | 244 return hash; |
| 230 } | 245 } |
| 231 | 246 |
| 247 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 232 public override string ToString() { | 248 public override string ToString() { |
| 233 return pb::JsonFormatter.ToDiagnosticString(this); | 249 return pb::JsonFormatter.ToDiagnosticString(this); |
| 234 } | 250 } |
| 235 | 251 |
| 252 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 236 public void WriteTo(pb::CodedOutputStream output) { | 253 public void WriteTo(pb::CodedOutputStream output) { |
| 237 if (Name.Length != 0) { | 254 if (Name.Length != 0) { |
| 238 output.WriteRawTag(10); | 255 output.WriteRawTag(10); |
| 239 output.WriteString(Name); | 256 output.WriteString(Name); |
| 240 } | 257 } |
| 241 methods_.WriteTo(output, _repeated_methods_codec); | 258 methods_.WriteTo(output, _repeated_methods_codec); |
| 242 options_.WriteTo(output, _repeated_options_codec); | 259 options_.WriteTo(output, _repeated_options_codec); |
| 243 if (Version.Length != 0) { | 260 if (Version.Length != 0) { |
| 244 output.WriteRawTag(34); | 261 output.WriteRawTag(34); |
| 245 output.WriteString(Version); | 262 output.WriteString(Version); |
| 246 } | 263 } |
| 247 if (sourceContext_ != null) { | 264 if (sourceContext_ != null) { |
| 248 output.WriteRawTag(42); | 265 output.WriteRawTag(42); |
| 249 output.WriteMessage(SourceContext); | 266 output.WriteMessage(SourceContext); |
| 250 } | 267 } |
| 251 mixins_.WriteTo(output, _repeated_mixins_codec); | 268 mixins_.WriteTo(output, _repeated_mixins_codec); |
| 252 if (Syntax != 0) { | 269 if (Syntax != 0) { |
| 253 output.WriteRawTag(56); | 270 output.WriteRawTag(56); |
| 254 output.WriteEnum((int) Syntax); | 271 output.WriteEnum((int) Syntax); |
| 255 } | 272 } |
| 256 } | 273 } |
| 257 | 274 |
| 275 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 258 public int CalculateSize() { | 276 public int CalculateSize() { |
| 259 int size = 0; | 277 int size = 0; |
| 260 if (Name.Length != 0) { | 278 if (Name.Length != 0) { |
| 261 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); | 279 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| 262 } | 280 } |
| 263 size += methods_.CalculateSize(_repeated_methods_codec); | 281 size += methods_.CalculateSize(_repeated_methods_codec); |
| 264 size += options_.CalculateSize(_repeated_options_codec); | 282 size += options_.CalculateSize(_repeated_options_codec); |
| 265 if (Version.Length != 0) { | 283 if (Version.Length != 0) { |
| 266 size += 1 + pb::CodedOutputStream.ComputeStringSize(Version); | 284 size += 1 + pb::CodedOutputStream.ComputeStringSize(Version); |
| 267 } | 285 } |
| 268 if (sourceContext_ != null) { | 286 if (sourceContext_ != null) { |
| 269 size += 1 + pb::CodedOutputStream.ComputeMessageSize(SourceContext); | 287 size += 1 + pb::CodedOutputStream.ComputeMessageSize(SourceContext); |
| 270 } | 288 } |
| 271 size += mixins_.CalculateSize(_repeated_mixins_codec); | 289 size += mixins_.CalculateSize(_repeated_mixins_codec); |
| 272 if (Syntax != 0) { | 290 if (Syntax != 0) { |
| 273 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Syntax); | 291 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Syntax); |
| 274 } | 292 } |
| 275 return size; | 293 return size; |
| 276 } | 294 } |
| 277 | 295 |
| 296 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 278 public void MergeFrom(Api other) { | 297 public void MergeFrom(Api other) { |
| 279 if (other == null) { | 298 if (other == null) { |
| 280 return; | 299 return; |
| 281 } | 300 } |
| 282 if (other.Name.Length != 0) { | 301 if (other.Name.Length != 0) { |
| 283 Name = other.Name; | 302 Name = other.Name; |
| 284 } | 303 } |
| 285 methods_.Add(other.methods_); | 304 methods_.Add(other.methods_); |
| 286 options_.Add(other.options_); | 305 options_.Add(other.options_); |
| 287 if (other.Version.Length != 0) { | 306 if (other.Version.Length != 0) { |
| 288 Version = other.Version; | 307 Version = other.Version; |
| 289 } | 308 } |
| 290 if (other.sourceContext_ != null) { | 309 if (other.sourceContext_ != null) { |
| 291 if (sourceContext_ == null) { | 310 if (sourceContext_ == null) { |
| 292 sourceContext_ = new global::Google.Protobuf.WellKnownTypes.SourceCont
ext(); | 311 sourceContext_ = new global::Google.Protobuf.WellKnownTypes.SourceCont
ext(); |
| 293 } | 312 } |
| 294 SourceContext.MergeFrom(other.SourceContext); | 313 SourceContext.MergeFrom(other.SourceContext); |
| 295 } | 314 } |
| 296 mixins_.Add(other.mixins_); | 315 mixins_.Add(other.mixins_); |
| 297 if (other.Syntax != 0) { | 316 if (other.Syntax != 0) { |
| 298 Syntax = other.Syntax; | 317 Syntax = other.Syntax; |
| 299 } | 318 } |
| 300 } | 319 } |
| 301 | 320 |
| 321 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 302 public void MergeFrom(pb::CodedInputStream input) { | 322 public void MergeFrom(pb::CodedInputStream input) { |
| 303 uint tag; | 323 uint tag; |
| 304 while ((tag = input.ReadTag()) != 0) { | 324 while ((tag = input.ReadTag()) != 0) { |
| 305 switch(tag) { | 325 switch(tag) { |
| 306 default: | 326 default: |
| 307 input.SkipLastField(); | 327 input.SkipLastField(); |
| 308 break; | 328 break; |
| 309 case 10: { | 329 case 10: { |
| 310 Name = input.ReadString(); | 330 Name = input.ReadString(); |
| 311 break; | 331 break; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 337 syntax_ = (global::Google.Protobuf.WellKnownTypes.Syntax) input.Read
Enum(); | 357 syntax_ = (global::Google.Protobuf.WellKnownTypes.Syntax) input.Read
Enum(); |
| 338 break; | 358 break; |
| 339 } | 359 } |
| 340 } | 360 } |
| 341 } | 361 } |
| 342 } | 362 } |
| 343 | 363 |
| 344 } | 364 } |
| 345 | 365 |
| 346 /// <summary> | 366 /// <summary> |
| 347 /// Method represents a method of an api. | 367 /// Method represents a method of an api. |
| 348 /// </summary> | 368 /// </summary> |
| 349 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | |
| 350 public sealed partial class Method : pb::IMessage<Method> { | 369 public sealed partial class Method : pb::IMessage<Method> { |
| 351 private static readonly pb::MessageParser<Method> _parser = new pb::MessageP
arser<Method>(() => new Method()); | 370 private static readonly pb::MessageParser<Method> _parser = new pb::MessageP
arser<Method>(() => new Method()); |
| 371 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 352 public static pb::MessageParser<Method> Parser { get { return _parser; } } | 372 public static pb::MessageParser<Method> Parser { get { return _parser; } } |
| 353 | 373 |
| 374 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 354 public static pbr::MessageDescriptor Descriptor { | 375 public static pbr::MessageDescriptor Descriptor { |
| 355 get { return global::Google.Protobuf.WellKnownTypes.ApiReflection.Descript
or.MessageTypes[1]; } | 376 get { return global::Google.Protobuf.WellKnownTypes.ApiReflection.Descript
or.MessageTypes[1]; } |
| 356 } | 377 } |
| 357 | 378 |
| 379 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 358 pbr::MessageDescriptor pb::IMessage.Descriptor { | 380 pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 359 get { return Descriptor; } | 381 get { return Descriptor; } |
| 360 } | 382 } |
| 361 | 383 |
| 384 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 362 public Method() { | 385 public Method() { |
| 363 OnConstruction(); | 386 OnConstruction(); |
| 364 } | 387 } |
| 365 | 388 |
| 366 partial void OnConstruction(); | 389 partial void OnConstruction(); |
| 367 | 390 |
| 391 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 368 public Method(Method other) : this() { | 392 public Method(Method other) : this() { |
| 369 name_ = other.name_; | 393 name_ = other.name_; |
| 370 requestTypeUrl_ = other.requestTypeUrl_; | 394 requestTypeUrl_ = other.requestTypeUrl_; |
| 371 requestStreaming_ = other.requestStreaming_; | 395 requestStreaming_ = other.requestStreaming_; |
| 372 responseTypeUrl_ = other.responseTypeUrl_; | 396 responseTypeUrl_ = other.responseTypeUrl_; |
| 373 responseStreaming_ = other.responseStreaming_; | 397 responseStreaming_ = other.responseStreaming_; |
| 374 options_ = other.options_.Clone(); | 398 options_ = other.options_.Clone(); |
| 375 syntax_ = other.syntax_; | 399 syntax_ = other.syntax_; |
| 376 } | 400 } |
| 377 | 401 |
| 402 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 378 public Method Clone() { | 403 public Method Clone() { |
| 379 return new Method(this); | 404 return new Method(this); |
| 380 } | 405 } |
| 381 | 406 |
| 382 /// <summary>Field number for the "name" field.</summary> | 407 /// <summary>Field number for the "name" field.</summary> |
| 383 public const int NameFieldNumber = 1; | 408 public const int NameFieldNumber = 1; |
| 384 private string name_ = ""; | 409 private string name_ = ""; |
| 385 /// <summary> | 410 /// <summary> |
| 386 /// The simple name of this method. | 411 /// The simple name of this method. |
| 387 /// </summary> | 412 /// </summary> |
| 413 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 388 public string Name { | 414 public string Name { |
| 389 get { return name_; } | 415 get { return name_; } |
| 390 set { | 416 set { |
| 391 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); | 417 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 392 } | 418 } |
| 393 } | 419 } |
| 394 | 420 |
| 395 /// <summary>Field number for the "request_type_url" field.</summary> | 421 /// <summary>Field number for the "request_type_url" field.</summary> |
| 396 public const int RequestTypeUrlFieldNumber = 2; | 422 public const int RequestTypeUrlFieldNumber = 2; |
| 397 private string requestTypeUrl_ = ""; | 423 private string requestTypeUrl_ = ""; |
| 398 /// <summary> | 424 /// <summary> |
| 399 /// A URL of the input message type. | 425 /// A URL of the input message type. |
| 400 /// </summary> | 426 /// </summary> |
| 427 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 401 public string RequestTypeUrl { | 428 public string RequestTypeUrl { |
| 402 get { return requestTypeUrl_; } | 429 get { return requestTypeUrl_; } |
| 403 set { | 430 set { |
| 404 requestTypeUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); | 431 requestTypeUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 405 } | 432 } |
| 406 } | 433 } |
| 407 | 434 |
| 408 /// <summary>Field number for the "request_streaming" field.</summary> | 435 /// <summary>Field number for the "request_streaming" field.</summary> |
| 409 public const int RequestStreamingFieldNumber = 3; | 436 public const int RequestStreamingFieldNumber = 3; |
| 410 private bool requestStreaming_; | 437 private bool requestStreaming_; |
| 411 /// <summary> | 438 /// <summary> |
| 412 /// If true, the request is streamed. | 439 /// If true, the request is streamed. |
| 413 /// </summary> | 440 /// </summary> |
| 441 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 414 public bool RequestStreaming { | 442 public bool RequestStreaming { |
| 415 get { return requestStreaming_; } | 443 get { return requestStreaming_; } |
| 416 set { | 444 set { |
| 417 requestStreaming_ = value; | 445 requestStreaming_ = value; |
| 418 } | 446 } |
| 419 } | 447 } |
| 420 | 448 |
| 421 /// <summary>Field number for the "response_type_url" field.</summary> | 449 /// <summary>Field number for the "response_type_url" field.</summary> |
| 422 public const int ResponseTypeUrlFieldNumber = 4; | 450 public const int ResponseTypeUrlFieldNumber = 4; |
| 423 private string responseTypeUrl_ = ""; | 451 private string responseTypeUrl_ = ""; |
| 424 /// <summary> | 452 /// <summary> |
| 425 /// The URL of the output message type. | 453 /// The URL of the output message type. |
| 426 /// </summary> | 454 /// </summary> |
| 455 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 427 public string ResponseTypeUrl { | 456 public string ResponseTypeUrl { |
| 428 get { return responseTypeUrl_; } | 457 get { return responseTypeUrl_; } |
| 429 set { | 458 set { |
| 430 responseTypeUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); | 459 responseTypeUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 431 } | 460 } |
| 432 } | 461 } |
| 433 | 462 |
| 434 /// <summary>Field number for the "response_streaming" field.</summary> | 463 /// <summary>Field number for the "response_streaming" field.</summary> |
| 435 public const int ResponseStreamingFieldNumber = 5; | 464 public const int ResponseStreamingFieldNumber = 5; |
| 436 private bool responseStreaming_; | 465 private bool responseStreaming_; |
| 437 /// <summary> | 466 /// <summary> |
| 438 /// If true, the response is streamed. | 467 /// If true, the response is streamed. |
| 439 /// </summary> | 468 /// </summary> |
| 469 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 440 public bool ResponseStreaming { | 470 public bool ResponseStreaming { |
| 441 get { return responseStreaming_; } | 471 get { return responseStreaming_; } |
| 442 set { | 472 set { |
| 443 responseStreaming_ = value; | 473 responseStreaming_ = value; |
| 444 } | 474 } |
| 445 } | 475 } |
| 446 | 476 |
| 447 /// <summary>Field number for the "options" field.</summary> | 477 /// <summary>Field number for the "options" field.</summary> |
| 448 public const int OptionsFieldNumber = 6; | 478 public const int OptionsFieldNumber = 6; |
| 449 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Option> _repeated_options_codec | 479 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Option> _repeated_options_codec |
| 450 = pb::FieldCodec.ForMessage(50, global::Google.Protobuf.WellKnownTypes.O
ption.Parser); | 480 = pb::FieldCodec.ForMessage(50, global::Google.Protobuf.WellKnownTypes.O
ption.Parser); |
| 451 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.O
ption> options_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.
Option>(); | 481 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.O
ption> options_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.
Option>(); |
| 452 /// <summary> | 482 /// <summary> |
| 453 /// Any metadata attached to the method. | 483 /// Any metadata attached to the method. |
| 454 /// </summary> | 484 /// </summary> |
| 485 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 455 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> Opt
ions { | 486 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> Opt
ions { |
| 456 get { return options_; } | 487 get { return options_; } |
| 457 } | 488 } |
| 458 | 489 |
| 459 /// <summary>Field number for the "syntax" field.</summary> | 490 /// <summary>Field number for the "syntax" field.</summary> |
| 460 public const int SyntaxFieldNumber = 7; | 491 public const int SyntaxFieldNumber = 7; |
| 461 private global::Google.Protobuf.WellKnownTypes.Syntax syntax_ = 0; | 492 private global::Google.Protobuf.WellKnownTypes.Syntax syntax_ = 0; |
| 462 /// <summary> | 493 /// <summary> |
| 463 /// The source syntax of this method. | 494 /// The source syntax of this method. |
| 464 /// </summary> | 495 /// </summary> |
| 496 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 465 public global::Google.Protobuf.WellKnownTypes.Syntax Syntax { | 497 public global::Google.Protobuf.WellKnownTypes.Syntax Syntax { |
| 466 get { return syntax_; } | 498 get { return syntax_; } |
| 467 set { | 499 set { |
| 468 syntax_ = value; | 500 syntax_ = value; |
| 469 } | 501 } |
| 470 } | 502 } |
| 471 | 503 |
| 504 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 472 public override bool Equals(object other) { | 505 public override bool Equals(object other) { |
| 473 return Equals(other as Method); | 506 return Equals(other as Method); |
| 474 } | 507 } |
| 475 | 508 |
| 509 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 476 public bool Equals(Method other) { | 510 public bool Equals(Method other) { |
| 477 if (ReferenceEquals(other, null)) { | 511 if (ReferenceEquals(other, null)) { |
| 478 return false; | 512 return false; |
| 479 } | 513 } |
| 480 if (ReferenceEquals(other, this)) { | 514 if (ReferenceEquals(other, this)) { |
| 481 return true; | 515 return true; |
| 482 } | 516 } |
| 483 if (Name != other.Name) return false; | 517 if (Name != other.Name) return false; |
| 484 if (RequestTypeUrl != other.RequestTypeUrl) return false; | 518 if (RequestTypeUrl != other.RequestTypeUrl) return false; |
| 485 if (RequestStreaming != other.RequestStreaming) return false; | 519 if (RequestStreaming != other.RequestStreaming) return false; |
| 486 if (ResponseTypeUrl != other.ResponseTypeUrl) return false; | 520 if (ResponseTypeUrl != other.ResponseTypeUrl) return false; |
| 487 if (ResponseStreaming != other.ResponseStreaming) return false; | 521 if (ResponseStreaming != other.ResponseStreaming) return false; |
| 488 if(!options_.Equals(other.options_)) return false; | 522 if(!options_.Equals(other.options_)) return false; |
| 489 if (Syntax != other.Syntax) return false; | 523 if (Syntax != other.Syntax) return false; |
| 490 return true; | 524 return true; |
| 491 } | 525 } |
| 492 | 526 |
| 527 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 493 public override int GetHashCode() { | 528 public override int GetHashCode() { |
| 494 int hash = 1; | 529 int hash = 1; |
| 495 if (Name.Length != 0) hash ^= Name.GetHashCode(); | 530 if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| 496 if (RequestTypeUrl.Length != 0) hash ^= RequestTypeUrl.GetHashCode(); | 531 if (RequestTypeUrl.Length != 0) hash ^= RequestTypeUrl.GetHashCode(); |
| 497 if (RequestStreaming != false) hash ^= RequestStreaming.GetHashCode(); | 532 if (RequestStreaming != false) hash ^= RequestStreaming.GetHashCode(); |
| 498 if (ResponseTypeUrl.Length != 0) hash ^= ResponseTypeUrl.GetHashCode(); | 533 if (ResponseTypeUrl.Length != 0) hash ^= ResponseTypeUrl.GetHashCode(); |
| 499 if (ResponseStreaming != false) hash ^= ResponseStreaming.GetHashCode(); | 534 if (ResponseStreaming != false) hash ^= ResponseStreaming.GetHashCode(); |
| 500 hash ^= options_.GetHashCode(); | 535 hash ^= options_.GetHashCode(); |
| 501 if (Syntax != 0) hash ^= Syntax.GetHashCode(); | 536 if (Syntax != 0) hash ^= Syntax.GetHashCode(); |
| 502 return hash; | 537 return hash; |
| 503 } | 538 } |
| 504 | 539 |
| 540 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 505 public override string ToString() { | 541 public override string ToString() { |
| 506 return pb::JsonFormatter.ToDiagnosticString(this); | 542 return pb::JsonFormatter.ToDiagnosticString(this); |
| 507 } | 543 } |
| 508 | 544 |
| 545 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 509 public void WriteTo(pb::CodedOutputStream output) { | 546 public void WriteTo(pb::CodedOutputStream output) { |
| 510 if (Name.Length != 0) { | 547 if (Name.Length != 0) { |
| 511 output.WriteRawTag(10); | 548 output.WriteRawTag(10); |
| 512 output.WriteString(Name); | 549 output.WriteString(Name); |
| 513 } | 550 } |
| 514 if (RequestTypeUrl.Length != 0) { | 551 if (RequestTypeUrl.Length != 0) { |
| 515 output.WriteRawTag(18); | 552 output.WriteRawTag(18); |
| 516 output.WriteString(RequestTypeUrl); | 553 output.WriteString(RequestTypeUrl); |
| 517 } | 554 } |
| 518 if (RequestStreaming != false) { | 555 if (RequestStreaming != false) { |
| 519 output.WriteRawTag(24); | 556 output.WriteRawTag(24); |
| 520 output.WriteBool(RequestStreaming); | 557 output.WriteBool(RequestStreaming); |
| 521 } | 558 } |
| 522 if (ResponseTypeUrl.Length != 0) { | 559 if (ResponseTypeUrl.Length != 0) { |
| 523 output.WriteRawTag(34); | 560 output.WriteRawTag(34); |
| 524 output.WriteString(ResponseTypeUrl); | 561 output.WriteString(ResponseTypeUrl); |
| 525 } | 562 } |
| 526 if (ResponseStreaming != false) { | 563 if (ResponseStreaming != false) { |
| 527 output.WriteRawTag(40); | 564 output.WriteRawTag(40); |
| 528 output.WriteBool(ResponseStreaming); | 565 output.WriteBool(ResponseStreaming); |
| 529 } | 566 } |
| 530 options_.WriteTo(output, _repeated_options_codec); | 567 options_.WriteTo(output, _repeated_options_codec); |
| 531 if (Syntax != 0) { | 568 if (Syntax != 0) { |
| 532 output.WriteRawTag(56); | 569 output.WriteRawTag(56); |
| 533 output.WriteEnum((int) Syntax); | 570 output.WriteEnum((int) Syntax); |
| 534 } | 571 } |
| 535 } | 572 } |
| 536 | 573 |
| 574 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 537 public int CalculateSize() { | 575 public int CalculateSize() { |
| 538 int size = 0; | 576 int size = 0; |
| 539 if (Name.Length != 0) { | 577 if (Name.Length != 0) { |
| 540 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); | 578 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| 541 } | 579 } |
| 542 if (RequestTypeUrl.Length != 0) { | 580 if (RequestTypeUrl.Length != 0) { |
| 543 size += 1 + pb::CodedOutputStream.ComputeStringSize(RequestTypeUrl); | 581 size += 1 + pb::CodedOutputStream.ComputeStringSize(RequestTypeUrl); |
| 544 } | 582 } |
| 545 if (RequestStreaming != false) { | 583 if (RequestStreaming != false) { |
| 546 size += 1 + 1; | 584 size += 1 + 1; |
| 547 } | 585 } |
| 548 if (ResponseTypeUrl.Length != 0) { | 586 if (ResponseTypeUrl.Length != 0) { |
| 549 size += 1 + pb::CodedOutputStream.ComputeStringSize(ResponseTypeUrl); | 587 size += 1 + pb::CodedOutputStream.ComputeStringSize(ResponseTypeUrl); |
| 550 } | 588 } |
| 551 if (ResponseStreaming != false) { | 589 if (ResponseStreaming != false) { |
| 552 size += 1 + 1; | 590 size += 1 + 1; |
| 553 } | 591 } |
| 554 size += options_.CalculateSize(_repeated_options_codec); | 592 size += options_.CalculateSize(_repeated_options_codec); |
| 555 if (Syntax != 0) { | 593 if (Syntax != 0) { |
| 556 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Syntax); | 594 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Syntax); |
| 557 } | 595 } |
| 558 return size; | 596 return size; |
| 559 } | 597 } |
| 560 | 598 |
| 599 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 561 public void MergeFrom(Method other) { | 600 public void MergeFrom(Method other) { |
| 562 if (other == null) { | 601 if (other == null) { |
| 563 return; | 602 return; |
| 564 } | 603 } |
| 565 if (other.Name.Length != 0) { | 604 if (other.Name.Length != 0) { |
| 566 Name = other.Name; | 605 Name = other.Name; |
| 567 } | 606 } |
| 568 if (other.RequestTypeUrl.Length != 0) { | 607 if (other.RequestTypeUrl.Length != 0) { |
| 569 RequestTypeUrl = other.RequestTypeUrl; | 608 RequestTypeUrl = other.RequestTypeUrl; |
| 570 } | 609 } |
| 571 if (other.RequestStreaming != false) { | 610 if (other.RequestStreaming != false) { |
| 572 RequestStreaming = other.RequestStreaming; | 611 RequestStreaming = other.RequestStreaming; |
| 573 } | 612 } |
| 574 if (other.ResponseTypeUrl.Length != 0) { | 613 if (other.ResponseTypeUrl.Length != 0) { |
| 575 ResponseTypeUrl = other.ResponseTypeUrl; | 614 ResponseTypeUrl = other.ResponseTypeUrl; |
| 576 } | 615 } |
| 577 if (other.ResponseStreaming != false) { | 616 if (other.ResponseStreaming != false) { |
| 578 ResponseStreaming = other.ResponseStreaming; | 617 ResponseStreaming = other.ResponseStreaming; |
| 579 } | 618 } |
| 580 options_.Add(other.options_); | 619 options_.Add(other.options_); |
| 581 if (other.Syntax != 0) { | 620 if (other.Syntax != 0) { |
| 582 Syntax = other.Syntax; | 621 Syntax = other.Syntax; |
| 583 } | 622 } |
| 584 } | 623 } |
| 585 | 624 |
| 625 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 586 public void MergeFrom(pb::CodedInputStream input) { | 626 public void MergeFrom(pb::CodedInputStream input) { |
| 587 uint tag; | 627 uint tag; |
| 588 while ((tag = input.ReadTag()) != 0) { | 628 while ((tag = input.ReadTag()) != 0) { |
| 589 switch(tag) { | 629 switch(tag) { |
| 590 default: | 630 default: |
| 591 input.SkipLastField(); | 631 input.SkipLastField(); |
| 592 break; | 632 break; |
| 593 case 10: { | 633 case 10: { |
| 594 Name = input.ReadString(); | 634 Name = input.ReadString(); |
| 595 break; | 635 break; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 618 syntax_ = (global::Google.Protobuf.WellKnownTypes.Syntax) input.Read
Enum(); | 658 syntax_ = (global::Google.Protobuf.WellKnownTypes.Syntax) input.Read
Enum(); |
| 619 break; | 659 break; |
| 620 } | 660 } |
| 621 } | 661 } |
| 622 } | 662 } |
| 623 } | 663 } |
| 624 | 664 |
| 625 } | 665 } |
| 626 | 666 |
| 627 /// <summary> | 667 /// <summary> |
| 628 /// Declares an API to be included in this API. The including API must | 668 /// Declares an API to be included in this API. The including API must |
| 629 /// redeclare all the methods from the included API, but documentation | 669 /// redeclare all the methods from the included API, but documentation |
| 630 /// and options are inherited as follows: | 670 /// and options are inherited as follows: |
| 631 /// | 671 /// |
| 632 /// - If after comment and whitespace stripping, the documentation | 672 /// - If after comment and whitespace stripping, the documentation |
| 633 /// string of the redeclared method is empty, it will be inherited | 673 /// string of the redeclared method is empty, it will be inherited |
| 634 /// from the original method. | 674 /// from the original method. |
| 635 /// | 675 /// |
| 636 /// - Each annotation belonging to the service config (http, | 676 /// - Each annotation belonging to the service config (http, |
| 637 /// visibility) which is not set in the redeclared method will be | 677 /// visibility) which is not set in the redeclared method will be |
| 638 /// inherited. | 678 /// inherited. |
| 639 /// | 679 /// |
| 640 /// - If an http annotation is inherited, the path pattern will be | 680 /// - If an http annotation is inherited, the path pattern will be |
| 641 /// modified as follows. Any version prefix will be replaced by the | 681 /// modified as follows. Any version prefix will be replaced by the |
| 642 /// version of the including API plus the [root][] path if specified. | 682 /// version of the including API plus the [root][] path if specified. |
| 643 /// | 683 /// |
| 644 /// Example of a simple mixin: | 684 /// Example of a simple mixin: |
| 645 /// | 685 /// |
| 646 /// package google.acl.v1; | 686 /// package google.acl.v1; |
| 647 /// service AccessControl { | 687 /// service AccessControl { |
| 648 /// // Get the underlying ACL object. | 688 /// // Get the underlying ACL object. |
| 649 /// rpc GetAcl(GetAclRequest) returns (Acl) { | 689 /// rpc GetAcl(GetAclRequest) returns (Acl) { |
| 650 /// option (google.api.http).get = "/v1/{resource=**}:getAcl"; | 690 /// option (google.api.http).get = "/v1/{resource=**}:getAcl"; |
| 651 /// } | 691 /// } |
| 652 /// } | 692 /// } |
| 653 /// | 693 /// |
| 654 /// package google.storage.v2; | 694 /// package google.storage.v2; |
| 655 /// service Storage { | 695 /// service Storage { |
| 656 /// rpc GetAcl(GetAclRequest) returns (Acl); | 696 /// rpc GetAcl(GetAclRequest) returns (Acl); |
| 657 /// | 697 /// |
| 658 /// // Get a data record. | 698 /// // Get a data record. |
| 659 /// rpc GetData(GetDataRequest) returns (Data) { | 699 /// rpc GetData(GetDataRequest) returns (Data) { |
| 660 /// option (google.api.http).get = "/v2/{resource=**}"; | 700 /// option (google.api.http).get = "/v2/{resource=**}"; |
| 661 /// } | 701 /// } |
| 662 /// } | 702 /// } |
| 663 /// | 703 /// |
| 664 /// Example of a mixin configuration: | 704 /// Example of a mixin configuration: |
| 665 /// | 705 /// |
| 666 /// apis: | 706 /// apis: |
| 667 /// - name: google.storage.v2.Storage | 707 /// - name: google.storage.v2.Storage |
| 668 /// mixins: | 708 /// mixins: |
| 669 /// - name: google.acl.v1.AccessControl | 709 /// - name: google.acl.v1.AccessControl |
| 670 /// | 710 /// |
| 671 /// The mixin construct implies that all methods in `AccessControl` are | 711 /// The mixin construct implies that all methods in `AccessControl` are |
| 672 /// also declared with same name and request/response types in | 712 /// also declared with same name and request/response types in |
| 673 /// `Storage`. A documentation generator or annotation processor will | 713 /// `Storage`. A documentation generator or annotation processor will |
| 674 /// see the effective `Storage.GetAcl` method after inherting | 714 /// see the effective `Storage.GetAcl` method after inherting |
| 675 /// documentation and annotations as follows: | 715 /// documentation and annotations as follows: |
| 676 /// | 716 /// |
| 677 /// service Storage { | 717 /// service Storage { |
| 678 /// // Get the underlying ACL object. | 718 /// // Get the underlying ACL object. |
| 679 /// rpc GetAcl(GetAclRequest) returns (Acl) { | 719 /// rpc GetAcl(GetAclRequest) returns (Acl) { |
| 680 /// option (google.api.http).get = "/v2/{resource=**}:getAcl"; | 720 /// option (google.api.http).get = "/v2/{resource=**}:getAcl"; |
| 681 /// } | 721 /// } |
| 682 /// ... | 722 /// ... |
| 683 /// } | 723 /// } |
| 684 /// | 724 /// |
| 685 /// Note how the version in the path pattern changed from `v1` to `v2`. | 725 /// Note how the version in the path pattern changed from `v1` to `v2`. |
| 686 /// | 726 /// |
| 687 /// If the `root` field in the mixin is specified, it should be a | 727 /// If the `root` field in the mixin is specified, it should be a |
| 688 /// relative path under which inherited HTTP paths are placed. Example: | 728 /// relative path under which inherited HTTP paths are placed. Example: |
| 689 /// | 729 /// |
| 690 /// apis: | 730 /// apis: |
| 691 /// - name: google.storage.v2.Storage | 731 /// - name: google.storage.v2.Storage |
| 692 /// mixins: | 732 /// mixins: |
| 693 /// - name: google.acl.v1.AccessControl | 733 /// - name: google.acl.v1.AccessControl |
| 694 /// root: acls | 734 /// root: acls |
| 695 /// | 735 /// |
| 696 /// This implies the following inherited HTTP annotation: | 736 /// This implies the following inherited HTTP annotation: |
| 697 /// | 737 /// |
| 698 /// service Storage { | 738 /// service Storage { |
| 699 /// // Get the underlying ACL object. | 739 /// // Get the underlying ACL object. |
| 700 /// rpc GetAcl(GetAclRequest) returns (Acl) { | 740 /// rpc GetAcl(GetAclRequest) returns (Acl) { |
| 701 /// option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; | 741 /// option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; |
| 702 /// } | 742 /// } |
| 703 /// ... | 743 /// ... |
| 704 /// } | 744 /// } |
| 705 /// </summary> | 745 /// </summary> |
| 706 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | |
| 707 public sealed partial class Mixin : pb::IMessage<Mixin> { | 746 public sealed partial class Mixin : pb::IMessage<Mixin> { |
| 708 private static readonly pb::MessageParser<Mixin> _parser = new pb::MessagePa
rser<Mixin>(() => new Mixin()); | 747 private static readonly pb::MessageParser<Mixin> _parser = new pb::MessagePa
rser<Mixin>(() => new Mixin()); |
| 748 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 709 public static pb::MessageParser<Mixin> Parser { get { return _parser; } } | 749 public static pb::MessageParser<Mixin> Parser { get { return _parser; } } |
| 710 | 750 |
| 751 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 711 public static pbr::MessageDescriptor Descriptor { | 752 public static pbr::MessageDescriptor Descriptor { |
| 712 get { return global::Google.Protobuf.WellKnownTypes.ApiReflection.Descript
or.MessageTypes[2]; } | 753 get { return global::Google.Protobuf.WellKnownTypes.ApiReflection.Descript
or.MessageTypes[2]; } |
| 713 } | 754 } |
| 714 | 755 |
| 756 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 715 pbr::MessageDescriptor pb::IMessage.Descriptor { | 757 pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 716 get { return Descriptor; } | 758 get { return Descriptor; } |
| 717 } | 759 } |
| 718 | 760 |
| 761 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 719 public Mixin() { | 762 public Mixin() { |
| 720 OnConstruction(); | 763 OnConstruction(); |
| 721 } | 764 } |
| 722 | 765 |
| 723 partial void OnConstruction(); | 766 partial void OnConstruction(); |
| 724 | 767 |
| 768 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 725 public Mixin(Mixin other) : this() { | 769 public Mixin(Mixin other) : this() { |
| 726 name_ = other.name_; | 770 name_ = other.name_; |
| 727 root_ = other.root_; | 771 root_ = other.root_; |
| 728 } | 772 } |
| 729 | 773 |
| 774 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 730 public Mixin Clone() { | 775 public Mixin Clone() { |
| 731 return new Mixin(this); | 776 return new Mixin(this); |
| 732 } | 777 } |
| 733 | 778 |
| 734 /// <summary>Field number for the "name" field.</summary> | 779 /// <summary>Field number for the "name" field.</summary> |
| 735 public const int NameFieldNumber = 1; | 780 public const int NameFieldNumber = 1; |
| 736 private string name_ = ""; | 781 private string name_ = ""; |
| 737 /// <summary> | 782 /// <summary> |
| 738 /// The fully qualified name of the API which is included. | 783 /// The fully qualified name of the API which is included. |
| 739 /// </summary> | 784 /// </summary> |
| 785 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 740 public string Name { | 786 public string Name { |
| 741 get { return name_; } | 787 get { return name_; } |
| 742 set { | 788 set { |
| 743 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); | 789 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 744 } | 790 } |
| 745 } | 791 } |
| 746 | 792 |
| 747 /// <summary>Field number for the "root" field.</summary> | 793 /// <summary>Field number for the "root" field.</summary> |
| 748 public const int RootFieldNumber = 2; | 794 public const int RootFieldNumber = 2; |
| 749 private string root_ = ""; | 795 private string root_ = ""; |
| 750 /// <summary> | 796 /// <summary> |
| 751 /// If non-empty specifies a path under which inherited HTTP paths | 797 /// If non-empty specifies a path under which inherited HTTP paths |
| 752 /// are rooted. | 798 /// are rooted. |
| 753 /// </summary> | 799 /// </summary> |
| 800 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 754 public string Root { | 801 public string Root { |
| 755 get { return root_; } | 802 get { return root_; } |
| 756 set { | 803 set { |
| 757 root_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); | 804 root_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 758 } | 805 } |
| 759 } | 806 } |
| 760 | 807 |
| 808 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 761 public override bool Equals(object other) { | 809 public override bool Equals(object other) { |
| 762 return Equals(other as Mixin); | 810 return Equals(other as Mixin); |
| 763 } | 811 } |
| 764 | 812 |
| 813 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 765 public bool Equals(Mixin other) { | 814 public bool Equals(Mixin other) { |
| 766 if (ReferenceEquals(other, null)) { | 815 if (ReferenceEquals(other, null)) { |
| 767 return false; | 816 return false; |
| 768 } | 817 } |
| 769 if (ReferenceEquals(other, this)) { | 818 if (ReferenceEquals(other, this)) { |
| 770 return true; | 819 return true; |
| 771 } | 820 } |
| 772 if (Name != other.Name) return false; | 821 if (Name != other.Name) return false; |
| 773 if (Root != other.Root) return false; | 822 if (Root != other.Root) return false; |
| 774 return true; | 823 return true; |
| 775 } | 824 } |
| 776 | 825 |
| 826 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 777 public override int GetHashCode() { | 827 public override int GetHashCode() { |
| 778 int hash = 1; | 828 int hash = 1; |
| 779 if (Name.Length != 0) hash ^= Name.GetHashCode(); | 829 if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| 780 if (Root.Length != 0) hash ^= Root.GetHashCode(); | 830 if (Root.Length != 0) hash ^= Root.GetHashCode(); |
| 781 return hash; | 831 return hash; |
| 782 } | 832 } |
| 783 | 833 |
| 834 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 784 public override string ToString() { | 835 public override string ToString() { |
| 785 return pb::JsonFormatter.ToDiagnosticString(this); | 836 return pb::JsonFormatter.ToDiagnosticString(this); |
| 786 } | 837 } |
| 787 | 838 |
| 839 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 788 public void WriteTo(pb::CodedOutputStream output) { | 840 public void WriteTo(pb::CodedOutputStream output) { |
| 789 if (Name.Length != 0) { | 841 if (Name.Length != 0) { |
| 790 output.WriteRawTag(10); | 842 output.WriteRawTag(10); |
| 791 output.WriteString(Name); | 843 output.WriteString(Name); |
| 792 } | 844 } |
| 793 if (Root.Length != 0) { | 845 if (Root.Length != 0) { |
| 794 output.WriteRawTag(18); | 846 output.WriteRawTag(18); |
| 795 output.WriteString(Root); | 847 output.WriteString(Root); |
| 796 } | 848 } |
| 797 } | 849 } |
| 798 | 850 |
| 851 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 799 public int CalculateSize() { | 852 public int CalculateSize() { |
| 800 int size = 0; | 853 int size = 0; |
| 801 if (Name.Length != 0) { | 854 if (Name.Length != 0) { |
| 802 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); | 855 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| 803 } | 856 } |
| 804 if (Root.Length != 0) { | 857 if (Root.Length != 0) { |
| 805 size += 1 + pb::CodedOutputStream.ComputeStringSize(Root); | 858 size += 1 + pb::CodedOutputStream.ComputeStringSize(Root); |
| 806 } | 859 } |
| 807 return size; | 860 return size; |
| 808 } | 861 } |
| 809 | 862 |
| 863 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 810 public void MergeFrom(Mixin other) { | 864 public void MergeFrom(Mixin other) { |
| 811 if (other == null) { | 865 if (other == null) { |
| 812 return; | 866 return; |
| 813 } | 867 } |
| 814 if (other.Name.Length != 0) { | 868 if (other.Name.Length != 0) { |
| 815 Name = other.Name; | 869 Name = other.Name; |
| 816 } | 870 } |
| 817 if (other.Root.Length != 0) { | 871 if (other.Root.Length != 0) { |
| 818 Root = other.Root; | 872 Root = other.Root; |
| 819 } | 873 } |
| 820 } | 874 } |
| 821 | 875 |
| 876 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 822 public void MergeFrom(pb::CodedInputStream input) { | 877 public void MergeFrom(pb::CodedInputStream input) { |
| 823 uint tag; | 878 uint tag; |
| 824 while ((tag = input.ReadTag()) != 0) { | 879 while ((tag = input.ReadTag()) != 0) { |
| 825 switch(tag) { | 880 switch(tag) { |
| 826 default: | 881 default: |
| 827 input.SkipLastField(); | 882 input.SkipLastField(); |
| 828 break; | 883 break; |
| 829 case 10: { | 884 case 10: { |
| 830 Name = input.ReadString(); | 885 Name = input.ReadString(); |
| 831 break; | 886 break; |
| 832 } | 887 } |
| 833 case 18: { | 888 case 18: { |
| 834 Root = input.ReadString(); | 889 Root = input.ReadString(); |
| 835 break; | 890 break; |
| 836 } | 891 } |
| 837 } | 892 } |
| 838 } | 893 } |
| 839 } | 894 } |
| 840 | 895 |
| 841 } | 896 } |
| 842 | 897 |
| 843 #endregion | 898 #endregion |
| 844 | 899 |
| 845 } | 900 } |
| 846 | 901 |
| 847 #endregion Designer generated code | 902 #endregion Designer generated code |
| OLD | NEW |