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: { name_ = (global::Chat.Grpc.ServiceType)input.ReadEnum(); break; } case 21: { Health = input.ReadFloat(); break; } case 24: { Port = input.ReadInt32(); break; } } } }
public void MergeFrom(ServiceRequest other) { if (other == null) { return; } if (other.Name != 0) { Name = other.Name; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }