예제 #1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (recordTime_ == null)
                    {
                        RecordTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(RecordTime);
                    break;
                }

                case 18: {
                    if (offset_ == null)
                    {
                        Offset = new global::Com.DigitalAsset.Ledger.Api.V1.LedgerOffset();
                    }
                    input.ReadMessage(Offset);
                    break;
                }
                }
            }
        }
예제 #2
0
 public void MergeFrom(CompletionStreamRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.LedgerId.Length != 0)
     {
         LedgerId = other.LedgerId;
     }
     if (other.ApplicationId.Length != 0)
     {
         ApplicationId = other.ApplicationId;
     }
     parties_.Add(other.parties_);
     if (other.offset_ != null)
     {
         if (offset_ == null)
         {
             Offset = new global::Com.DigitalAsset.Ledger.Api.V1.LedgerOffset();
         }
         Offset.MergeFrom(other.Offset);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
예제 #3
0
 public void MergeFrom(CompletionEndResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.offset_ != null)
     {
         if (offset_ == null)
         {
             Offset = new global::Com.DigitalAsset.Ledger.Api.V1.LedgerOffset();
         }
         Offset.MergeFrom(other.Offset);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
예제 #4
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    LedgerId = input.ReadString();
                    break;
                }

                case 18: {
                    ApplicationId = input.ReadString();
                    break;
                }

                case 26: {
                    parties_.AddEntriesFrom(input, _repeated_parties_codec);
                    break;
                }

                case 34: {
                    if (offset_ == null)
                    {
                        Offset = new global::Com.DigitalAsset.Ledger.Api.V1.LedgerOffset();
                    }
                    input.ReadMessage(Offset);
                    break;
                }
                }
            }
        }
예제 #5
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (offset_ == null)
                    {
                        Offset = new global::Com.DigitalAsset.Ledger.Api.V1.LedgerOffset();
                    }
                    input.ReadMessage(Offset);
                    break;
                }
                }
            }
        }
예제 #6
0
 public void MergeFrom(Checkpoint other)
 {
     if (other == null)
     {
         return;
     }
     if (other.recordTime_ != null)
     {
         if (recordTime_ == null)
         {
             RecordTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         RecordTime.MergeFrom(other.RecordTime);
     }
     if (other.offset_ != null)
     {
         if (offset_ == null)
         {
             Offset = new global::Com.DigitalAsset.Ledger.Api.V1.LedgerOffset();
         }
         Offset.MergeFrom(other.Offset);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }