|
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Proto/responsebody.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#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 ResponseBody {
/// <summary>Holder for reflection information generated from Proto/responsebody.proto</summary>
public static partial class ResponsebodyReflection {
#region Descriptor
/// <summary>File descriptor for Proto/responsebody.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ResponsebodyReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChhQcm90by9yZXNwb25zZWJvZHkucHJvdG8SDXJlc3BvbnNlX2JvZHkaHGdv",
"b2dsZS9hcGkvYW5ub3RhdGlvbnMucHJvdG8iCQoHUmVxdWVzdCKbAQoRQm9k",
"eVBhcmFtUmVzcG9uc2USDwoHbWVzc2FnZRgBIAEoCRIQCghtZXNzYWdlcxgC",
"IAMoCRIvCgRlbnVtGAMgASgOMiEucmVzcG9uc2VfYm9keS5FbnVtV2l0aG91",
"dE1lc3NhZ2USMgoObmVzdGVkX21lc3NhZ2UYBCABKAsyGi5yZXNwb25zZV9i",
"b2R5LkJvZHlNZXNzYWdlIg0KC0JvZHlNZXNzYWdlKrsBChJFbnVtV2l0aG91",
"dE1lc3NhZ2USJAogRU5VTV9XSVRIT1VUX01FU1NBR0VfVU5TUEVDSUZJRUQQ",
"ABIcChhFTlVNX1dJVEhPVVRfTUVTU0FHRV9GT08QARIcChhFTlVNX1dJVEhP",
"VVRfTUVTU0FHRV9CQVIQAhIcChhFTlVNX1dJVEhPVVRfTUVTU0FHRV9CQVoQ",
"AxIlChhFTlVNX1dJVEhPVVRfTUVTU0FHRV9ORUcQ////////////ATLKAwoM",
"UmVzcG9uc2VCb2R5EmsKC0RlbW9Cb2R5T25lEhYucmVzcG9uc2VfYm9keS5S",
"ZXF1ZXN0GiAucmVzcG9uc2VfYm9keS5Cb2R5UGFyYW1SZXNwb25zZSIigtPk",
"kwIcIhEvdjEvcmVzcG9uc2Vib2R5MWIHbWVzc2FnZRJsCgtEZW1vQm9keVR3",
"bxIWLnJlc3BvbnNlX2JvZHkuUmVxdWVzdBogLnJlc3BvbnNlX2JvZHkuQm9k",
"eVBhcmFtUmVzcG9uc2UiI4LT5JMCHSIRL3YxL3Jlc3BvbnNlYm9keTJiCG1l",
"c3NhZ2VzEmoKDURlbW9Cb2R5VGhyZWUSFi5yZXNwb25zZV9ib2R5LlJlcXVl",
"c3QaIC5yZXNwb25zZV9ib2R5LkJvZHlQYXJhbVJlc3BvbnNlIh+C0+STAhki",
"ES92MS9yZXNwb25zZWJvZHkzYgRlbnVtEnMKDERlbW9Cb2R5Rm91chIWLnJl",
"c3BvbnNlX2JvZHkuUmVxdWVzdBogLnJlc3BvbnNlX2JvZHkuQm9keVBhcmFt",
"UmVzcG9uc2UiKYLT5JMCIyIRL3YxL3Jlc3BvbnNlYm9keTRiDm5lc3RlZF9t",
"ZXNzYWdlQiZaJGdpdGh1Yi5jb20vZG90bmV0L2FzcG5ldGNvcmUvc3dhZ2dl",
"cmIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::ResponseBody.EnumWithoutMessage), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::ResponseBody.Request), global::ResponseBody.Request.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::ResponseBody.BodyParamResponse), global::ResponseBody.BodyParamResponse.Parser, new[]{ "Message", "Messages", "Enum", "NestedMessage" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::ResponseBody.BodyMessage), global::ResponseBody.BodyMessage.Parser, null, null, null, null, null)
}));
}
#endregion
}
#region Enums
public enum EnumWithoutMessage {
[pbr::OriginalName("ENUM_WITHOUT_MESSAGE_UNSPECIFIED")] Unspecified = 0,
[pbr::OriginalName("ENUM_WITHOUT_MESSAGE_FOO")] Foo = 1,
[pbr::OriginalName("ENUM_WITHOUT_MESSAGE_BAR")] Bar = 2,
[pbr::OriginalName("ENUM_WITHOUT_MESSAGE_BAZ")] Baz = 3,
/// <summary>
/// Intentionally negative.
/// </summary>
[pbr::OriginalName("ENUM_WITHOUT_MESSAGE_NEG")] Neg = -1,
}
#endregion
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class Request : pb::IMessage<Request>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<Request> _parser = new pb::MessageParser<Request>(() => new Request());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<Request> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::ResponseBody.ResponsebodyReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Request() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Request(Request other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Request Clone() {
return new Request(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as Request);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(Request other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(Request other) {
if (other == null) {
return;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class BodyParamResponse : pb::IMessage<BodyParamResponse>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<BodyParamResponse> _parser = new pb::MessageParser<BodyParamResponse>(() => new BodyParamResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<BodyParamResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::ResponseBody.ResponsebodyReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BodyParamResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BodyParamResponse(BodyParamResponse other) : this() {
message_ = other.message_;
messages_ = other.messages_.Clone();
enum_ = other.enum_;
nestedMessage_ = other.nestedMessage_ != null ? other.nestedMessage_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BodyParamResponse Clone() {
return new BodyParamResponse(this);
}
/// <summary>Field number for the "message" field.</summary>
public const int MessageFieldNumber = 1;
private string message_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Message {
get { return message_; }
set {
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "messages" field.</summary>
public const int MessagesFieldNumber = 2;
private static readonly pb::FieldCodec<string> _repeated_messages_codec
= pb::FieldCodec.ForString(18);
private readonly pbc::RepeatedField<string> messages_ = new pbc::RepeatedField<string>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<string> Messages {
get { return messages_; }
}
/// <summary>Field number for the "enum" field.</summary>
public const int EnumFieldNumber = 3;
private global::ResponseBody.EnumWithoutMessage enum_ = global::ResponseBody.EnumWithoutMessage.Unspecified;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::ResponseBody.EnumWithoutMessage Enum {
get { return enum_; }
set {
enum_ = value;
}
}
/// <summary>Field number for the "nested_message" field.</summary>
public const int NestedMessageFieldNumber = 4;
private global::ResponseBody.BodyMessage nestedMessage_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::ResponseBody.BodyMessage NestedMessage {
get { return nestedMessage_; }
set {
nestedMessage_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as BodyParamResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(BodyParamResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Message != other.Message) return false;
if(!messages_.Equals(other.messages_)) return false;
if (Enum != other.Enum) return false;
if (!object.Equals(NestedMessage, other.NestedMessage)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (Message.Length != 0) hash ^= Message.GetHashCode();
hash ^= messages_.GetHashCode();
if (Enum != global::ResponseBody.EnumWithoutMessage.Unspecified) hash ^= Enum.GetHashCode();
if (nestedMessage_ != null) hash ^= NestedMessage.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Message.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Message);
}
messages_.WriteTo(output, _repeated_messages_codec);
if (Enum != global::ResponseBody.EnumWithoutMessage.Unspecified) {
output.WriteRawTag(24);
output.WriteEnum((int) Enum);
}
if (nestedMessage_ != null) {
output.WriteRawTag(34);
output.WriteMessage(NestedMessage);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Message.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Message);
}
messages_.WriteTo(ref output, _repeated_messages_codec);
if (Enum != global::ResponseBody.EnumWithoutMessage.Unspecified) {
output.WriteRawTag(24);
output.WriteEnum((int) Enum);
}
if (nestedMessage_ != null) {
output.WriteRawTag(34);
output.WriteMessage(NestedMessage);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
size += messages_.CalculateSize(_repeated_messages_codec);
if (Enum != global::ResponseBody.EnumWithoutMessage.Unspecified) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Enum);
}
if (nestedMessage_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(NestedMessage);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(BodyParamResponse other) {
if (other == null) {
return;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
messages_.Add(other.messages_);
if (other.Enum != global::ResponseBody.EnumWithoutMessage.Unspecified) {
Enum = other.Enum;
}
if (other.nestedMessage_ != null) {
if (nestedMessage_ == null) {
NestedMessage = new global::ResponseBody.BodyMessage();
}
NestedMessage.MergeFrom(other.NestedMessage);
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Message = input.ReadString();
break;
}
case 18: {
messages_.AddEntriesFrom(input, _repeated_messages_codec);
break;
}
case 24: {
Enum = (global::ResponseBody.EnumWithoutMessage) input.ReadEnum();
break;
}
case 34: {
if (nestedMessage_ == null) {
NestedMessage = new global::ResponseBody.BodyMessage();
}
input.ReadMessage(NestedMessage);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
Message = input.ReadString();
break;
}
case 18: {
messages_.AddEntriesFrom(ref input, _repeated_messages_codec);
break;
}
case 24: {
Enum = (global::ResponseBody.EnumWithoutMessage) input.ReadEnum();
break;
}
case 34: {
if (nestedMessage_ == null) {
NestedMessage = new global::ResponseBody.BodyMessage();
}
input.ReadMessage(NestedMessage);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class BodyMessage : pb::IMessage<BodyMessage>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<BodyMessage> _parser = new pb::MessageParser<BodyMessage>(() => new BodyMessage());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<BodyMessage> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::ResponseBody.ResponsebodyReflection.Descriptor.MessageTypes[2]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BodyMessage() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BodyMessage(BodyMessage other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BodyMessage Clone() {
return new BodyMessage(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as BodyMessage);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(BodyMessage other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(BodyMessage other) {
if (other == null) {
return;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code
|