// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: PageReply.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 JT808.GrpcDashbord.ServiceGrpcBase { /// Holder for reflection information generated from PageReply.proto public static partial class PageReplyReflection { #region Descriptor /// File descriptor for PageReply.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static PageReplyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Cg9QYWdlUmVwbHkucHJvdG8SIkpUODA4LkdycGNEYXNoYm9yZC5TZXJ2aWNl", "R3JwY0Jhc2UiNgoSUGFnZU9wdGlvbnNSZXF1ZXN0EhEKCVBhZ2VJbmRleBgB", "IAEoBRINCgVUb3RhbBgCIAEoBWIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::JT808.GrpcDashbord.ServiceGrpcBase.PageOptionsRequest), global::JT808.GrpcDashbord.ServiceGrpcBase.PageOptionsRequest.Parser, new[]{ "PageIndex", "Total" }, null, null, null) })); } #endregion } #region Messages /// /// 统一分页返回参数 /// public sealed partial class PageOptionsRequest : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PageOptionsRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::JT808.GrpcDashbord.ServiceGrpcBase.PageReplyReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public PageOptionsRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public PageOptionsRequest(PageOptionsRequest other) : this() { pageIndex_ = other.pageIndex_; total_ = other.total_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public PageOptionsRequest Clone() { return new PageOptionsRequest(this); } /// Field number for the "PageIndex" field. public const int PageIndexFieldNumber = 1; private int pageIndex_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int PageIndex { get { return pageIndex_; } set { pageIndex_ = value; } } /// Field number for the "Total" field. public const int TotalFieldNumber = 2; private int total_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Total { get { return total_; } set { total_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as PageOptionsRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(PageOptionsRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (PageIndex != other.PageIndex) return false; if (Total != other.Total) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (PageIndex != 0) hash ^= PageIndex.GetHashCode(); if (Total != 0) hash ^= Total.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.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 (PageIndex != 0) { output.WriteRawTag(8); output.WriteInt32(PageIndex); } if (Total != 0) { output.WriteRawTag(16); output.WriteInt32(Total); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (PageIndex != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageIndex); } if (Total != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Total); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(PageOptionsRequest other) { if (other == null) { return; } if (other.PageIndex != 0) { PageIndex = other.PageIndex; } if (other.Total != 0) { Total = other.Total; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { PageIndex = input.ReadInt32(); break; } case 16: { Total = input.ReadInt32(); break; } } } } } #endregion } #endregion Designer generated code