public void MergeFrom(ClientTransactionListResponse other) { if (other == null) { return; } if (other.Status != 0) { Status = other.Status; } transactions_.Add(other.transactions_); if (other.HeadId.Length != 0) { HeadId = other.HeadId; } if (other.paging_ != null) { if (paging_ == null) { paging_ = new global::ClientPagingResponse(); } Paging.MergeFrom(other.Paging); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(ClientStateListResponse other) { if (other == null) { return; } if (other.Status != 0) { Status = other.Status; } entries_.Add(other.entries_); if (other.StateRoot.Length != 0) { StateRoot = other.StateRoot; } if (other.paging_ != null) { if (paging_ == null) { paging_ = new global::ClientPagingResponse(); } Paging.MergeFrom(other.Paging); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
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: { status_ = (global::ClientTransactionListResponse.Types.Status)input.ReadEnum(); break; } case 18: { transactions_.AddEntriesFrom(input, _repeated_transactions_codec); break; } case 26: { HeadId = input.ReadString(); break; } case 34: { if (paging_ == null) { paging_ = new global::ClientPagingResponse(); } input.ReadMessage(paging_); break; } } } }