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 (commands_ == null) { Commands = new global::Com.DigitalAsset.Ledger.Api.V1.Commands(); } input.ReadMessage(Commands); break; } case 8002: { if (traceContext_ == null) { TraceContext = new global::Com.DigitalAsset.Ledger.Api.V1.TraceContext(); } input.ReadMessage(TraceContext); break; } } } }
public void MergeFrom(GetActiveContractsResponse other) { if (other == null) { return; } if (other.Offset.Length != 0) { Offset = other.Offset; } if (other.WorkflowId.Length != 0) { WorkflowId = other.WorkflowId; } activeContracts_.Add(other.activeContracts_); if (other.traceContext_ != null) { if (traceContext_ == null) { TraceContext = new global::Com.DigitalAsset.Ledger.Api.V1.TraceContext(); } TraceContext.MergeFrom(other.TraceContext); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Completion other) { if (other == null) { return; } if (other.CommandId.Length != 0) { CommandId = other.CommandId; } if (other.status_ != null) { if (status_ == null) { Status = new global::Google.Rpc.Status(); } Status.MergeFrom(other.Status); } if (other.TransactionId.Length != 0) { TransactionId = other.TransactionId; } if (other.traceContext_ != null) { if (traceContext_ == null) { TraceContext = new global::Com.DigitalAsset.Ledger.Api.V1.TraceContext(); } TraceContext.MergeFrom(other.TraceContext); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(GetActiveContractsRequest other) { if (other == null) { return; } if (other.LedgerId.Length != 0) { LedgerId = other.LedgerId; } if (other.filter_ != null) { if (filter_ == null) { Filter = new global::Com.DigitalAsset.Ledger.Api.V1.TransactionFilter(); } Filter.MergeFrom(other.Filter); } if (other.Verbose != false) { Verbose = other.Verbose; } if (other.traceContext_ != null) { if (traceContext_ == null) { TraceContext = new global::Com.DigitalAsset.Ledger.Api.V1.TraceContext(); } TraceContext.MergeFrom(other.TraceContext); } _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 10: { TransactionId = input.ReadString(); break; } case 18: { CommandId = input.ReadString(); break; } case 26: { WorkflowId = input.ReadString(); break; } case 34: { if (effectiveAt_ == null) { EffectiveAt = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(EffectiveAt); break; } case 42: { events_.AddEntriesFrom(input, _repeated_events_codec); break; } case 50: { Offset = input.ReadString(); break; } case 8002: { if (traceContext_ == null) { TraceContext = new global::Com.DigitalAsset.Ledger.Api.V1.TraceContext(); } input.ReadMessage(TraceContext); break; } } } }
public void MergeFrom(GetLedgerIdentityRequest other) { if (other == null) { return; } if (other.traceContext_ != null) { if (traceContext_ == null) { TraceContext = new global::Com.DigitalAsset.Ledger.Api.V1.TraceContext(); } TraceContext.MergeFrom(other.TraceContext); } _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 10: { CommandId = input.ReadString(); break; } case 18: { if (status_ == null) { Status = new global::Google.Rpc.Status(); } input.ReadMessage(Status); break; } case 26: { TransactionId = input.ReadString(); break; } case 8002: { if (traceContext_ == null) { TraceContext = new global::Com.DigitalAsset.Ledger.Api.V1.TraceContext(); } input.ReadMessage(TraceContext); break; } } } }
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: { if (filter_ == null) { Filter = new global::Com.DigitalAsset.Ledger.Api.V1.TransactionFilter(); } input.ReadMessage(Filter); break; } case 24: { Verbose = input.ReadBool(); break; } case 8002: { if (traceContext_ == null) { TraceContext = new global::Com.DigitalAsset.Ledger.Api.V1.TraceContext(); } input.ReadMessage(TraceContext); break; } } } }
public void MergeFrom(TransactionTree other) { if (other == null) { return; } if (other.TransactionId.Length != 0) { TransactionId = other.TransactionId; } if (other.CommandId.Length != 0) { CommandId = other.CommandId; } if (other.WorkflowId.Length != 0) { WorkflowId = other.WorkflowId; } if (other.effectiveAt_ != null) { if (effectiveAt_ == null) { EffectiveAt = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } EffectiveAt.MergeFrom(other.EffectiveAt); } if (other.Offset.Length != 0) { Offset = other.Offset; } eventsById_.Add(other.eventsById_); rootEventIds_.Add(other.rootEventIds_); if (other.traceContext_ != null) { if (traceContext_ == null) { TraceContext = new global::Com.DigitalAsset.Ledger.Api.V1.TraceContext(); } TraceContext.MergeFrom(other.TraceContext); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(CompletionEndRequest other) { if (other == null) { return; } if (other.LedgerId.Length != 0) { LedgerId = other.LedgerId; } if (other.traceContext_ != null) { if (traceContext_ == null) { TraceContext = new global::Com.DigitalAsset.Ledger.Api.V1.TraceContext(); } TraceContext.MergeFrom(other.TraceContext); } _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 10: { Offset = input.ReadString(); break; } case 18: { WorkflowId = input.ReadString(); break; } case 26: { activeContracts_.AddEntriesFrom(input, _repeated_activeContracts_codec); break; } case 8002: { if (traceContext_ == null) { TraceContext = new global::Com.DigitalAsset.Ledger.Api.V1.TraceContext(); } input.ReadMessage(TraceContext); break; } } } }
public void MergeFrom(SubmitAndWaitRequest other) { if (other == null) { return; } if (other.commands_ != null) { if (commands_ == null) { Commands = new global::Com.DigitalAsset.Ledger.Api.V1.Commands(); } Commands.MergeFrom(other.Commands); } if (other.traceContext_ != null) { if (traceContext_ == null) { TraceContext = new global::Com.DigitalAsset.Ledger.Api.V1.TraceContext(); } TraceContext.MergeFrom(other.TraceContext); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }