diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2015-07-29 17:33:43 -0700 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2015-07-29 20:26:20 -0700 |
commit | 7ec023acf4019e5401d4e147204ba5de12eed226 (patch) | |
tree | f5bfcb377735d99acae4109fd9e19128e5b0734f /csharp/src/Google.Protobuf/WellKnownTypes/Api.cs | |
parent | 3783d9a8add33b240e326438fa0b16869dbcfb44 (diff) | |
download | protobuf-7ec023acf4019e5401d4e147204ba5de12eed226.tar.gz protobuf-7ec023acf4019e5401d4e147204ba5de12eed226.tar.bz2 protobuf-7ec023acf4019e5401d4e147204ba5de12eed226.zip |
regenerate code
Diffstat (limited to 'csharp/src/Google.Protobuf/WellKnownTypes/Api.cs')
-rw-r--r-- | csharp/src/Google.Protobuf/WellKnownTypes/Api.cs | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Api.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Api.cs index e0a9e276..a066fd51 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Api.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Api.cs @@ -82,22 +82,11 @@ namespace Google.Protobuf.WellKnownTypes { return new Api(this); } - public void Freeze() { - if (IsFrozen) { - return; - } - _frozen = true; - methods_.Freeze(); - options_.Freeze(); - if (sourceContext_ != null) SourceContext.Freeze(); - } - public const int NameFieldNumber = 1; private string name_ = ""; public string Name { get { return name_; } set { - pb::Freezable.CheckMutable(this); name_ = value ?? ""; } } @@ -123,7 +112,6 @@ namespace Google.Protobuf.WellKnownTypes { public string Version { get { return version_; } set { - pb::Freezable.CheckMutable(this); version_ = value ?? ""; } } @@ -133,7 +121,6 @@ namespace Google.Protobuf.WellKnownTypes { public global::Google.Protobuf.WellKnownTypes.SourceContext SourceContext { get { return sourceContext_; } set { - pb::Freezable.CheckMutable(this); sourceContext_ = value; } } @@ -299,20 +286,11 @@ namespace Google.Protobuf.WellKnownTypes { return new Method(this); } - public void Freeze() { - if (IsFrozen) { - return; - } - _frozen = true; - options_.Freeze(); - } - public const int NameFieldNumber = 1; private string name_ = ""; public string Name { get { return name_; } set { - pb::Freezable.CheckMutable(this); name_ = value ?? ""; } } @@ -322,7 +300,6 @@ namespace Google.Protobuf.WellKnownTypes { public string RequestTypeUrl { get { return requestTypeUrl_; } set { - pb::Freezable.CheckMutable(this); requestTypeUrl_ = value ?? ""; } } @@ -332,7 +309,6 @@ namespace Google.Protobuf.WellKnownTypes { public bool RequestStreaming { get { return requestStreaming_; } set { - pb::Freezable.CheckMutable(this); requestStreaming_ = value; } } @@ -342,7 +318,6 @@ namespace Google.Protobuf.WellKnownTypes { public string ResponseTypeUrl { get { return responseTypeUrl_; } set { - pb::Freezable.CheckMutable(this); responseTypeUrl_ = value ?? ""; } } @@ -352,7 +327,6 @@ namespace Google.Protobuf.WellKnownTypes { public bool ResponseStreaming { get { return responseStreaming_; } set { - pb::Freezable.CheckMutable(this); responseStreaming_ = value; } } |