// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: fedex.proto
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Fedex {
/// Holder for reflection information generated from fedex.proto
public static partial class FedexReflection {
#region Descriptor
/// File descriptor for fedex.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static FedexReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CgtmZWRleC5wcm90bxIFZmVkZXgiHgoLVXBkYXRlUmVwbHkSDwoHbWVzc2Fn",
"ZRgBIAEoCSIjCg1VcGRhdGVSZXF1ZXN0EhIKCnVwZGF0ZVR5cGUYASABKAky",
"TAoUVXBkYXRlRmVkZXhTaGlwbWVudHMSNAoGdXBkYXRlEhQuZmVkZXguVXBk",
"YXRlUmVxdWVzdBoSLmZlZGV4LlVwZGF0ZVJlcGx5IgBiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Fedex.UpdateReply), global::Fedex.UpdateReply.Parser, new[]{ "Message" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Fedex.UpdateRequest), global::Fedex.UpdateRequest.Parser, new[]{ "UpdateType" }, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class UpdateReply : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateReply());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Fedex.FedexReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateReply() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateReply(UpdateReply other) : this() {
message_ = other.message_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateReply Clone() {
return new UpdateReply(this);
}
/// Field number for the "message" field.
public const int MessageFieldNumber = 1;
private string message_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Message {
get { return message_; }
set {
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as UpdateReply);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(UpdateReply other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Message != other.Message) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Message.Length != 0) hash ^= Message.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Message.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Message);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(UpdateReply other) {
if (other == null) {
return;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
Message = input.ReadString();
break;
}
}
}
}
}
public sealed partial class UpdateRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateRequest());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Fedex.FedexReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateRequest(UpdateRequest other) : this() {
updateType_ = other.updateType_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateRequest Clone() {
return new UpdateRequest(this);
}
/// Field number for the "updateType" field.
public const int UpdateTypeFieldNumber = 1;
private string updateType_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string UpdateType {
get { return updateType_; }
set {
updateType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as UpdateRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(UpdateRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (UpdateType != other.UpdateType) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (UpdateType.Length != 0) hash ^= UpdateType.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (UpdateType.Length != 0) {
output.WriteRawTag(10);
output.WriteString(UpdateType);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (UpdateType.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(UpdateType);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(UpdateRequest other) {
if (other == null) {
return;
}
if (other.UpdateType.Length != 0) {
UpdateType = other.UpdateType;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 10: {
UpdateType = input.ReadString();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code