aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/GrpcApi/Math.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/csharp/GrpcApi/Math.cs')
-rw-r--r--src/csharp/GrpcApi/Math.cs336
1 files changed, 168 insertions, 168 deletions
diff --git a/src/csharp/GrpcApi/Math.cs b/src/csharp/GrpcApi/Math.cs
index 2d700337ac..75b1e9dbc2 100644
--- a/src/csharp/GrpcApi/Math.cs
+++ b/src/csharp/GrpcApi/Math.cs
@@ -7,12 +7,12 @@ using pbc = global::Google.ProtocolBuffers.Collections;
using pbd = global::Google.ProtocolBuffers.Descriptors;
using scg = global::System.Collections.Generic;
namespace math {
-
+
namespace Proto {
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class Math {
-
+
#region Extension registration
public static void RegisterAllExtensions(pb::ExtensionRegistry registry) {
}
@@ -34,38 +34,38 @@ namespace math {
get { return descriptor; }
}
private static pbd::FileDescriptor descriptor;
-
+
static Math() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
- "CgptYXRoLnByb3RvEgRtYXRoIiwKB0RpdkFyZ3MSEAoIZGl2aWRlbmQYASAB",
- "KAMSDwoHZGl2aXNvchgCIAEoAyIvCghEaXZSZXBseRIQCghxdW90aWVudBgB",
- "IAEoAxIRCglyZW1haW5kZXIYAiABKAMiGAoHRmliQXJncxINCgVsaW1pdBgB",
- "IAEoAyISCgNOdW0SCwoDbnVtGAEgASgDIhkKCEZpYlJlcGx5Eg0KBWNvdW50",
- "GAEgASgDMqQBCgRNYXRoEiYKA0RpdhINLm1hdGguRGl2QXJncxoOLm1hdGgu",
- "RGl2UmVwbHkiABIuCgdEaXZNYW55Eg0ubWF0aC5EaXZBcmdzGg4ubWF0aC5E",
- "aXZSZXBseSIAKAEwARIjCgNGaWISDS5tYXRoLkZpYkFyZ3MaCS5tYXRoLk51",
+ "CgptYXRoLnByb3RvEgRtYXRoIiwKB0RpdkFyZ3MSEAoIZGl2aWRlbmQYASAB",
+ "KAMSDwoHZGl2aXNvchgCIAEoAyIvCghEaXZSZXBseRIQCghxdW90aWVudBgB",
+ "IAEoAxIRCglyZW1haW5kZXIYAiABKAMiGAoHRmliQXJncxINCgVsaW1pdBgB",
+ "IAEoAyISCgNOdW0SCwoDbnVtGAEgASgDIhkKCEZpYlJlcGx5Eg0KBWNvdW50",
+ "GAEgASgDMqQBCgRNYXRoEiYKA0RpdhINLm1hdGguRGl2QXJncxoOLm1hdGgu",
+ "RGl2UmVwbHkiABIuCgdEaXZNYW55Eg0ubWF0aC5EaXZBcmdzGg4ubWF0aC5E",
+ "aXZSZXBseSIAKAEwARIjCgNGaWISDS5tYXRoLkZpYkFyZ3MaCS5tYXRoLk51",
"bSIAMAESHwoDU3VtEgkubWF0aC5OdW0aCS5tYXRoLk51bSIAKAE="));
pbd::FileDescriptor.InternalDescriptorAssigner assigner = delegate(pbd::FileDescriptor root) {
descriptor = root;
internal__static_math_DivArgs__Descriptor = Descriptor.MessageTypes[0];
- internal__static_math_DivArgs__FieldAccessorTable =
+ internal__static_math_DivArgs__FieldAccessorTable =
new pb::FieldAccess.FieldAccessorTable<global::math.DivArgs, global::math.DivArgs.Builder>(internal__static_math_DivArgs__Descriptor,
new string[] { "Dividend", "Divisor", });
internal__static_math_DivReply__Descriptor = Descriptor.MessageTypes[1];
- internal__static_math_DivReply__FieldAccessorTable =
+ internal__static_math_DivReply__FieldAccessorTable =
new pb::FieldAccess.FieldAccessorTable<global::math.DivReply, global::math.DivReply.Builder>(internal__static_math_DivReply__Descriptor,
new string[] { "Quotient", "Remainder", });
internal__static_math_FibArgs__Descriptor = Descriptor.MessageTypes[2];
- internal__static_math_FibArgs__FieldAccessorTable =
+ internal__static_math_FibArgs__FieldAccessorTable =
new pb::FieldAccess.FieldAccessorTable<global::math.FibArgs, global::math.FibArgs.Builder>(internal__static_math_FibArgs__Descriptor,
new string[] { "Limit", });
internal__static_math_Num__Descriptor = Descriptor.MessageTypes[3];
- internal__static_math_Num__FieldAccessorTable =
+ internal__static_math_Num__FieldAccessorTable =
new pb::FieldAccess.FieldAccessorTable<global::math.Num, global::math.Num.Builder>(internal__static_math_Num__Descriptor,
new string[] { "Num_", });
internal__static_math_FibReply__Descriptor = Descriptor.MessageTypes[4];
- internal__static_math_FibReply__FieldAccessorTable =
+ internal__static_math_FibReply__FieldAccessorTable =
new pb::FieldAccess.FieldAccessorTable<global::math.FibReply, global::math.FibReply.Builder>(internal__static_math_FibReply__Descriptor,
new string[] { "Count", });
pb::ExtensionRegistry registry = pb::ExtensionRegistry.CreateInstance();
@@ -77,7 +77,7 @@ namespace math {
}, assigner);
}
#endregion
-
+
}
}
#region Messages
@@ -90,23 +90,23 @@ namespace math {
public static DivArgs DefaultInstance {
get { return defaultInstance; }
}
-
+
public override DivArgs DefaultInstanceForType {
get { return DefaultInstance; }
}
-
+
protected override DivArgs ThisMessage {
get { return this; }
}
-
+
public static pbd::MessageDescriptor Descriptor {
get { return global::math.Proto.Math.internal__static_math_DivArgs__Descriptor; }
}
-
+
protected override pb::FieldAccess.FieldAccessorTable<DivArgs, DivArgs.Builder> InternalFieldAccessors {
get { return global::math.Proto.Math.internal__static_math_DivArgs__FieldAccessorTable; }
}
-
+
public const int DividendFieldNumber = 1;
private bool hasDividend;
private long dividend_;
@@ -116,7 +116,7 @@ namespace math {
public long Dividend {
get { return dividend_; }
}
-
+
public const int DivisorFieldNumber = 2;
private bool hasDivisor;
private long divisor_;
@@ -126,13 +126,13 @@ namespace math {
public long Divisor {
get { return divisor_; }
}
-
+
public override bool IsInitialized {
get {
return true;
}
}
-
+
public override void WriteTo(pb::ICodedOutputStream output) {
int size = SerializedSize;
string[] field_names = _divArgsFieldNames;
@@ -144,13 +144,13 @@ namespace math {
}
UnknownFields.WriteTo(output);
}
-
+
private int memoizedSerializedSize = -1;
public override int SerializedSize {
get {
int size = memoizedSerializedSize;
if (size != -1) return size;
-
+
size = 0;
if (hasDividend) {
size += pb::CodedOutputStream.ComputeInt64Size(1, Dividend);
@@ -163,7 +163,7 @@ namespace math {
return size;
}
}
-
+
public static DivArgs ParseFrom(pb::ByteString data) {
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
}
@@ -197,14 +197,14 @@ namespace math {
private DivArgs MakeReadOnly() {
return this;
}
-
+
public static Builder CreateBuilder() { return new Builder(); }
public override Builder ToBuilder() { return CreateBuilder(this); }
public override Builder CreateBuilderForType() { return new Builder(); }
public static Builder CreateBuilder(DivArgs prototype) {
return new Builder(prototype);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sealed partial class Builder : pb::GeneratedBuilder<DivArgs, Builder> {
protected override Builder ThisBuilder {
@@ -218,10 +218,10 @@ namespace math {
result = cloneFrom;
resultIsReadOnly = true;
}
-
+
private bool resultIsReadOnly;
private DivArgs result;
-
+
private DivArgs PrepareBuilder() {
if (resultIsReadOnly) {
DivArgs original = result;
@@ -231,21 +231,21 @@ namespace math {
}
return result;
}
-
+
public override bool IsInitialized {
get { return result.IsInitialized; }
}
-
+
protected override DivArgs MessageBeingBuilt {
get { return PrepareBuilder(); }
}
-
+
public override Builder Clear() {
result = DefaultInstance;
resultIsReadOnly = true;
return this;
}
-
+
public override Builder Clone() {
if (resultIsReadOnly) {
return new Builder(result);
@@ -253,15 +253,15 @@ namespace math {
return new Builder().MergeFrom(result);
}
}
-
+
public override pbd::MessageDescriptor DescriptorForType {
get { return global::math.DivArgs.Descriptor; }
}
-
+
public override DivArgs DefaultInstanceForType {
get { return global::math.DivArgs.DefaultInstance; }
}
-
+
public override DivArgs BuildPartial() {
if (resultIsReadOnly) {
return result;
@@ -269,7 +269,7 @@ namespace math {
resultIsReadOnly = true;
return result.MakeReadOnly();
}
-
+
public override Builder MergeFrom(pb::IMessage other) {
if (other is DivArgs) {
return MergeFrom((DivArgs) other);
@@ -278,7 +278,7 @@ namespace math {
return this;
}
}
-
+
public override Builder MergeFrom(DivArgs other) {
if (other == global::math.DivArgs.DefaultInstance) return this;
PrepareBuilder();
@@ -291,11 +291,11 @@ namespace math {
this.MergeUnknownFields(other.UnknownFields);
return this;
}
-
+
public override Builder MergeFrom(pb::ICodedInputStream input) {
return MergeFrom(input, pb::ExtensionRegistry.Empty);
}
-
+
public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
PrepareBuilder();
pb::UnknownFieldSet.Builder unknownFields = null;
@@ -341,14 +341,14 @@ namespace math {
}
}
}
-
+
if (unknownFields != null) {
this.UnknownFields = unknownFields.Build();
}
return this;
}
-
-
+
+
public bool HasDividend {
get { return result.hasDividend; }
}
@@ -368,7 +368,7 @@ namespace math {
result.dividend_ = 0L;
return this;
}
-
+
public bool HasDivisor {
get { return result.hasDivisor; }
}
@@ -393,7 +393,7 @@ namespace math {
object.ReferenceEquals(global::math.Proto.Math.Descriptor, null);
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sealed partial class DivReply : pb::GeneratedMessage<DivReply, DivReply.Builder> {
private DivReply() { }
@@ -403,23 +403,23 @@ namespace math {
public static DivReply DefaultInstance {
get { return defaultInstance; }
}
-
+
public override DivReply DefaultInstanceForType {
get { return DefaultInstance; }
}
-
+
protected override DivReply ThisMessage {
get { return this; }
}
-
+
public static pbd::MessageDescriptor Descriptor {
get { return global::math.Proto.Math.internal__static_math_DivReply__Descriptor; }
}
-
+
protected override pb::FieldAccess.FieldAccessorTable<DivReply, DivReply.Builder> InternalFieldAccessors {
get { return global::math.Proto.Math.internal__static_math_DivReply__FieldAccessorTable; }
}
-
+
public const int QuotientFieldNumber = 1;
private bool hasQuotient;
private long quotient_;
@@ -429,7 +429,7 @@ namespace math {
public long Quotient {
get { return quotient_; }
}
-
+
public const int RemainderFieldNumber = 2;
private bool hasRemainder;
private long remainder_;
@@ -439,13 +439,13 @@ namespace math {
public long Remainder {
get { return remainder_; }
}
-
+
public override bool IsInitialized {
get {
return true;
}
}
-
+
public override void WriteTo(pb::ICodedOutputStream output) {
int size = SerializedSize;
string[] field_names = _divReplyFieldNames;
@@ -457,13 +457,13 @@ namespace math {
}
UnknownFields.WriteTo(output);
}
-
+
private int memoizedSerializedSize = -1;
public override int SerializedSize {
get {
int size = memoizedSerializedSize;
if (size != -1) return size;
-
+
size = 0;
if (hasQuotient) {
size += pb::CodedOutputStream.ComputeInt64Size(1, Quotient);
@@ -476,7 +476,7 @@ namespace math {
return size;
}
}
-
+
public static DivReply ParseFrom(pb::ByteString data) {
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
}
@@ -510,14 +510,14 @@ namespace math {
private DivReply MakeReadOnly() {
return this;
}
-
+
public static Builder CreateBuilder() { return new Builder(); }
public override Builder ToBuilder() { return CreateBuilder(this); }
public override Builder CreateBuilderForType() { return new Builder(); }
public static Builder CreateBuilder(DivReply prototype) {
return new Builder(prototype);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sealed partial class Builder : pb::GeneratedBuilder<DivReply, Builder> {
protected override Builder ThisBuilder {
@@ -531,10 +531,10 @@ namespace math {
result = cloneFrom;
resultIsReadOnly = true;
}
-
+
private bool resultIsReadOnly;
private DivReply result;
-
+
private DivReply PrepareBuilder() {
if (resultIsReadOnly) {
DivReply original = result;
@@ -544,21 +544,21 @@ namespace math {
}
return result;
}
-
+
public override bool IsInitialized {
get { return result.IsInitialized; }
}
-
+
protected override DivReply MessageBeingBuilt {
get { return PrepareBuilder(); }
}
-
+
public override Builder Clear() {
result = DefaultInstance;
resultIsReadOnly = true;
return this;
}
-
+
public override Builder Clone() {
if (resultIsReadOnly) {
return new Builder(result);
@@ -566,15 +566,15 @@ namespace math {
return new Builder().MergeFrom(result);
}
}
-
+
public override pbd::MessageDescriptor DescriptorForType {
get { return global::math.DivReply.Descriptor; }
}
-
+
public override DivReply DefaultInstanceForType {
get { return global::math.DivReply.DefaultInstance; }
}
-
+
public override DivReply BuildPartial() {
if (resultIsReadOnly) {
return result;
@@ -582,7 +582,7 @@ namespace math {
resultIsReadOnly = true;
return result.MakeReadOnly();
}
-
+
public override Builder MergeFrom(pb::IMessage other) {
if (other is DivReply) {
return MergeFrom((DivReply) other);
@@ -591,7 +591,7 @@ namespace math {
return this;
}
}
-
+
public override Builder MergeFrom(DivReply other) {
if (other == global::math.DivReply.DefaultInstance) return this;
PrepareBuilder();
@@ -604,11 +604,11 @@ namespace math {
this.MergeUnknownFields(other.UnknownFields);
return this;
}
-
+
public override Builder MergeFrom(pb::ICodedInputStream input) {
return MergeFrom(input, pb::ExtensionRegistry.Empty);
}
-
+
public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
PrepareBuilder();
pb::UnknownFieldSet.Builder unknownFields = null;
@@ -654,14 +654,14 @@ namespace math {
}
}
}
-
+
if (unknownFields != null) {
this.UnknownFields = unknownFields.Build();
}
return this;
}
-
-
+
+
public bool HasQuotient {
get { return result.hasQuotient; }
}
@@ -681,7 +681,7 @@ namespace math {
result.quotient_ = 0L;
return this;
}
-
+
public bool HasRemainder {
get { return result.hasRemainder; }
}
@@ -706,7 +706,7 @@ namespace math {
object.ReferenceEquals(global::math.Proto.Math.Descriptor, null);
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sealed partial class FibArgs : pb::GeneratedMessage<FibArgs, FibArgs.Builder> {
private FibArgs() { }
@@ -716,23 +716,23 @@ namespace math {
public static FibArgs DefaultInstance {
get { return defaultInstance; }
}
-
+
public override FibArgs DefaultInstanceForType {
get { return DefaultInstance; }
}
-
+
protected override FibArgs ThisMessage {
get { return this; }
}
-
+
public static pbd::MessageDescriptor Descriptor {
get { return global::math.Proto.Math.internal__static_math_FibArgs__Descriptor; }
}
-
+
protected override pb::FieldAccess.FieldAccessorTable<FibArgs, FibArgs.Builder> InternalFieldAccessors {
get { return global::math.Proto.Math.internal__static_math_FibArgs__FieldAccessorTable; }
}
-
+
public const int LimitFieldNumber = 1;
private bool hasLimit;
private long limit_;
@@ -742,13 +742,13 @@ namespace math {
public long Limit {
get { return limit_; }
}
-
+
public override bool IsInitialized {
get {
return true;
}
}
-
+
public override void WriteTo(pb::ICodedOutputStream output) {
int size = SerializedSize;
string[] field_names = _fibArgsFieldNames;
@@ -757,13 +757,13 @@ namespace math {
}
UnknownFields.WriteTo(output);
}
-
+
private int memoizedSerializedSize = -1;
public override int SerializedSize {
get {
int size = memoizedSerializedSize;
if (size != -1) return size;
-
+
size = 0;
if (hasLimit) {
size += pb::CodedOutputStream.ComputeInt64Size(1, Limit);
@@ -773,7 +773,7 @@ namespace math {
return size;
}
}
-
+
public static FibArgs ParseFrom(pb::ByteString data) {
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
}
@@ -807,14 +807,14 @@ namespace math {
private FibArgs MakeReadOnly() {
return this;
}
-
+
public static Builder CreateBuilder() { return new Builder(); }
public override Builder ToBuilder() { return CreateBuilder(this); }
public override Builder CreateBuilderForType() { return new Builder(); }
public static Builder CreateBuilder(FibArgs prototype) {
return new Builder(prototype);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sealed partial class Builder : pb::GeneratedBuilder<FibArgs, Builder> {
protected override Builder ThisBuilder {
@@ -828,10 +828,10 @@ namespace math {
result = cloneFrom;
resultIsReadOnly = true;
}
-
+
private bool resultIsReadOnly;
private FibArgs result;
-
+
private FibArgs PrepareBuilder() {
if (resultIsReadOnly) {
FibArgs original = result;
@@ -841,21 +841,21 @@ namespace math {
}
return result;
}
-
+
public override bool IsInitialized {
get { return result.IsInitialized; }
}
-
+
protected override FibArgs MessageBeingBuilt {
get { return PrepareBuilder(); }
}
-
+
public override Builder Clear() {
result = DefaultInstance;
resultIsReadOnly = true;
return this;
}
-
+
public override Builder Clone() {
if (resultIsReadOnly) {
return new Builder(result);
@@ -863,15 +863,15 @@ namespace math {
return new Builder().MergeFrom(result);
}
}
-
+
public override pbd::MessageDescriptor DescriptorForType {
get { return global::math.FibArgs.Descriptor; }
}
-
+
public override FibArgs DefaultInstanceForType {
get { return global::math.FibArgs.DefaultInstance; }
}
-
+
public override FibArgs BuildPartial() {
if (resultIsReadOnly) {
return result;
@@ -879,7 +879,7 @@ namespace math {
resultIsReadOnly = true;
return result.MakeReadOnly();
}
-
+
public override Builder MergeFrom(pb::IMessage other) {
if (other is FibArgs) {
return MergeFrom((FibArgs) other);
@@ -888,7 +888,7 @@ namespace math {
return this;
}
}
-
+
public override Builder MergeFrom(FibArgs other) {
if (other == global::math.FibArgs.DefaultInstance) return this;
PrepareBuilder();
@@ -898,11 +898,11 @@ namespace math {
this.MergeUnknownFields(other.UnknownFields);
return this;
}
-
+
public override Builder MergeFrom(pb::ICodedInputStream input) {
return MergeFrom(input, pb::ExtensionRegistry.Empty);
}
-
+
public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
PrepareBuilder();
pb::UnknownFieldSet.Builder unknownFields = null;
@@ -944,14 +944,14 @@ namespace math {
}
}
}
-
+
if (unknownFields != null) {
this.UnknownFields = unknownFields.Build();
}
return this;
}
-
-
+
+
public bool HasLimit {
get { return result.hasLimit; }
}
@@ -976,7 +976,7 @@ namespace math {
object.ReferenceEquals(global::math.Proto.Math.Descriptor, null);
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sealed partial class Num : pb::GeneratedMessage<Num, Num.Builder> {
private Num() { }
@@ -986,23 +986,23 @@ namespace math {
public static Num DefaultInstance {
get { return defaultInstance; }
}
-
+
public override Num DefaultInstanceForType {
get { return DefaultInstance; }
}
-
+
protected override Num ThisMessage {
get { return this; }
}
-
+
public static pbd::MessageDescriptor Descriptor {
get { return global::math.Proto.Math.internal__static_math_Num__Descriptor; }
}
-
+
protected override pb::FieldAccess.FieldAccessorTable<Num, Num.Builder> InternalFieldAccessors {
get { return global::math.Proto.Math.internal__static_math_Num__FieldAccessorTable; }
}
-
+
public const int Num_FieldNumber = 1;
private bool hasNum_;
private long num_;
@@ -1012,13 +1012,13 @@ namespace math {
public long Num_ {
get { return num_; }
}
-
+
public override bool IsInitialized {
get {
return true;
}
}
-
+
public override void WriteTo(pb::ICodedOutputStream output) {
int size = SerializedSize;
string[] field_names = _numFieldNames;
@@ -1027,13 +1027,13 @@ namespace math {
}
UnknownFields.WriteTo(output);
}
-
+
private int memoizedSerializedSize = -1;
public override int SerializedSize {
get {
int size = memoizedSerializedSize;
if (size != -1) return size;
-
+
size = 0;
if (hasNum_) {
size += pb::CodedOutputStream.ComputeInt64Size(1, Num_);
@@ -1043,7 +1043,7 @@ namespace math {
return size;
}
}
-
+
public static Num ParseFrom(pb::ByteString data) {
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
}
@@ -1077,14 +1077,14 @@ namespace math {
private Num MakeReadOnly() {
return this;
}
-
+
public static Builder CreateBuilder() { return new Builder(); }
public override Builder ToBuilder() { return CreateBuilder(this); }
public override Builder CreateBuilderForType() { return new Builder(); }
public static Builder CreateBuilder(Num prototype) {
return new Builder(prototype);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sealed partial class Builder : pb::GeneratedBuilder<Num, Builder> {
protected override Builder ThisBuilder {
@@ -1098,10 +1098,10 @@ namespace math {
result = cloneFrom;
resultIsReadOnly = true;
}
-
+
private bool resultIsReadOnly;
private Num result;
-
+
private Num PrepareBuilder() {
if (resultIsReadOnly) {
Num original = result;
@@ -1111,21 +1111,21 @@ namespace math {
}
return result;
}
-
+
public override bool IsInitialized {
get { return result.IsInitialized; }
}
-
+
protected override Num MessageBeingBuilt {
get { return PrepareBuilder(); }
}
-
+
public override Builder Clear() {
result = DefaultInstance;
resultIsReadOnly = true;
return this;
}
-
+
public override Builder Clone() {
if (resultIsReadOnly) {
return new Builder(result);
@@ -1133,15 +1133,15 @@ namespace math {
return new Builder().MergeFrom(result);
}
}
-
+
public override pbd::MessageDescriptor DescriptorForType {
get { return global::math.Num.Descriptor; }
}
-
+
public override Num DefaultInstanceForType {
get { return global::math.Num.DefaultInstance; }
}
-
+
public override Num BuildPartial() {
if (resultIsReadOnly) {
return result;
@@ -1149,7 +1149,7 @@ namespace math {
resultIsReadOnly = true;
return result.MakeReadOnly();
}
-
+
public override Builder MergeFrom(pb::IMessage other) {
if (other is Num) {
return MergeFrom((Num) other);
@@ -1158,7 +1158,7 @@ namespace math {
return this;
}
}
-
+
public override Builder MergeFrom(Num other) {
if (other == global::math.Num.DefaultInstance) return this;
PrepareBuilder();
@@ -1168,11 +1168,11 @@ namespace math {
this.MergeUnknownFields(other.UnknownFields);
return this;
}
-
+
public override Builder MergeFrom(pb::ICodedInputStream input) {
return MergeFrom(input, pb::ExtensionRegistry.Empty);
}
-
+
public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
PrepareBuilder();
pb::UnknownFieldSet.Builder unknownFields = null;
@@ -1214,14 +1214,14 @@ namespace math {
}
}
}
-
+
if (unknownFields != null) {
this.UnknownFields = unknownFields.Build();
}
return this;
}
-
-
+
+
public bool HasNum_ {
get { return result.hasNum_; }
}
@@ -1246,7 +1246,7 @@ namespace math {
object.ReferenceEquals(global::math.Proto.Math.Descriptor, null);
}
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sealed partial class FibReply : pb::GeneratedMessage<FibReply, FibReply.Builder> {
private FibReply() { }
@@ -1256,23 +1256,23 @@ namespace math {
public static FibReply DefaultInstance {
get { return defaultInstance; }
}
-
+
public override FibReply DefaultInstanceForType {
get { return DefaultInstance; }
}
-
+
protected override FibReply ThisMessage {
get { return this; }
}
-
+
public static pbd::MessageDescriptor Descriptor {
get { return global::math.Proto.Math.internal__static_math_FibReply__Descriptor; }
}
-
+
protected override pb::FieldAccess.FieldAccessorTable<FibReply, FibReply.Builder> InternalFieldAccessors {
get { return global::math.Proto.Math.internal__static_math_FibReply__FieldAccessorTable; }
}
-
+
public const int CountFieldNumber = 1;
private bool hasCount;
private long count_;
@@ -1282,13 +1282,13 @@ namespace math {
public long Count {
get { return count_; }
}
-
+
public override bool IsInitialized {
get {
return true;
}
}
-
+
public override void WriteTo(pb::ICodedOutputStream output) {
int size = SerializedSize;
string[] field_names = _fibReplyFieldNames;
@@ -1297,13 +1297,13 @@ namespace math {
}
UnknownFields.WriteTo(output);
}
-
+
private int memoizedSerializedSize = -1;
public override int SerializedSize {
get {
int size = memoizedSerializedSize;
if (size != -1) return size;
-
+
size = 0;
if (hasCount) {
size += pb::CodedOutputStream.ComputeInt64Size(1, Count);
@@ -1313,7 +1313,7 @@ namespace math {
return size;
}
}
-
+
public static FibReply ParseFrom(pb::ByteString data) {
return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
}
@@ -1347,14 +1347,14 @@ namespace math {
private FibReply MakeReadOnly() {
return this;
}
-
+
public static Builder CreateBuilder() { return new Builder(); }
public override Builder ToBuilder() { return CreateBuilder(this); }
public override Builder CreateBuilderForType() { return new Builder(); }
public static Builder CreateBuilder(FibReply prototype) {
return new Builder(prototype);
}
-
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public sealed partial class Builder : pb::GeneratedBuilder<FibReply, Builder> {
protected override Builder ThisBuilder {
@@ -1368,10 +1368,10 @@ namespace math {
result = cloneFrom;
resultIsReadOnly = true;
}
-
+
private bool resultIsReadOnly;
private FibReply result;
-
+
private FibReply PrepareBuilder() {
if (resultIsReadOnly) {
FibReply original = result;
@@ -1381,21 +1381,21 @@ namespace math {
}
return result;
}
-
+
public override bool IsInitialized {
get { return result.IsInitialized; }
}
-
+
protected override FibReply MessageBeingBuilt {
get { return PrepareBuilder(); }
}
-
+
public override Builder Clear() {
result = DefaultInstance;
resultIsReadOnly = true;
return this;
}
-
+
public override Builder Clone() {
if (resultIsReadOnly) {
return new Builder(result);
@@ -1403,15 +1403,15 @@ namespace math {
return new Builder().MergeFrom(result);
}
}
-
+
public override pbd::MessageDescriptor DescriptorForType {
get { return global::math.FibReply.Descriptor; }
}
-
+
public override FibReply DefaultInstanceForType {
get { return global::math.FibReply.DefaultInstance; }
}
-
+
public override FibReply BuildPartial() {
if (resultIsReadOnly) {
return result;
@@ -1419,7 +1419,7 @@ namespace math {
resultIsReadOnly = true;
return result.MakeReadOnly();
}
-
+
public override Builder MergeFrom(pb::IMessage other) {
if (other is FibReply) {
return MergeFrom((FibReply) other);
@@ -1428,7 +1428,7 @@ namespace math {
return this;
}
}
-
+
public override Builder MergeFrom(FibReply other) {
if (other == global::math.FibReply.DefaultInstance) return this;
PrepareBuilder();
@@ -1438,11 +1438,11 @@ namespace math {
this.MergeUnknownFields(other.UnknownFields);
return this;
}
-
+
public override Builder MergeFrom(pb::ICodedInputStream input) {
return MergeFrom(input, pb::ExtensionRegistry.Empty);
}
-
+
public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
PrepareBuilder();
pb::UnknownFieldSet.Builder unknownFields = null;
@@ -1484,14 +1484,14 @@ namespace math {
}
}
}
-
+
if (unknownFields != null) {
this.UnknownFields = unknownFields.Build();
}
return this;
}
-
-
+
+
public bool HasCount {
get { return result.hasCount; }
}
@@ -1516,16 +1516,16 @@ namespace math {
object.ReferenceEquals(global::math.Proto.Math.Descriptor, null);
}
}
-
+
#endregion
-
+
#region Services
/*
* Service generation is now disabled by default, use the following option to enable:
* option (google.protobuf.csharp_file_options).service_generator_type = GENERIC;
*/
#endregion
-
+
}
#endregion Designer generated code