Exemple #1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
            input.ReadRawMessage(this);
    #else
            uint tag;
            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

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

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

                case 26: {
                    MethodId = input.ReadString();
                    break;
                }

                case 34: {
                    if (source_ == null)
                    {
                        Source = new global::Plexus.Interop.Apps.Internal.Generated.AppConnectionDescriptor();
                    }
                    input.ReadMessage(Source);
                    break;
                }

                case 42: {
                    if (target_ == null)
                    {
                        Target = new global::Plexus.Interop.Apps.Internal.Generated.AppConnectionDescriptor();
                    }
                    input.ReadMessage(Target);
                    break;
                }
                }
            }
    #endif
        }
 public void MergeFrom(AppConnectedEvent other)
 {
     if (other == null)
     {
         return;
     }
     if (other.connectionDescriptor_ != null)
     {
         if (connectionDescriptor_ == null)
         {
             connectionDescriptor_ = new global::Plexus.Interop.Apps.Internal.Generated.AppConnectionDescriptor();
         }
         ConnectionDescriptor.MergeFrom(other.ConnectionDescriptor);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Exemple #3
0
        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)
        {
            uint tag;

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

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

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

                case 26: {
                    MethodId = input.ReadString();
                    break;
                }

                case 34: {
                    if (source_ == null)
                    {
                        Source = new global::Plexus.Interop.Apps.Internal.Generated.AppConnectionDescriptor();
                    }
                    input.ReadMessage(Source);
                    break;
                }

                case 42: {
                    if (target_ == null)
                    {
                        Target = new global::Plexus.Interop.Apps.Internal.Generated.AppConnectionDescriptor();
                    }
                    input.ReadMessage(Target);
                    break;
                }
                }
            }
        }
Exemple #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: {
                    ServiceId = input.ReadString();
                    break;
                }

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

                case 26: {
                    MethodId = input.ReadString();
                    break;
                }

                case 34: {
                    if (source_ == null)
                    {
                        source_ = new global::Plexus.Interop.Apps.Internal.Generated.AppConnectionDescriptor();
                    }
                    input.ReadMessage(source_);
                    break;
                }

                case 42: {
                    if (target_ == null)
                    {
                        target_ = new global::Plexus.Interop.Apps.Internal.Generated.AppConnectionDescriptor();
                    }
                    input.ReadMessage(target_);
                    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: {
                    if (connectionDescriptor_ == null)
                    {
                        connectionDescriptor_ = new global::Plexus.Interop.Apps.Internal.Generated.AppConnectionDescriptor();
                    }
                    input.ReadMessage(connectionDescriptor_);
                    break;
                }
                }
            }
        }
Exemple #6
0
 public void MergeFrom(InvocationDescriptor other)
 {
     if (other == null)
     {
         return;
     }
     if (other.ServiceId.Length != 0)
     {
         ServiceId = other.ServiceId;
     }
     if (other.ServiceAliasId.Length != 0)
     {
         ServiceAliasId = other.ServiceAliasId;
     }
     if (other.MethodId.Length != 0)
     {
         MethodId = other.MethodId;
     }
     if (other.source_ != null)
     {
         if (source_ == null)
         {
             Source = new global::Plexus.Interop.Apps.Internal.Generated.AppConnectionDescriptor();
         }
         Source.MergeFrom(other.Source);
     }
     if (other.target_ != null)
     {
         if (target_ == null)
         {
             Target = new global::Plexus.Interop.Apps.Internal.Generated.AppConnectionDescriptor();
         }
         Target.MergeFrom(other.Target);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }