Example #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 8: {
                    ConfigurationGeneration = input.ReadInt64();
                    break;
                }

                case 18: {
                    if (timeModel_ == null)
                    {
                        TimeModel = new global::Com.DigitalAsset.Ledger.Api.V1.Admin.TimeModel();
                    }
                    input.ReadMessage(TimeModel);
                    break;
                }
                }
            }
        }
Example #2
0
 public void MergeFrom(SetTimeModelRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.SubmissionId.Length != 0)
     {
         SubmissionId = other.SubmissionId;
     }
     if (other.maximumRecordTime_ != null)
     {
         if (maximumRecordTime_ == null)
         {
             MaximumRecordTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         MaximumRecordTime.MergeFrom(other.MaximumRecordTime);
     }
     if (other.ConfigurationGeneration != 0L)
     {
         ConfigurationGeneration = other.ConfigurationGeneration;
     }
     if (other.newTimeModel_ != null)
     {
         if (newTimeModel_ == null)
         {
             NewTimeModel = new global::Com.DigitalAsset.Ledger.Api.V1.Admin.TimeModel();
         }
         NewTimeModel.MergeFrom(other.NewTimeModel);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #3
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: {
                    SubmissionId = input.ReadString();
                    break;
                }

                case 18: {
                    if (maximumRecordTime_ == null)
                    {
                        MaximumRecordTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(MaximumRecordTime);
                    break;
                }

                case 24: {
                    ConfigurationGeneration = input.ReadInt64();
                    break;
                }

                case 34: {
                    if (newTimeModel_ == null)
                    {
                        NewTimeModel = new global::Com.DigitalAsset.Ledger.Api.V1.Admin.TimeModel();
                    }
                    input.ReadMessage(NewTimeModel);
                    break;
                }
                }
            }
        }
Example #4
0
 public void MergeFrom(GetTimeModelResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.ConfigurationGeneration != 0L)
     {
         ConfigurationGeneration = other.ConfigurationGeneration;
     }
     if (other.timeModel_ != null)
     {
         if (timeModel_ == null)
         {
             TimeModel = new global::Com.DigitalAsset.Ledger.Api.V1.Admin.TimeModel();
         }
         TimeModel.MergeFrom(other.TimeModel);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }